Select to view content in your preferred language

Converting the geom field into set of google latitudes and longitudes

749
1
02-06-2012 01:45 AM
MustafaNoor
Emerging Contributor
I have stored shapefile of type polygon into SQL server table. In my C# application, i want to convert the geometry field into set of google latitudes and longitues.
Is there any Good C# library for this conversion?
Or give me suggestion, how can i do this conversion?

regards
0 Kudos
1 Reply
JohnHauck
Frequent Contributor
ArcObjects provide many classes for helping to look at a geometry your feature class would store:

Geometry

Working with Geometry

Working with spatial references

ArcGIS also provides some out of the box tools such as Write Feature to Text File that would handle much of the work for you.

Making sure that your ESRI geometry is using the same spatial reference as required by Google Maps would be also key. You could use the geopocessors Project tool for this prior to writing the coordinate values out to disk.
0 Kudos