[postgis-devel] [PostGIS] #994: -r used in shp2pgsql and pgsql2shp to mean two different things
PostGIS
trac at osgeo.org
Thu May 26 21:56:53 PDT 2011
#994: -r used in shp2pgsql and pgsql2shp to mean two different things
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Perhaps its just me that is bothered by this, but I just noticed in
developing my command line cheatsheet that we have the
r switch defined for both pgsql2shp and shp2pgsql and they mean completely
different things.
For shp2pgsql the r switch is new and represents the input spatial
reference system.
In pgsql2shp -r means output in raw mode -- do not unescape attribute
names.
I'm not super bothered by it but thought I'd flag as an inconsistency.
I suppose we can't change the old use of r, but since the new r is new, we
could replace that.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/994>
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