Where the data comes from
The map takes the entries from OpenStreetMap (published under the Creative Commons Attribution-Sharealike 2.0 license), a community that is mapping the whole world and providing all of the information as open data. We take a fresh data extract every hour and turn it into reusable KML Files, which show up on this map and can be easily used on other web sites or mapping systems.
Techie details
A cron-scheduled python script grabs the data using the eXtended API, processes the data using an XSLT transformation and some extra code to interpret the complex tagging and make the information more readable, then drops the data into KML files.
This is the tagging we use to filter out the features and build the KML. To ensure your features shows up properly, make sure you add all of these tags!
All icons
- name - title for the popup bubbles
- description - basis for the popup bubble contents
- operator - often used to describe the company/organisation/person operating the feature
- website - link to a given web address
- wikipedia - link to a given Wikipedia article
- flickr - take the id of a photo (the number at the end of a photo URL) and display it in the bubble with the Flickr API
- ref - ref codes can be used for various things such as train station timetables
Low carbon power
- Filter: power=generator (ref)
- Style according to:
- generator:source (ref)
- generator:output:* (ref)
- generator:method (ref)
Zero waste
- Filter: amenity=recycling (ref)
- Filter: amenity=waste_transfer_station (ref)
- Description: extract all materials that the bin/transfer station helps you recycle
Sustainable food
- Filter: landuse=allotments (ref)
- Filter: amenity=marketplace (ref)
- fish=yes, and/or
- vegetables=yes, and/or
- meat=yes
Sustainable transport
- Filter: amenity=car_sharing (ref)
- Filter: amenity=bicycle_rental (ref)
- Filter: railway=station / railway=tram_stop (ref)