Opened 15 years ago
Closed 15 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 , 15 years ago
comment:2 by , 15 years ago
Owner: | changed from | to
---|
comment:5 by , 15 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 , 15 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.
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.