[OSM-dev] OSM and OpenLayers Projections
mike
mike at bristolbeat.co.uk
Fri Aug 10 09:56:05 BST 2007
Apologies if this is the wrong list for this question, it's more of an
openlayers thing but I think it's also mainly an OSM thing and I'm pretty
sure it's fairly fundamental and that people here will know the answer and
reasons behind this.
Can someone explain to me the issues with OSM and the OpenLayers. I'm
interested in combining layers of data, in particular a KML file.
Here's my example: http://www.bristolbeat.co.uk/phpmap/openstreetmap.html
What I'm finding is, the co-ordinates system is different. Using the
OpenLayers WMS base map, everything is cool, but using OSM maps (I've taken
code here from information highway) the projection / co-ordinates are
totally different. In particular, my kml data is mostly points in Bristol,
UK, but with the OSM layers it appears off the coast of Africa. It looks
like the latitude that is out.
Given that this kml data is standard lat lon co-ordinate values, it seems
like the osm data must be incorrect, but surely that's my mistake?
Any help appreciated.
mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070810/7fabfeea/attachment.html>
More information about the dev
mailing list