aaronlidman / osmly

A simple import editor for OpenStreetMap.

Home Page:osmly.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A simple import editor for OpenStreetMap.

osmly.com

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 89.9%Language:CSS 9.2%Language:Python 0.9%