Solved

Mapping Lattitude and Longitude positions on the screen C# 2005

Posted on 2008-06-17
2
238 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now