[postgis-devel] [PostGIS] #401: shp2pgsql commandline is somewhat broken
PostGIS
trac at osgeo.org
Mon Feb 1 14:30:13 PST 2010
#401: shp2pgsql commandline is somewhat broken
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 1.5.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
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/
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/401>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list