Closed 2803media closed 3 weeks ago
finally I started from scratch
{
"options": {
"paths": {
"root": ".",
"styles": "styles",
"fonts": "fonts",
"mbtiles": "data"
},
"formatOptions": {
"jpeg": 90,
"webp": 90
},
"maxScaleFactor": 3,
"maxSize": 4096,
"pbfAlias": "pbf",
"serveAllFonts": false,
"serveAllStyles": false,
"serveStaticMaps": true,
"allowRemoteMarkerIcons": true,
"tileMargin": 0,
"frontPage": true
},
"styles": {
"light": {
"style": "light.json",
"tilejson": {
"type": "overlay"
}
},
"dark": {
"style": "dark.json",
"tilejson": {
"type": "overlay"
}
},
"labels": {
"style": "labels.json",
"tilejson": {
"type": "overlay"
}
},
"white": {
"style": "white.json",
"tilejson": {
"type": "overlay"
}
},
"maptiler": {
"style": "basic.json",
"tilejson": {
"type": "overlay"
}
},
"positron": {
"style": "positron.json",
"tilejson": {
"type": "overlay"
}
}
},
"data": {
"openmaptiles": {
"mbtiles": "tiles.mbtiles"
}
}
}
{
"version": 8,
"name": "Light",
"metadata": {
"mapbox:autocomposite": false,
"mapbox:groups": {
"101da9f13b64a08fa4b6ac1168e89e5f": {
"collapsed": false,
"name": "Places"
},
"a14c9607bc7954ba1df7205bf660433f": {"name": "Boundaries"},
"b6371a3f2f5a9932464fa3867530a2e5": {
"collapsed": false,
"name": "Transportation"
}
},
"mapbox:type": "template",
"openmaptiles:mapbox:owner": "openmaptiles",
"openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t",
"openmaptiles:version": "3.x",
"maputnik:renderer": "mbgljs"
},
"sources": {
"openmaptiles": {
"type": "vector",
"url": "mbtiles://tiles.mbtiles"
}
},
"glyphs": "{fontstack}/{range}.pbf",
"layers": [
{
"id": "background",
"type": "background",
"minzoom": 0,
"layout": {"visibility": "visible"},
"paint": {"background-color": "rgba(255, 255, 255, 1)"}
},
├── config.json
├── data
│ ├── tiles.mbtiles
├── fonts
│ ├── Noto Sans Bold
│ ├── Noto Sans Italic
│ ├── Noto Sans Regular
│ ├── Open Sans Bold
│ ├── Open Sans Bold Italic
│ ├── Open Sans Extra Bold
│ ├── Open Sans Extra Bold Italic
│ ├── Open Sans Italic
│ ├── Open Sans Light
│ ├── Open Sans Light Italic
│ ├── Open Sans Regular
│ ├── Open Sans Semibold
│ ├── Open Sans Semibold Italic
│ ├── PT Sans Bold
│ ├── PT Sans Bold Italic
│ ├── PT Sans Caption Regular
│ ├── PT Sans Caption Web Bold
│ ├── PT Sans Italic
│ ├── PT Sans Narrow Bold
│ ├── PT Sans Narrow Regular
│ ├── PT Sans Regular
│ ├── Roboto Black
│ ├── Roboto Black Italic
│ ├── Roboto Bold
│ ├── Roboto Bold Italic
│ ├── Roboto Condensed Bold
│ ├── Roboto Condensed Bold Italic
│ ├── Roboto Condensed Italic
│ ├── Roboto Condensed Light
│ ├── Roboto Condensed Light Italic
│ ├── Roboto Condensed Regular
│ ├── Roboto Italic
│ ├── Roboto Light
│ ├── Roboto Light Italic
│ ├── Roboto Medium
│ ├── Roboto Medium Italic
│ ├── Roboto Regular
│ ├── Roboto Thin
│ └── Roboto Thin Italic
└── styles
├── basic.json
├── dark.json
├── labels.json
├── light.json
├── positron.json
├── sprite@2x.json
├── sprite@2x.png
├── sprite.json
├── sprite.png
└── white.json
and it's working with this command:
root@host6-vm107:/home/openmaptiles# xvfb-run --server-args="-screen 0 1024x768x24" tileserver-gl -c config.json -p 8080
I need you help,
I install the npm version (so not the docker version) and the install is ok:
I have this folder structure:
root@host6-vm107:/home/openmaptiles#
and this config.json
and this style light.json (extract of it)
And when I run the tileserver-gl server I have this error:
But the file really exist:
I certainly missed something but I'm stuck and don't why this confid doesn't work... Thanks for a clue ;)