I'm using GDAL 3 to perform datum transformations. I'm trying to transform coordinates from a local datum to WGS84 using the following command:

cs2cs +proj=latlong +ellps=clrk80 +towgs84=-166,-15,204 +to +proj=latlong +datum=WGS84

The datum has parameters: deltax=-166, deltay=-15, deltaz=204 and the ellipsoid is Clark 1880.

When I put the coordinates "5, -15" in then I receive the transformed values of:

5d0'0.984"W 15d0'2.12"N 0.00

This point comes from test data, and the actual transformed coordinate should be - 4° 59' 51.88272", 15° 0' 0.92437", - 71° 52' 38.87483". Is there something wrong with my GDAL installation, or did I input the command incorrectly?

  • It looks like your input values are incorrect. If I use 15E,5S, I get values pretty close to the test data results. Try "5, -15". – mkennedy Aug 16 at 18:35
  • Oh okay, thank you – Kat Sep 9 at 19:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.