Solved

Mapping Lattitude and Longitude positions on the screen C# 2005

Posted on 2008-06-17
2
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

691 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