Update source project readme

pull/335/head
Manuel Roth 2016-05-24 10:34:41 +02:00
rodzic 9df21ec3df
commit ca3b78c36a
1 zmienionych plików z 4 dodań i 22 usunięć

Wyświetl plik

@ -1,30 +1,12 @@
# OSM2VectorTiles tm2source Project
# OSM2VectorTiles TM2Source Project
[Mapbox Steets v7](https://www.mapbox.com/developers/vector-tiles/mapbox-streets-v7/) compatible data source.
## Requirements
See [osm2vectortiles documentation](https://github.com/geometalab/osm2vectortiles) for details.
## Layers
Because this data source is compatible with Mapbox Streets v5 all layers your can find in Mapbox Streets v5 are also available in this source.
For more information, please check out the documentation of [Mapbox Streets v5](https://www.mapbox.com/developers/vector-tiles/mapbox-streets-v5/)
Because this data source is compatible with Mapbox Streets v7 all layers you can find in Mapbox Streets v7 are also available in this source.
For more information, please check out the documentation of [Mapbox Streets v7](https://www.mapbox.com/vector-tiles/mapbox-streets-v7/)
## Editing
If you want to edit this data source, you need some OSM data on your local machine. Follow the documentation of the [osm2vectortiles project](https://github.com/geometalab/osm2vectortiles) to set everything up.
- Install the latest [Mapbox Studio Classic](https://www.mapbox.com/mapbox-studio-classic/)
- Clone this repository and edit the data.yml file with connection information for your postgis database.
```bash
host: <your host>
port: <your port>
dbname: <your dbname>
password: <your password>
```
- Add this repository as a data source in Mapbox Studio Classic. Now, you should see your data as "x-ray" outlines.
To see the data in style:
- Open any style in Mapbox Studio Classic and change source to this repository under layers.
If you want to edit this data source, you need some OSM data on your local machine. Follow the documentation on [our website](http://osm2vectortiles.org/docs/) to set everything up.