[Proj] Differences in reprojection between using the cs2cs app and using the api
Adri CS
acsantome at gmail.com
Fri Feb 13 03:46:24 PST 2015
Hi again!
Hermann: thanks for your explanation.
José: yes. I tried with the *4326* epsg code using the api, but it stills
gives me a different result than using cs2cs. Using cs2cs with 4326, gives
a correct result, as expected.
Thanks and cheers!
On 12 February 2015 at 13:22, Adri CS <acsantome at gmail.com> wrote:
> Hi!
>
> You're right, Hermann. The codes are different because I made a mistake
> when copy/pasting. The correct EPSG codes are the ones I use with the api: *32723
> *for the source and *31983* for the target.
>
> The input coordinates are from the Rodovida dos Tamoios. which falls in
> the UTM zone 23 S. Since they're in lat/long format, I just googled *"WGS84
> utm 23s" *in Google and found THIS
> <http://www.spatialreference.org/ref/epsg/wgs-84-utm-zone-23s/>.
>
> I'm using *"+init=epsg:32723 +proj=latlong"* beacuse I thought this would
> initialize the projPJ var with the SIRGAS 2000 system (ellipsoid and so.)
> and then, with the *latlong* string, I would made the system aware that
> the input coords will be in the lat/long form.
>
> As you suggest, using *epsg:4326 *for the source system works fine. May I
> ask you what has this code of special?
>
> /********************************************************************/
>
> José, so supposing that I got the projection systems right (see Hermann's
> answer), should I expect this little differences due to rounding?
>
> Thanks and cheers!
> Adri.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20150213/e2c5c73d/attachment.html>
More information about the Proj
mailing list