Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

mapbox/osm-sidewalker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

osm-sidewalker

A Tile Reduce processor for detecting potentially untagged sidewalks in OpenStreetMap

installation

npm install 

downloading osm qa tiles

OSM QA tiles are very large (38 GB compressed, 49 GB expanded). On OSX & Linux systems, you can run the build process by executing ./download.sh.

On Windows, or if you wish to download QA tiles yourself:

  • Create a data folder inside your copy of this repository
  • Download OSM QA tiles
  • Use gunzip or any other archiving tool that can expand .gz files to expand OSM QA tiles
  • Move the expanded latest.planet.mbtiles to the data folder

running

When executing the Tile Reduce task, you must provide a bounding box to select tiles. For example:

node index.js --area=[-77.12,38.79,-76.9,39] > output.json

publishing

The output of the Tile Reduce job is a line-separated list of sidewalk linestrings. This format works well with tippecanoe, for example:

tippecanoe -f -o sidewalks.mbtiles output.json

The resulting mbtiles can be uploaded as a Mapbox data source online, or via command line using mapbox-upload

Releases

No releases published

Packages

No packages published