alex
alex

Reputation: 275

How to convert longitude and Latitude into xy location on a 2d world map

I need to mark an object on a 2d map using c#. The first thing I need to resolve is converting the latitude and longitude of that object into xy location on the map. Does anyone knows how to do that and what's the logic behind the algorithm? How can we make sure a point on the 2d world map is corresponding to a real longitude and Latitude?

Thanks

Upvotes: 1

Views: 4031

Answers (2)

Asad
Asad

Reputation: 21918

I am not sure exactly what you are after. We implemented a project using C# and ArcGis Generated Layered Map, but ages ago in school

This might help

A very good, open Source Project at CodePlex:

  • SharpMap is an easy-to-use mapping library for use in web and desktop applications. It provides access to many types of GIS data, enables spatial querying of that data, and renders beautiful maps. The engine is written in C# and based on the .Net 2.0 framework. SharpMap is released under GNU Lesser General Public License.

Upvotes: 2

Sani Huttunen
Sani Huttunen

Reputation: 24375

How about this question and answer on SO.

Upvotes: 1

Related Questions