Solved

Mapping Lattitude and Longitude positions on the screen C# 2005

Posted on 2008-06-17
2
239 Views
Last Modified: 2013-12-16
Does anyone know how to go about mapping Lattitude and Longitude positions on the screen like points on a graph?

Thanks!
0
Comment
Question by:Saxitalis
2 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 21809383
first you have to convert lat/lon to unique values. If you have, by example:

12 deg 15 min 40 seg

you should convert to pure degrees, like:

puredeg = 12 + 15/60 + 40/3600

also, you have to be aware of the sign, I suggest negative values for north and west, for easy painting.
Once you have lat/long in pure degrees, you will need to scale those values for proper scaled paiting.
Now you can use these coordinates as screen coordinates
0
 

Author Closing Comment

by:Saxitalis
ID: 31468164
perfect - thanks!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question