[OSRS-PROJ] Parsing of " in +lat_0 and +lon_0 arguments

Craig Bruce csbruce at cubewerx.com
Tue Dec 9 12:19:17 EST 2003

"John Smart" <john.smart at caris.com> wrote:

> proj -I +proj=cass +ellps=airy +lon_0=3d46'47"w +lat_0=55d40'23"n
> 0 0
> 3d46'47"W       0dN

The problem you're having isn't with the 'proj' program but with the
shell environment you are using.  The apostrophe and quotation mark are
characters that are interpeted by the shell to have special meaning, and
since you're using both, it's kind of difficult to avoid awkward commands.

You'd need to give something like:

% proj -I +proj=cass +ellps=airy +lon_0=3d46"'"47'"'w +lat_0=55d40"'"23'"'n
0 0
3d46'47"W       55d40'23"N

Dr. Craig S. Bruce        | Tel: 819-771-8303 x205 |             CubeWerx Inc.
Senior Software Developer |    Fax: 819-771-8388   |  Gatineau, Québec, Canada
csbruce at cubewerx.com      | http://www.csbruce.com |  http://www.cubewerx.com/
      "Q: How many of your previous romantic relationships were failures?
        A: All of them.  Q: How will your current relationship work out?
                    A: Well, let's check the statistics..."
PROJ.4 Discussion List
See http://www.remotesensing.org/proj for subscription, unsubscription
and other information.

More information about the Proj mailing list