[PROJ] strange output in cs2cs

Even Rouault even.rouault at spatialys.com
Wed Aug 17 09:21:08 PDT 2022


Javier,

I don't reproduce your issue, at least not exactly. I suspect this might 
depend on the actual binary content of the file. Could you attach it ?

If I include an empty line at the beginning of the file, I get the 
following as output (the empty line is interpreted as 0 0 0. I guess we 
should just ignore it instead):

38.82056164    -76.22733569 0.00000000
41.50355887    -73.95470151 144.63380000
41.50375380    -73.95449855 138.98330000
41.50579170    -73.95243612 168.13430000

Even

Le 17/08/2022 à 17:56, Javier Jimenez Shaw a écrit :
> Hi
>
> There is some strange behavior in "cs2cs"
>
> I have a file.txt with this content
>
> $ cat file.txt
> 641479.6040 973128.5014 144.6338
> 641534.7456 973199.8717 138.9833
> 642094.9325 973945.9479 168.1343
>
> and running this command produces this strange result
>
> $ cs2cs EPSG:6537 EPSG:6318 -d 8 file.txt
> 38.82056164 -76.22733569 0.00000000641479.6040 973128.5014 144.6338
> 41.50375380 -73.95449855 138.98330000
> 41.50579170 -73.95243612 168.13430000
>
> (the proper coordinates are the last 2 lines)
>
> Am I using cs2cs in a wrong way?
>
> Thanks
> .___ ._ ..._ .. . ._. .___ .. __ . _. . __..  ... .... ._ .__
> Entre dos pensamientos racionales
> hay infinitos pensamientos irracionales.
>
>
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20220817/e053fac5/attachment.htm>


More information about the PROJ mailing list