RE: [PHP] Coordenates latitude / longitude on PHP
| From: | Nicolas Verhaeghe | Date: | Thu, 02 Mar 2006 16:36:05 +0000 |
| Subject: | RE: [PHP] Coordenates latitude / longitude on PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231344@lists.php.net to get a copy of this message | ||
Yes, but there is a projection issue involved.
The Earth is a sphere. Your screen is flat. What projection are you
using? Mercator? Lambert?
http://en.wikipedia.org/wiki/Map_projection
In this case, I would not spend too much time reinventing the wheel and
borrow or purchase an existing solution, and add it to the bottom line
for my client.
-----Original Message-----
From: jblanchard@pocket.com [mailto:jblanchard@pocket.com]
Sent: Thursday, March 02, 2006 8:50 AM
To: ruben@rentalia.com; php-general@lists.php.net
Subject: RE: [PHP] Coordenates latitude / longitude on PHP
[snip]
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 ... [/snip]
Plain coordinates? You mean as in X, Y coordinates? If so, lat and long
are already configured that way.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php