#403 closed defect (fixed)
pgsql2shp gives deceptive message about not having PostGIS installed
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS Fund Me |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
If I use pgsql2shp on a database that doesn't have geography data type, you get this message
Geometry type unknown (have you enabled postgis?)
And then the system happily outputs the data.
Seems to be the getGeographyOID at fault. At the very least we should change the message to
Geography type unknown
Unless of course we don't allow people to output their older dbs with newer versions of the dumper.
Note:
See TracTickets
for help on using tickets.
This should now be fixed with the pgsql2shp rewrite in trunk.