[Proj] Running the cities example in the pdf documents gives different results

Jose Gonçalves jagoncal at gmail.com
Tue May 10 03:19:04 EST 2016


Hi
You're not specifying an ellipsoid in the command line. Your PROJ version
is using WGS84 by default.
The default ellipsoid of the PROJ version used in the example of the PDF
document was Clarke 66.
You get those results with:
proj +proj=poly +ellps=clrk66 -r

Regards

José Gonçalves



2016-05-09 23:41 GMT+01:00 Dean Schulze <dschulze at wirelessseismic.com>:

>
> I ran the cities example using the inputs on pg. 4 of the docs at
> ftp://ftp.remotesensing.org/proj/OF90-284.pdf, but I got different
> results than shown.  Here are the results I got:
>
> $ proj +proj=poly -r cities.lat.lon.txt
> # coordinates for a few cities
> -4887445.45     7318110.56 Boston, United States
> -5542376.59     6982834.25 New York, United States
> 171219.46       5415571.82 Paris, France
> 485343.33       5730932.66’w London, England
>
>
> The document linked above shows this:
>
> $ proj +proj=poly -r cities
> # coordinates for a few cities
> -4887590.49 7317961.48 Boston, United States
> -5542524.55 6982689.05 New York, United States
> 171224.94 5415352.81 Paris, France
> -8101.66 5707500.23 London, England
>
>
> Am I doing something wrong, or did something change from when the document
> was written?
>
> Thanks.
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20160510/f068b47d/attachment.htm 


More information about the Proj mailing list