Opened 15 years ago

Last modified 15 years ago

#79 closed defect (fixed)

shp2pgsql does not honor -s

Reported by: pramsey Owned by: pramsey
Priority: high Milestone: PostGIS 1.4.0
Component: postgis Version: 1.4
Keywords: Cc:

Description

  1. Use the -s option, try to load the result.

The AddGeometryColumn call specifies the requested SRID, but the geometries in the load file do not have the right SRID set. As a result they fail the check constraint.

Change History (1)

comment:1 by mcayland, 15 years ago

Ooops my bad. I've just applied a patch to trunk so that the SRIDs actually get set on the constructed geometries :)

ATB,

Mark.

Note: See TracTickets for help on using tickets.