Select to view content in your preferred language

Opening shapefiles in a different spatial reference

758
1
10-13-2010 11:52 AM
BrianGustafson
Occasional Contributor
Is there a way to convert graphics to the correct spatial reference as they are read in from a shapefile?  Currently I can only open shapefiles that are in WGS 84, can the conversion be done on the client or am I going to need to do the conversion on the server and then send back the results?
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
That depends on the projection. If you just need to project to WebMercator you can use the built-in method in ESRI.ArcGIS.Client.Projection.WebMercator.
If the projection doesn't require a datum transform, the math to project is usually fairly straightforward (just google for it), but if everything else fails, the geometry service is the way to go.

/Morten
0 Kudos