Skip to content

ramele1907/haihui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haihui

Collection of hiking maps, optimized for mobile use, based on OSM data.

screenshot

Setup

npm install
gulp
gulp devel

How it works

For each region, we query Overpass, filter the results, and convert them to TopoJSON. Elevation contours are from SRTM. We then package all data for a region as JSON, the largest is almost 1MB, and they compress to ~30% of the original size with gzip. In the browser, we save the data in appcache, and render the map as SVG, using D3.js and lots of creativity :)

License

Code is licensed as MIT. Data is © OpenStreetMap contributors, except for contour lines, which come from NASA's SRTM dataset.

About

Hiking maps from OSM data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 71.3%
  • HTML 14.4%
  • CSS 8.9%
  • JavaScript 5.1%
  • Python 0.3%