#1900 closed defect (fixed)
Fix pgsql2shp for big-endian systems
Reported by: | rroliver | Owned by: | strk |
---|---|---|---|
Priority: | critical | Milestone: | PostGIS 2.0.2 |
Component: | utils/pgsql2shp | Version: | 2.0.x |
Keywords: | pgsql2shp bigendian history | Cc: |
Description
pgsql2shp has been broken for all 2.0.0 versions (since r5828) on all big-endian systems.
Specifying the column name _geoX for the geometry column was neglected in the main scan query for big-endian systems, causing breakage in ShpLoaderGenerateShapeRow as this is the column name searched for to retrieve the geometry column number (geocolnum).
Symptoms of issue are empty shapefile output and the error msg
"column number -1 is out of range 0..x"
for every row in table.
Patch attached
Tested and working on Solaris Sparc (32 and 64)
Attachments (1)
Change History (5)
by , 12 years ago
Attachment: | postgis-2.0.1-pgsql2shp_fix_query_for_bigendian-1.patch added |
---|
comment:1 by , 12 years ago
Component: | postgis → loader/dumper |
---|---|
Owner: | changed from | to
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 12 years ago
Keywords: | history added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
comment:4 by , 12 months ago
Component: | utils/loader-dumper → utils/pgsql2shp |
---|
Note:
See TracTickets
for help on using tickets.
Fixes pgsql2shp on big-endian systems