We help IT Professionals succeed at work.
Get Started

Convert Latitude/Longitude values to x,y on a map

jloring asked
Last Modified: 2012-10-19
Hi, desperate for some help.
I need to place red dots on a map of the United States. The dots represent the locations of several companies, universities and cities on a map of the U.S. We're using Macromedia Flash to display the map and plot the dots. Obviously we can do this manually using an external file, but long story short this data is kept in a database and will change frequently and without warning.

I only have the the latitude and longitude of these universities/companies/cities. I need to convert the latitude/longitude to x,y coordinates on the map. Once I have the x,y plotting them on the map is simple.

I have a map I obtained from http://nationalatlas.gov/natlas/ so I trust it's accuracy. I know the longitude/latitude of the 4 corners of this map. I have been playing with various formulas to no avail. I'm close, but I'm not close enough.


Much thanks.
Watch Question
This problem has been solved!
Unlock 2 Answers and 20 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE