[GRASS-dev] [GRASS GIS] #1822: wxGUI location wizard imports 3D Shapefile as 2D

GRASS GIS trac at osgeo.org
Tue Dec 4 11:48:54 PST 2012


#1822: wxGUI location wizard imports 3D Shapefile as 2D
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Startup      |     Version:  svn-trunk                
 Keywords:  v.in.ogr     |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Replying to [comment:1 martinl]:
 > Probably `v.in.ogr` in GRASS 7 could import 3D data automatically when
 OGR layer is detected as 3D (2.5D) without specifying any extra flag (in
 other words, no need for `-z` flag).

 Done in r54189. By default, a 3D vector is created if any input geometry
 is 3D, otherwise the output is 2D. 2D output can be forced with the new -2
 flag (I have seen shapefiles that are 3D even if all z coordinates are
 zero, thus fake 3D). The -z flag has been removed.

 Markus M

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1822#comment:2>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list