On Wed, Jun 25, 2008 at 02:21:10PM -0400, [EMAIL PROTECTED] wrote: > > > >> Something I keep toying with is the idea of facilitating mashups (did > >> I really just say that?) by giving masher-uppers a way to tie their > >> routes to OSM IDs. > > > > There is an example on OpenLayers showing how to superimpose an OSM file > on top of a slippy map. > http://openlayers.org/dev/examples/osm-layer.html > > The overlay looks like it is just a normal osm file > (http://openlayers.org/dev/examples/osm/sutton_coldfield.osm). I wonder if > this would work with a 'full' relation file (ie. > http://www.openstreetmap.org/api/0.5/relation/18321/full).
The OpenLayers parser doesn't do anything with relations themselves -- it wouldn't group the bits together into a single feature -- but it would take the ways and nodes and draw them into the map. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

