It is a little hard to do, in fact there are several different 'projection
systems' in existence. Since the Earth is not flat and it is not even a
perfect sphere, there are many ways to project latitude and longitude
information. You should check a GIS (Geographical Information Systems) for
further info. If the projection system of each separate source of
information is different from the other, it is hard to make them match
perfectly. Some do plain Mercator, which is latitudes, converted into
decimal numbers, go in the Y axis, longitudes into the X axis. Other
systems preserve the surface area. Satellite pictures have their own set of
problems. The scale of what is in the center of each picture is different
from what is at the edges (lots of trigonometry involved here) and
contiguous pictures don't much unless suitably distorted.
Now, you are lucky if you are concerned about a small area (a small city or
town) and all your data comes from the same source using the same projection
system. Otherwise, your question is far from trivial and there are whole
PhD thesis written on the subject.
You might try Google maps, they have a programing interface to their maps,
which is for free for non-comercial use but since your e-mail is of a real
estate company, I'm afraid you can't.
See www.qdq.com and try the menu "callejeros fotograficos", it is impresive
Satyam
----- Original Message -----
From: "Ruben Rubio Rey" <ruben@xxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Thursday, March 02, 2006 4:36 PM
Subject: Coordenates latitude / longitude on PHP
Hi,
I have to create some maps from a latitude / longitude points.
Do anyone know how to convert it to plane coordenates? (In order to show
it on a bitmat)
I have already found a function but does not work very well ...
Any help will be apreciated.
Thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php