[postgis-devel] [PostGIS] #900: shp2pgsql: a switch to drop M from 4d imports

PostGIS trac at osgeo.org
Wed Feb 15 08:32:40 PST 2012

#900: shp2pgsql: a switch to drop M from 4d imports
 Reporter:  strk           |       Owner:  pramsey      
     Type:  task           |      Status:  new          
 Priority:  low            |   Milestone:  PostGIS 2.0.0
Component:  loader/dumper  |     Version:  trunk        
 Keywords:                 |  

Comment(by strk):

 The tokens one seems fine to me, I was thinking if we could include -S
 functionality in this new -t switch, something like -t Point, -t
 MultiLinestringZ, -t PolygonM, -t LineStringZM ...

 Adding the type would give you your ZM flags, but would require user to
 _know_ the type of the shapefile in advance, unless we have a way to split
 between type and dimension, like: -t Polygon:, -t Polygon:ZM

Ticket URL: <http://trac.osgeo.org/postgis/ticket/900#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.

More information about the postgis-devel mailing list