Closed JuanManuelMR closed 7 years ago
Thanks for the feedback. Please specify the CTS version.
This is an axis order problem. JuanManuelMR entered input coordinates in lat/lon order while CTS uses lon/lat order. I'm not sure what is the best choice for CTS as axis order has not been defined from the begining by OGC standards and situation is now very confused. Anyway, I think we should not change now without a good reason to do so.
Yes sorry +1 for @mukoki I close this issue
I have tried the following code:
`try { double[] coordBogota = new double[2]; coordBogota[0] = 4.710988599999999; coordBogota[1] = -74.072092; double[] coordSingapur = new double[2]; coordSingapur[0] = 1.282858; coordSingapur[1] = 103.85304100000008; double[] coordIslazul = new double[2]; coordIslazul[0] = 40.363734; coordIslazul[1] = -3.737319999999954;
The values returned are not the correct ones. I have checked it with ArcMap from ESRI and http://twcc.fr/.
Expected Value : returned Value (Bogota) X / Y -8245667.56 : -12544724.515674358 / 525016.75 : 524424.8520849167
(Singapore) X / Y 11560867.64 : 19971868.880408563 / 142819.03 : 142807.09932007737
(Islazul, Madrid) X / Y -416036.56 : -416331.8963126612 / 4918940.75 : 4493270.315395144