Update readme

This commit is contained in:
Petr Sloup 2016-04-22 12:37:39 +02:00
parent a25ce62662
commit 287a632295

View file

@ -60,7 +60,7 @@ The config file can contain definition of several paths where the tiles will be
}, },
"hybrid": { "hybrid": {
"style": "satellite-hybrid-v8.json", "style": "satellite-hybrid-v8.json",
"raster": false, "serve_rendered": false,
"tilejson": { "tilejson": {
"format": "webp", "format": "webp",
"center": [8.536715, 47.377455, 6] "center": [8.536715, 47.377455, 6]
@ -68,13 +68,13 @@ The config file can contain definition of several paths where the tiles will be
}, },
"streets": { "streets": {
"style": "streets-v8.json", "style": "streets-v8.json",
"vector": false, "serve_data": false,
"tilejson": { "tilejson": {
"center": [8.536715, 47.377455, 6] "center": [8.536715, 47.377455, 6]
} }
} }
}, },
"vector": { "data": {
"zurich-vector": { "zurich-vector": {
"mbtiles": "zurich.mbtiles" "mbtiles": "zurich.mbtiles"
} }
@ -89,13 +89,13 @@ The config file can contain definition of several paths where the tiles will be
- Style is served at `/styles/{id}.json` (+ array at `/styles.json`) - Style is served at `/styles/{id}.json` (+ array at `/styles.json`)
- Sprites at `/styles/{id}/sprite[@2x].{format}` - Sprites at `/styles/{id}/sprite[@2x].{format}`
- Fonts at `/fonts/{fontstack}/{start}-{end}.pbf` - Fonts at `/fonts/{fontstack}/{start}-{end}.pbf`
- Rasterized tiles are at `/raster/{id}/{z}/{x}/{y}[@2x].{format}` - Rendered tiles are at `/styles/{id}/rendered/{z}/{x}/{y}[@2x].{format}`
- The optional `@2x` (or `@3x`) part can be used to render HiDPI (retina) tiles - The optional `@2x` (or `@3x`) part can be used to render HiDPI (retina) tiles
- Available formats: `png`, `jpg` (`jpeg`), `webp` - Available formats: `png`, `jpg` (`jpeg`), `webp`
- TileJSON at `/raster/{id}.json` - TileJSON at `/styles/{id}/rendered.json`
- Static images are rendered at: - Static images are rendered at:
- `/static/{id}/{lon},{lat},{zoom}/{width}x{height}[@2x].{format}` (center-based) - `/styles/{id}/rendered/static/{lon},{lat},{zoom}/{width}x{height}[@2x].{format}` (center-based)
- `/static/{id}/{minx},{miny},{maxx},{maxy}/{zoom}[@2x].{format}` (area-based) - `/styles/{id}/rendered/static/{minx},{miny},{maxx},{maxy}/{zoom}[@2x].{format}` (area-based)
- Vector tiles at `/vector/{mbtiles}/{z}/{x}/{y}.pbf` - Source data at `/data/{mbtiles}/{z}/{x}/{y}.{format}`
- TileJSON at `/vector/{mbtiles}.json` - TileJSON at `/data/{mbtiles}.json`
- Array of all TileJSONs at `/index.json` (`/raster.json`; `/vector.json`) - Array of all TileJSONs at `/index.json` (`/rendered.json`; `/data.json`)