Select to view content in your preferred language

How to display UTM projected .mxd in SL?

714
0
04-30-2010 12:22 PM
Ravichandran_M_Kaushika
Regular Contributor
dear Readers,

i had created many rest services in decimal degrees and coveniently consumed them in silverlight applications.  Strangely, all esri examples for ESRI have decimal degrees for the extent.

i created an .mxd with highways and imagery for SC (utm zome 17).  i created a arcgis service and ensured it had a REST end point to be consumed in a sl application.

i did not provide a value for 'Extent' attribute  in <esri:Map tag in XAML and could not see anything. then i clicked the export link in the rest services information - i was able to see my map on a web browser and saw some extents.  i entered those values in meters for the 'Extent' attribute in <esri:Map and still coudl not see anything.

on the forums, i saw Morten's suggestion in this page: http://forums.esri.com/Thread.asp?c=158&f=2455&t=292559&mc=5#911984 and tried the json? suggestion.

i got an error as follows:
{  "error" :   {    "code" : 500,     "message" : "Server Error - Object reference not set to an instance of an object.",     "details" : []  }}
any help will be appreciated.

regards
Ravi.
0 Kudos
0 Replies