[GRASS-user] v.to.3d for boundary?

Markus Metz markus.metz.giswork at gmail.com
Tue Jun 7 05:44:06 PDT 2016


On Mon, Jun 6, 2016 at 11:36 AM, Martin Landa <landa.martin at gmail.com> wrote:
> Hi,
>
> 2016-06-06 11:30 GMT+02:00 Robert Kuszinger <kuszinger at giscom.hu>:
>> thanks... it works now... hmm on GUI it was set to layer=1 (where all the
>> goodies are) but now it works with =-1.
>> Is it a default handling error in v.to.3d?
>>
>> Anyway, your workaround helped a lot and thanks for that :)
>
> that's the way how the most vector modules behave. The features
> without category are skipped.

I would suggest to add type=area to the recognized type options of
v.to3d and make the default answer type=point,line,area. This way
boundaries without category can be automatically pulled in if they
belong to an area with a category in the selected layer. Code to do
this exists in many other modules, e.g. v.extract.

> The module should print at least warning
> about skipped feature and suggest workaround (layer=-1). Feel free to
> report it as a new ticket.
>
> Martin
>
> --
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list