I have already tried with the GeometryService project method passing parameters like outSR as wkid : 23033 (the one we are using for our map) and geometries that contains geometris with spatialReference wkid : 4326.
The end result is that the points are being shown with quite an offset from the original position compared to Google Earth or Google Maps.
Solved! Go to Solution.
WKID 4326 is GCS_WGS84 - geographic cords based on the WGS84 datum.
WKID 23033 is ED_1950_UTM_33N. A projected UTM coordinate system based on the European datum.
You will need a transformation from one datum to the other to get them to match up.
There are a whole bunch of these available depending on your area of use.
See pages 12-13 of the pdf geographic_transformations in the documentation area of the install.
WKID 4326 is GCS_WGS84 - geographic cords based on the WGS84 datum.
WKID 23033 is ED_1950_UTM_33N. A projected UTM coordinate system based on the European datum.
You will need a transformation from one datum to the other to get them to match up.
There are a whole bunch of these available depending on your area of use.
See pages 12-13 of the pdf geographic_transformations in the documentation area of the install.
I was not using any transformation and there was the problem. For anyone that goes through this problem as well, make sure that you use a correct datum transformation for your area. Also there is a "transformForward" parameter in the ProjectParams object that indicates in which direction one should transform the coordinates.
Thanks for the help.