Opened 15 years ago

Closed 14 years ago

#251 closed enhancement (fixed)

Enhance shp2pgsql to be able to load into new geography type

Reported by: robe Owned by: mcayland
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: master
Keywords: Cc:

Description

I'm thinking would be nice if combined with #229 so that we can if someone has data in a non-4326 srid, they can load and transform in one shot.

Have we coalesced the logic of the gui, core, etc yet? We probably should do that before this step.

Change History (7)

comment:1 by robe, 15 years ago

Okay I guess #204 answers my question about the merge — still on our todo

On a slightly different note — I haven't tested pgsql2shp so not sure if the autocasting behavior of geography to geometry makes it autowork already.

comment:2 by pramsey, 14 years ago

Owner: changed from pramsey to mcayland

comment:3 by pramsey, 14 years ago

Added support to the CLI loader (-G option) at r5040

comment:4 by pramsey, 14 years ago

Added support to the GUI loader at r5042

comment:5 by mcayland, 14 years ago

Looks reasonably sensible, although there doesn't appear to be any regression tests for the geography code which might be a good idea.

comment:6 by pramsey, 14 years ago

Added support to the CLI dumper (automatically senses and dumps geography columns if they are present) at r5051. If the -g option is present, uses that geocolumn, if not, picks the first one it hits whether it's geography or geometry.

comment:7 by pramsey, 14 years ago

Resolution: fixed
Status: newclosed

Regression task added in #358.

Note: See TracTickets for help on using tickets.