Hello,
I used v.to.rast
v.to.rast --overwrite input=inmap output=outmap use=cat
to convert 29 areas to raster.
It says
Converted areas: 29 of 29
but one area is missing!!!
Its the one with cat number 16. Doing the same just for the selected 16,
conversion results in am empty raster map.
Hi,
I tried a lot. And I found a solution:
I made a buffer around the area with 0 distance. Then v.to.rast works.
If anyone knows why, it would be very interesting for me.
Moreover, when this happens in a big dataset, the error will probably
not recognized.
Thanks for attention,
Achim
achim
Hi Achim,
could you, please, share with us your region -p ?
bests
milton
2009/8/20 achim
> Hi,
>
> I tried a lot. And I found a solution:
>
> I made a buffer around the area with 0 distance. Then v.to.rast works.
>
> If anyone knows why, it would be very interesting for me.
>
> Moreover, whe
sure, its the nile catchment at:
4326
projection: 3 (Latitude-Longitude)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: 31:27:30N
south: 4:01:30S
west: 23:27E
east: 39:48E
nsres: 0:00:30
ewres: 0:00:30
rows: 4258
cols: 1962
cells: 8354196
Its all about the resolution!
raster-resolution has effects on some vector-operations. It seems, that
eg. some tools in v.clean (problem getting correct areas from bounds,
adding centros after using v.clean).
The same is with v.to.rast, which is obvious. But converting the
formerly attached polyg