Solved

Convert from Latitude and Longitude to X/Y in Mercator Projection

Posted on 2009-05-10
4
950 Views
Last Modified: 2012-05-06
I need code (pseudo code or any C-like language) to convert in Mercator Projection (the one used in Google Maps):
- from geographic latitude/longitude to map X/Y (given the size of the map)
- from map X/Y (given its size) to latitude/longitude
0
Comment
Question by:nrpg666
  • 2
  • 2
4 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 500 total points
ID: 24350441
0
 

Author Comment

by:nrpg666
ID: 24350500
I already tried myself with these formulas. I might be crappy mathematician or it could be of the late hour here, but anyway - I couldn't get them to work. That was the reason to ask for code, not formulas...
0
 
LVL 84

Expert Comment

by:ozo
ID: 24350509
what was the code you tried?
0
 

Author Comment

by:nrpg666
ID: 24350522
The code is OK, the result was [0, pi), I didn't notice that for the time being. I thought something like [0, 1) .
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cumulative Frequency 12 33
scoresClump  challenge 31 123
Graph 5 71
Does a rhombus have 2 pairs of parallel sides 5 40
Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
Introduction This question got me thinking... (http://www.experts-exchange.com/questions/28707487/GLOBALS.html) Why shouldn't we use Globals? This is a simple question without a simple answer.  How do you explain these concepts to a programmer w…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

910 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

17 Experts available now in Live!

Get 1:1 Help Now