[GRASS-dev] Problem deleting raster created from point file using v.to.rast

Dear all,

I am using the command like-

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14

Rast_Temp_Aug_86@PERMANENT is created successfully.

But when I want to delete this raster using command like-

g.remove rast=Rast_Temp_Aug_86@PERMANENT

Then I get an error like below-

Removing raster Rast_Temp_Aug_86@PERMANENT
fcell: couldn’t be removed

I am also trying this by running " g.remove -f rast=Rast_Temp_Aug_86@PERMANENT " but same problem arises.

Please give me some solution to recover this problem.

Thanks & Regards,

Swapan

Does this error comes in deleting other maps. Could you try g.copy rast=old,new
and delete the newly created raster map.

Btw, Please tell your grass version and platform

···

On Sun, Mar 10, 2013 at 1:41 PM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

Dear all,

I am using the command like-

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14

Rast_Temp_Aug_86@PERMANENT is created successfully.

But when I want to delete this raster using command like-

g.remove rast=Rast_Temp_Aug_86@PERMANENT

Then I get an error like below-

Removing raster Rast_Temp_Aug_86@PERMANENT
fcell: couldn’t be removed

I am also trying this by running " g.remove -f rast=Rast_Temp_Aug_86@PERMANENT " but same problem arises.

Please give me some solution to recover this problem.

Thanks & Regards,

Swapan


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Regards,
Rashad

No, I am just creating new raster from point vector map…
v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14

here Temp_Aug_86 is point vector

but the problem is solve when we use command like-

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14 labelcolumn=cat

Regards
Swapan

···

On Sun, Mar 10, 2013 at 1:41 PM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

Dear all,

I am using the command like-

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14

Rast_Temp_Aug_86@PERMANENT is created successfully.

But when I want to delete this raster using command like-

g.remove rast=Rast_Temp_Aug_86@PERMANENT

Then I get an error like below-

Removing raster Rast_Temp_Aug_86@PERMANENT
fcell: couldn’t be removed

I am also trying this by running " g.remove -f rast=Rast_Temp_Aug_86@PERMANENT " but same problem arises.

Please give me some solution to recover this problem.

Thanks & Regards,

Swapan


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Regards,
Rashad

I understand that from the command v.to.rast. what I asked is do you have problem deleting raster map “created” from v.to.rast or other raster maps. If you have problem deleting any raster map(create a duplicate and dont try with your actual data) then it this is an issue with g.remove.

I want to make sure that first

Also you didnt said about your grass version and platform yet.

I tried v.to.rast on spearfish dataset and here is the output

I copied archsites vector data as a backup.

g.copy vect=archsites,arch2

v.to.rast input=arch2@PERMANENT output=temp use=cat

Reading features…
100%
Writing raster map…
100%
Converted points/lines: 25 of 25
v.to.rast complete.
GRASS 7.0.svn (spearfish60):~ >

g.remove temp@PERMANENT
Removing raster temp@PERMANENT

Btw, I am using GRASS7.0 (SVN 55285) on Ubuntu 12.04

···

On Mon, Mar 11, 2013 at 11:55 AM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

No, I am just creating new raster from point vector map…

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14

here Temp_Aug_86 is point vector

but the problem is solve when we use command like-

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14 labelcolumn=cat

Regards
Swapan

On Sun, Mar 10, 2013 at 2:51 PM, Rashad M <mohammedrashadkm@gmail.com> wrote:

Does this error comes in deleting other maps. Could you try g.copy rast=old,new
and delete the newly created raster map.

Btw, Please tell your grass version and platform

Regards,
Rashad

On Sun, Mar 10, 2013 at 1:41 PM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

Dear all,

I am using the command like-

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14

Rast_Temp_Aug_86@PERMANENT is created successfully.

But when I want to delete this raster using command like-

g.remove rast=Rast_Temp_Aug_86@PERMANENT

Then I get an error like below-

Removing raster Rast_Temp_Aug_86@PERMANENT
fcell: couldn’t be removed

I am also trying this by running " g.remove -f rast=Rast_Temp_Aug_86@PERMANENT " but same problem arises.

Please give me some solution to recover this problem.

Thanks & Regards,

Swapan


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Regards,
Rashad

no error will not occur for deleting other raster.
I use here grass6.5

regards,

swapan

···

On Mon, Mar 11, 2013 at 11:55 AM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

No, I am just creating new raster from point vector map…

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14

here Temp_Aug_86 is point vector

but the problem is solve when we use command like-

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14 labelcolumn=cat

Regards
Swapan

On Sun, Mar 10, 2013 at 2:51 PM, Rashad M <mohammedrashadkm@gmail.com> wrote:

Does this error comes in deleting other maps. Could you try g.copy rast=old,new
and delete the newly created raster map.

Btw, Please tell your grass version and platform

Regards,
Rashad

On Sun, Mar 10, 2013 at 1:41 PM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

Dear all,

I am using the command like-

v.to.rast --overwrite input=Temp_Aug_86@PERMANENT type=point output=Rast_Temp_Aug_86 column=Rain14

Rast_Temp_Aug_86@PERMANENT is created successfully.

But when I want to delete this raster using command like-

g.remove rast=Rast_Temp_Aug_86@PERMANENT

Then I get an error like below-

Removing raster Rast_Temp_Aug_86@PERMANENT
fcell: couldn’t be removed

I am also trying this by running " g.remove -f rast=Rast_Temp_Aug_86@PERMANENT " but same problem arises.

Please give me some solution to recover this problem.

Thanks & Regards,

Swapan


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Regards,
Rashad