A simple import editor for OpenStreetMap.
JavaScript CSS Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
dist
js
screenshots
server
.gitignore
CNAME
LICENSE
Makefile
README.md
api_documentation.md
dev-template.html
index.html
land.html
los-angeles-parks.html
package.json
settings_documentation.md
template.html

README.md

OSMLY screenshot

OSMLY is a browser based importer for collaborative item-by-item reviewing, editing, and uploading to OpenStreetMap. It aims to make simple imports easier, more cooperative, and less error prone.

Libraries that make this possbile

Local Development

  • npm install
  • cd server/
  • npm install
  • node server.js
  • dev-template.html is the launching point for most of the action
    • dev-template.html is used for developement while sample-template.html should be used making new imports
    • this is totally aped from iD's index.html
    • a new template, with it's own settings, is made for each import
  • make to build
  • also see settings documentation

build.py

  • converts a geojson file into a sqlite database with individuals features as rows
    • makes sure geometry is valid, simplifies, seperates easy and difficult items, and gets a bounding box of each item
    • currently only works with polygons, multipolygons
  • dependency: Shapely
    • pip install Shapely
  • python build.py YOURFILE.geojson creates YOURFILE.sqlite
  • options:

server.js

  • serves each item from the database that was created by build.py
  • once running, requests are made against http://your-ip-address/?db=YOURFILE
  • for ubuntu:
sudo apt-get update
sudo apt-get install -y htop git sqlite3 python-software-properties
sudo apt-add-repository --yes ppa:chris-lea/node.js
sudo apt-get update -y
sudo apt-get install -y nodejs build-essential
npm install

OSMLY was written in the Huntington Beach Central Library. Everyday I'd start at the lower deck and move up as the day progressed, always on the top level by sunset. I owe that place big time.