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

PostGIS trac at osgeo.org
Mon Apr 4 04:33:25 PDT 2011

#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:  postgis  |     Version:  trunk        
 Keywords:           |  
 Annoyingly enough the only way for a shapefile to hold XYZ geometries is
 by having an M too. This in turn forces you to drop the M after import, if
 you know that the M really has no meaning.

 Now, given the pain it is to convert a column's type (drop 2 constraints,
 update, re-add the constraints, update geometry columns), we might be nice
 and provide a switch for shp2pgsql to do that at import time directly.

Ticket URL: <http://trac.osgeo.org/postgis/ticket/900>
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