Ticket #401 (closed defect: fixed)
shp2pgsql commandline is somewhat broken
| Reported by: | robe | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.5.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
Well so I think.
I used to be able to do this with an earlier build
shp2pgsql -c -s 4269 -g the_geom tl_2009_11_state tiger_data.dc_state > test.sql
And that would output all the stuff. Gui works great though. Doesn't work anymore - commandline just outputs the help.
However if I pass in no arguments like so
shp2pgsql tl_2009_11_state tiger_data.dc_state > test.sql
It works.
I think its the same for all shape files. All the ones I've tested behave the same. for reference though -- been testing these ones
http://www2.census.gov/geo/tiger/TIGER2009/11_DISTRICT_OF_COLUMBIA/
Change History
Note: See
TracTickets for help on using
tickets.
