GeometryServer > Project with Datum Transformation

717
3
07-12-2013 01:10 AM
DavidRaijmakers
New Contributor III
I am facing the problem that when i use the extent in the url and i go from Amersfoort(WKID 4289) to WGS84(WKID 4326) that without the tranformation the point from longitude and latitude is placed about 100m away from the original point.
In our company this isn't what we want.

In ArcGIS 10.1 it is possible in the rest interface to apply the transformation, but i get a repeated error, when i remove the transformation i get no error.

I use the Transformation: esriSRGeoTransformation_Amersfoort_To_WGS1984

Can you tell me what i am doing wrong, i put a image with this post and a sample url:

https://ourserver.com/arcgis/rest/services/Utilities/Geometry/GeometryServer/project?inSR=4289&outSR...

[ATTACH=CONFIG]25883[/ATTACH]
Tags (2)
0 Kudos
3 Replies
StevenMoore1
Esri Contributor
Hi,

For the Datum Transformation parameter, try using the ID for the datum transformation instead of the text description. For Amersfoort_to_WGS84, it should be 1112.

You can find the full list of IDs here: http://resources.arcgis.com/en/help/rest/apiref/dattrans.html

Hope this helps,
Steve
0 Kudos
nicogis
MVP Frequent Contributor
for transformation you must use the well-known ID or a json object specifying the datum transformation. You have specified a name of transformation and not wkid or object json
0 Kudos
DavidRaijmakers
New Contributor III
Thanks for your replies, i got it working in ArcGIS Server,

but i can't get it working in the Flexviewer,

maybe you could have a look here:

http://forums.arcgis.com/threads/89203-Datum-Transformation-in-Arcgis-10.1-Amersfoort_To_WGS_1984_20...
0 Kudos