Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 250
  • Last Modified:

Mapping Lattitude and Longitude positions on the screen C# 2005

Does anyone know how to go about mapping Lattitude and Longitude positions on the screen like points on a graph?

Thanks!
0
Saxitalis
Asked:
Saxitalis
1 Solution
 
Jaime OlivaresSoftware ArchitectCommented:
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
 
SaxitalisAuthor Commented:
perfect - thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now