Server 10.1 Sp1 , REST and MGRS

461
4
01-24-2013 03:02 PM
ar4
by
New Contributor
I need to convert either DD, or DMS to MGRS and back again.

Does the current REST API support this conversion ?

There does not appear to be a WKID for this conversion ( or MGRS at all ).

Is this conversion supported in ANY of the 10.1 REST services ?
Tags (2)
0 Kudos
4 Replies
ar4
by
New Contributor
Here is the conversion list I am aware of

http://resources.arcgis.com/en/help/rest/apiref/dattrans.html

Also the WKIDs found here and here also have no MGRS at all .

Is a server extension required to enable this for REST services ?
0 Kudos
AnthonyGiles
Frequent Contributor
Stimpy,

You probably need to install military analyst on to your server:

http://www.esri.com/software/arcgis/defense-solutions/military-analyst

If you are targeting a lex application this can be one client side with the classes found in this download:

http://www.arcgis.com/home/item.html?id=3192d6f61c9f4baaa34c9789d00d5b95

Regards

Anthony
0 Kudos
ar4
by
New Contributor
@ad_giles

Thanks however this raises quite a few more questions then it answers.

Does Military analyst add more REST functions or APIs? Does it add WKIDS ? If so where can the documentation be found ?

While I appreciate the mention of flex, our requirements for mobile support and avoidance of the use of flash preclude its use.

Is there some ESRI supported method for this transformation available for web applications ?

thanks for the help
0 Kudos
AnthonyGiles
Frequent Contributor
Stimpy,

ESRI have a sample service set up here that converts MGRS --> Lat/Long through the REST endpoint:

http://serverapps101.esri.com/arcgis/rest/services/MGRS/GeocodeServer/findAddressCandidates?

i.e:

MGRS to Lat/Long

http://serverapps101.esri.com/arcgis/rest/services/MGRS/GeocodeServer/findAddressCandidates?MGRS=41r...

Lat/Long to MGRS

http://serverapps101.esri.com/arcgis/rest/services/MGRS/GeocodeServer/reverseGeocode?location=64.5%2...

It may be worth talking to your ESRI rep to see if you can get a copy of the service

Regards

Anthony
0 Kudos