Am 23.10.2012 19:36, schrieb Ristok, Uwe:
Allerdings, wie kann ich die Verzerrung abstellen? Bzw. wie kommt diese
"Verzerrung" zu stande?
Schau mal hier:
http://de.wikipedia.org/wiki/Mercator-Projektion
http://wiki.openstreetmap.org/wiki/Mercator
Deine plattgedrückten Karten sind einfach nur lat-lon-Koordianten.
Mit PostGIS kann man beides sehr einfach umwandeln (Ein lat-lon-Box in
Google-Mercator):
ST_Transform(ST_SetSRID(ST_MakeBox2D(
ST_Point('.floatval($bbox[0]).','.floatval($bbox[1]).'),
ST_Point('.floatval($bbox[2]).','.floatval($bbox[3]).')),
4326),900913)
Grüße Tim
_______________________________________________
Talk-de mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-de