[GRASS-user] v.to.rast questions

Anna Petrášová kratochanna at gmail.com
Wed May 10 09:23:08 PDT 2023


Sounds like the vector geometry was already 3D, that's the case when you
use use=z. If the vector would be 2D (see v.info) you would have to use the
attribute table.

On Wed, May 10, 2023 at 12:14 PM Rich Shepard <rshepard at appl-ecosys.com>
wrote:

> My current topographic vector data file has a column name for the elevation
> data, ContourEle. Reading the v.to.rast page there is a use parameter (with
> 'z' for elevation) and an attribute_column parmater. Because the vector
> map's database table does not have a column named 'z', but the one named
> 'CountourEle' I put both parameters on the command line.
>
> grass told me that I cannot have both, and that using the named elevation
> column was not allowed. So I put 'use=z' in the command and the conversion
> worked.
>
> How did v.to.rast know that the column named 'ContourEle' was the z value?
>
> Should the manual page explain that the use and attribute_column cannot be
> used together for elevation? And, when the attribute_column would be
> appropriate?
>
> Regards,
>
> Rich
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20230510/0320f8b7/attachment.htm>


More information about the grass-user mailing list