[PROJ] cs2cs and +towgs84

Stefano Iacovella stefano.iacovella at gmail.com
Wed Feb 5 04:57:04 PST 2020


Hello,

I already read the cs2cs usage page at [1] but I am still a little bit
confused about the +towgs84 option so I am looking for your help.

I am trying to convert from EPSG:4265 CRS to EPSG:4326 CRS

First of all I used the following syntax

$> cs2cs -d 8 epsg:4265 epsg:4326
41.7447031 15.0618939
41.74535412     15.06180323 0.00000000

this way the coordinate are transformed but I have no control on which
operation is really used, e.g. I don't know which are the towgs84's
parameters

Really I want to use the EPSG:1660 operation, so I tried to add the
+towgs84 option but I got an error:

$> cs2cs -d 8 epsg:4265 epsg:4326
+towgs84=-104.1,-49.1,-9.9,0.971,-2.917,0.714,-11.68
proj_create: crs not found
Rel. 6.3.0, January 1st, 2020
<cs2cs>:
cannot instantiate source coordinate system
program abnormally terminated

Which is the correct syntax to be used?

Thank you in advance

Stefano

[1] https://proj.org/apps/cs2cs.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20200205/e5bd24b2/attachment.html>


More information about the PROJ mailing list