Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iandees/mongosm
An OpenStreetMap importer/map-call for MongoDB
https://github.com/iandees/mongosm
Last synced: about 1 month ago
JSON representation
An OpenStreetMap importer/map-call for MongoDB
- Host: GitHub
- URL: https://github.com/iandees/mongosm
- Owner: iandees
- License: mit
- Created: 2010-05-16T13:18:13.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T13:05:55.000Z (almost 7 years ago)
- Last Synced: 2024-10-31T21:25:07.302Z (about 1 month ago)
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 73
- Watchers: 12
- Forks: 31
- Open Issues: 5
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - iandees/mongosm - An OpenStreetMap importer/map-call for MongoDB (others)
README
MongOSM
=======MongOSM is a set of Python utilities that manipulate OSM data in MongoDB:
- `insert_osm_data.py` reads an OSM file and writes it to a MongoDB database.
- `map_server.py` uses Werkzeug to start a WSGI server that responds to the
read-only OSM APIs and most of the XAPI-style predicate queries.
- `apply-osmchange.py` is currently not tested, but it is supposed to read
minutely change files from planet.osm.org and keep the MongoDB database
up to date.Installation
------------1. Grab MongoDB 1.9+ (2.0 is best) from http://mongodb.org/.
2. Unpack mongodb and run it.
3. Install pymongo. (http://api.mongodb.org/python/current/installation.html)
4. Grab some OSM XML data.
5. Run `python insert_osm_data.py ` and wait.
6. Install Werkzeug.
7. Run `python map_server.py`
8. Browse to http://localhost:5000/api/0.6/node/1 to verify a (probably empty)
response.