forked from jones139/BrewMap
-
Notifications
You must be signed in to change notification settings - Fork 0
The client and server side code to produce a map of uk breweries based on OpenStreetMap Data (http://wiki.openstreetmap.org/wiki/WikiProject_United_Kingdom_Breweries)
rnorris/BrewMap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
UK BrewMap ========== Client and Server software to produce the uk brewery map based on OpenStreetMap data. Please see http://wiki.openstreetmap.org/wiki/WikiProject_United_Kingdom_Breweries for details of the tagging scheme. The server side code reads a postgresql database that has been populated with OpenStreetMap data using osm2pgsql. It queries the database to extract microbreweries (tagged microbrewery=yes), 'craft' breweries (craft=brewery) and 'industrial' breweries (industry=brewery). It extracts data that is tagged as single points and ways representing areas. The data is saved as a simple json file that can be downloaded by the client code. The client code should run in any modern browser. It downloads the json data prepared by the data using jQuery, parses it, and displays it on a map using the Leaflet library. The development version of this code can be seen running at http://brewmap.maps3.org.uk Dependencies ============ Python (>2.6?) python-psycopg2 Contributors ============ The code in this repository includes jQuery (http://jquery.org) and Leaflet (http://leaflet.cloudmade.com) The factory, house, wine glass, beer and grapes images are from http://www.freeiconsweb.com/Free-Downloads.asp?id=1291 Craig Loftus developed most of the client side code. Donald Noble provided the distillery still icon. Rob Norris provided a better microbrewery icon and got the page icon working. Licence ======= All of my code is licenced under GPL3. Licences for the included data and images are given in the links above.
About
The client and server side code to produce a map of uk breweries based on OpenStreetMap Data (http://wiki.openstreetmap.org/wiki/WikiProject_United_Kingdom_Breweries)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 72.5%
- Python 26.3%
- Shell 1.2%