This project is now at https://gitlab.com/stevage/mapbox2tangram, with many more updates.
This tool helps you port style files for Mapbox-GL-JS between three major OpenStreetMap vector tile providers: Mapbox, MapZen and OpenMapTiles. It's at an early proof-of-concept stage.
For instance, here's OpenMapTiles.org's "OsmBright" style (on the left), as converted for Mapbox (centre), and Mapzen (right).
Remember that not all style files are open sourced. Please do not use this tool to rip off Mapbox's proprietary styles – or anyone else's for that matter..
- Put a style file in
in/mystyle.json
- Modify
index.js
to point to it :) - Run
index.js
- Output goes into
out/mystyle-mapbox.json
andout/mystyle-mapzen.json
- Serve up the directory, say
python -m SimpleHTTPServer 8000
- Go to
localhost:8000/#mystyle