Tag Info

Hot answers tagged

2

Try using Overpass API and for playing around the overpass turbo frontend. Example query: [out:xml] [timeout:25]; way["highway"](51.0634071197396,13.773078918457031,51.12550562618459,13.905601501464844); out body; >; out skel qt; Visualization on overpass turbo (might be slow in your browser!) Raw data as XML Please note that the other API you ...


2

Building from the comment by @elrobis here is an example using jQuery for getting the georss and adding simple markers to a map: <html> <head> <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> </head> <body> <div id="map" style="width: 700px; height: 500px"></div> ...


1

You need a part of the answer for ways. Ways in OSM are ordered lists of node references. So the part of the answer what you need should looks like: <way id="22940464"> <nd ref="272304964"/><!-- First node --> <nd ref="273206415"/><!-- Second node --> <nd ref="273206424"/> <nd ref="1827734835"/> ...



Only top voted, non community-wiki answers of a minimum length are eligible