[GRASS-user] v.to.3d -r option not working properly

Anna Petrášová kratochanna at gmail.com
Wed Jun 17 06:04:25 PDT 2015


On Wed, Jun 17, 2015 at 2:57 AM, Jana Krajcovicova <jkrajc at gmail.com> wrote:

> No, I am using GRASS 6.4.
> So it is only newly implemented in 7.1?
>

Yes, since yesterday. What operating system do you use? For Windows, there
are daily builds available and for Ubuntu there is a PPA. The change might
not be in today's binaries, probably tomorrow.

Anna


> Jana
>
> On Wed, Jun 17, 2015 at 4:33 AM, Anna Petrášová <kratochanna at gmail.com>
> wrote:
>
>> Hi,
>>
>> On Tue, Jun 16, 2015 at 9:42 AM, JanaKr <jkrajc at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I imported a GMT multisegment ASCII file with contour lines using
>>> v.in.ogr,
>>> resulting in 3D vector file. Then I wanted to transform the z-coordinate
>>> to
>>> an attribute column using
>>> v.to.3d -r input=contour_3d col="CONC" output=contour_2d
>>> (I added CONC column to contour_3d before, using v.db.addcol
>>> map=contour_3d
>>> columns="CONC double precision").
>>> However, the resulting contour_2d column CONC remains empty. No error is
>>> reported.
>>>
>>> I am sure contour_3d contains correct Z-values (I transformed it to
>>> raster
>>> to see).
>>>
>>> Does anyone know what I am doing wrong, please?
>>>
>>
>> nothing, it just was not implemented for lines, since 3D lines can have
>> vertices of different heights, but we can upload only one value. However,
>> since it makes perfectly sense for contours, I added the support for lines
>> there (r65493). Any chance you are using GRASS 7.1 (trunk) to try it out?
>>
>> Anna
>>
>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://osgeo-org.1560.x6.nabble.com/v-to-3d-r-option-not-working-properly-tp5211241.html
>>> Sent from the Grass - Users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> grass-user mailing list
>>> grass-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150617/43083ed8/attachment.html>


More information about the grass-user mailing list