[postgis-tickets] [PostGIS] #2623: pgsql2shp creates a dbf with 0 records when the table only has a geometry column

PostGIS trac at osgeo.org
Wed Feb 5 10:24:54 PST 2014


#2623: pgsql2shp creates a dbf  with 0 records when the table only has a geometry
column
---------------------+------------------------------------------------------
 Reporter:  winkey   |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.2.0
Component:  postgis  |     Version:  2.0.x        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by winkey):

 creating invalid output is not good either

 it seems to me any objection to creating dummy id's would be that it
 blindly does so and you might be expecting different behaviour

 a switch to make the app generate them perhaps and a warning

 dont create the dbf file without them (no idea if this is a good idea or
 not)


 brian


 Replying to [comment:1 robe]:
 > I personally HATE generating dummy ids.  In fact I hate that OGR2OGR
 does that -- drives me nuts.
 >
 > However I do agree we should emit a warning.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2623#comment:2>
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-tickets mailing list