I am attempting to write a method in C# that will accept as input, an ESRI.ArcGIS.Geometry.ISpatialReference object and convert it to an ESRI.ArcGIS.Client.Geometry.SpatialReference object. I need this for converting an IPoint to a MapPoint. Are there any online resources for this? Thanks!
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
Use the factory code from the ISpatialReference object to create a new spatial ref. If your client geometry obj was named myGeom and input spatial ref was named inputSR then it would look something like this:
|
|||
|
|