Ticket #994 (closed defect: fixed)
-r used in shp2pgsql and pgsql2shp to mean two different things
| Reported by: | robe | Owned by: | strk |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.0 |
| Component: | loader/dumper | Version: | trunk |
| Keywords: | Cc: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

