[postgis-devel] [PostGIS] #1219: Unexpected typmod in points loaded via shp2pgsql

PostGIS trac at osgeo.org
Tue Sep 27 01:03:27 PDT 2011


#1219: Unexpected typmod in points loaded via shp2pgsql
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
 I've done:
 shp2pgsql linea.shp linea | psql

 In the resulting table, shown with \d, the geometry columns is:

 {{{
  geom       | geometry(Point,2097151) |
 }}}

 Shouldn't it have an unknown SRID (0 or -1, dunno) ?
 For sure there's no such thing as that srid in spatial_ref_sys...

 ST_SRID(geom) returns -1 for all entries.

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