[GRASS-user] Line_Height to db attribute

Nick Cahill ndcahill at wisc.edu
Thu Apr 9 04:55:05 PDT 2015


Aaaah! I hadn’t seen that option in the new Grass 7. Apologies!

Best wishes,

Nick Cahill


> On Apr 8, 2015, at 10:29 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
> 
> 
> 
> On Wed, Apr 8, 2015 at 6:56 PM, Nick Cahill <ndcahill at wisc.edu <mailto:ndcahill at wisc.edu>> wrote:
> I have a series of vector contour maps imported from CAD files. The CAD lines were digitized in 3d so the lines were set at the proper height, and I imported them with v.in.dxf. The z values now come in as Line_height values:
> 
> east, north: 586205.150707, 4261840.15315
> map28 at PERMANENT:
>   Type: Line
>   Id: 120
>   Length: 1005.435416
>   Line_height: 160.0
>   Layer: 1
>   Category: 120
>   Driver: sqlite
>   Database: /Users/nick/Documents/Grass/sardis/PERMANENT/dbf/sardisutm.rsd
>   Table: map28_con10
>   Key_column: cat
>   Attributes:
>     cat: 120
>     layer: CON10
>     entity: LWPOLYLINE
>     handle: 3E1
> 
> 
> 
> I’m sure there’s an easy way to get those Line_Height values into proper z coordinates, but I cannot figure out how to do it. Any help would be greatly appreciated!
> 
> Why do you think the vector doesn't have proper z coordinates? Line_height 160 means that the vector feature actually has z coordinates, otherwise it wouldn't show Line_height item at all. If you want to display it in 3D mode, there is an option to switch between draping on surface and displaying it as truly 3D
> 
> Anna
>  
> 
> Many thanks,
> 
> Nick Cahill
> 
> 
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/grass-user <http://lists.osgeo.org/mailman/listinfo/grass-user>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20150409/b6260f8f/attachment.html>


More information about the grass-user mailing list