Questions tagged [openmaptiles]

1

votes
0

answer
78

Views

d3.geo.tile point-to-point path not showing for varying widths

I have been following this block example to show nodes and paths as landmarks and roads. I have successfully loaded the map and I am able to zoom in enough to a 'street view' level. I have also successfully added nodes following the example. My problem, however, is that my paths are mostly straight...
iamnobody
1

votes
1

answer
598

Views

OpenMapTiles docker doesn't start with previous configuration

I created a OpenMapTiles container: using a volume for /data directory using the image klokantech/openmaptiles-server:1.6. The container started nicely. I downloaded the planet file. And the service was working fine. As I am gonna push this to production: if the container dies, my orchestration syst...
Maria Campana
1

votes
0

answer
237

Views

Read openstreetmap PBF file with PHP?

I downloaded a mbtiles file from this location: https://openmaptiles.com/downloads/europe/netherlands/ I can serve this file in PHP with this library : https://github.com/klokantech/tileserver-php This returns a compressed PBF, which Mapbox GL JS can use, but I'm not able in PHP to decode this data...
Dylan
1

votes
1

answer
317

Views

How to apply a custom local/offline map style to an OpenLayers Map

I have a local webpage as part of a larger desktop application. I want to change the default style of the Open Layer map to 'Klokantech Basic'. I've downloaded a copy of the style JSON but struggeerling to apply it to the map. Currently my code looks like: var map = new ol.Map({ layers: [new ol.laye...
Jamestrod
1

votes
0

answer
132

Views

Extracting parts of an MBTiles file into separate files using custom polygons

I have a planet.mbtiles files and I need to create custom .mbtiles extracts using custom polygon borders and not any form of bounding box. The only two tools that I can find is mbtiles-extracts and tilelive. mbtiles-extracts: Seems to me the most promising i.t.o. what I need to do, but I cannot get...
Ian23
1

votes
3

answer
155

Views

192 days to build Europe tiles

Hi and thanks for all the good work on OpenMapTiles. I'm trying to build tiles for Europe, North-America, maybe world. I'm using the ./quickstart script and it's said to be taking 30 days to build the tiles for America and 192 days for Europe. This is running on a c5d.18xlarge EC2 instance (70 CPU,...
Prune
1

votes
0

answer
131

Views

Installation process for OpenMapTiles server without docker

Is there a way to install OpenMapTiles server without docker? I need to use this on redhat linux and docker needs to be enterprise version in order to use it on redhat. Please let me know. Thanks
user3594495
0

votes
0

answer
5

Views

How to fix encrypt error when updating to newmaps

I'm updating the mbtiles on my server to the newest world wide maps, for some reason I get some error from SQLITE encryption error that I've never seen before. The error I get. Any ideas about this?
Shay Slobodov
1

votes
1

answer
147

Views

How to connect to OpenMapTiles Docker Postgres DB

I am currently playing around with openmaptiles (https://github.com/openmaptiles/openmaptiles) and I'd like to figure out how to import my own data into the resulting mbtiles. But first I'd like to look at how the postgres database it is using is structured. I just can't figure out how I can connect...
Georg
1

votes
1

answer
253

Views

Openmaptiles-server on Docker - Config

I'm trying to customise OpenMaptiles-Server running under Docker. I've NO docker exposure. I've read the docs and they suggest there is a config file for Docker, but what its name is, where it lives seems to be assumed knowledge. Is there a blog that explains this for absolute novices as the docume...
Gav_at_ASTS
1

votes
1

answer
316

Views

openmaptiles - vector files at lower than zoom level 14

Is it possible to generate the source vector files at a resolution lower than zoom level 14? I know you can overzoom, but that doesn't improve the map resolution, it just lets you get closer to the content resolution at ZL14 So, can OpenMapTiles generate vectors for us to create tiles from that goes...
CSAS_Joe
1

votes
1

answer
347

Views

Map download failes: Invalid key or download temporarily unavailable

I tried to set up openmaptiles-server via docker. Sadly I get an error message when trying to download a map in the installation wizard. Here is what I have done: I am at the last step of the wizard: 'Publish' I get the key from the website, paste it into the wizards input box, click 'start the do...
Fragender
0

votes
0

answer
4

Views

How to update mbtiles from diffs

I have generated a .mbtiles file using the quickstart.sh from openmaptiles, but I'm wondering if it's possible to update the generated file from a newer pbf diff file? I see in the .env file that there is a diff_mode option, but I can't find any documentation on what it's for or how to use it. I...
Justin M
4

votes
0

answer
21

Views

leaflet display .mbTiles files in the map

I have downloaded UAE mbtiles from openmaptiles site. I need to show the map in offline for UAE. I'm using angular 4. I have converted that mbtiles into png image using mbutil. But it shows the image was damaged. Also converted to pbf and tried. it shows the error 'Error: Unimplemented type: 3' eve...
Jegan
2

votes
0

answer
173

Views

Error loading glyphs and tiles in offline map using Mapbox

I am trying to load offline map using Mapbox framework used in OpenMapTiles iOS project. I am loading map using json file with additional sprite and glyph files to display labels on maps. Map is successfully loading in offline mode BUT there are no labels and images loaded which shows that the json...
4

votes
1

answer
109

Views

Vector tile route finding

Has anyone used either Mapbox or OpenMapTiles vector tiles to find routes from one place to another? It seems to me like those tiles are made for display and don't contain intersection information the way that say Open Street Map does.
dooderson
4

votes
3

answer
971

Views

How to use OpenMapTiles server for MapBox GL JS?

In OpenMapTiles' docs it is said, that it can serve vector tiles for MapBox GL JS. But digging docs for both projects I didn't find an option: how to configure self-hosted MapBox GL JS library to use tiles from my self-hosted OpenMapTiles server?
Terion
1

votes
1

answer
205

Views

Open Map Tiles with mapbox-gl-js gives error at higher zooms

Using Open Map Tiles with mapbox gl js, when zooming higher than zoom 14 I get errors in the browser console: mapbox-gl.js?d5ed:510 Error: Error at Actor.receive (mapbox-gl.js?d5ed:490) Evented.fire @ mapbox-gl.js?d5ed:510 Evented.fire @ mapbox-gl.js?d5ed:510 Evented.fire @ mapbox-gl.js?d5ed:510 t._...
musicformellons
7

votes
2

answer
119

Views

OpenMapTiles. vehicle routing

I am trying to use openMapTiles vector tiles for vehicle routing. It seems like a very fast data source to load. I intend to simulate many vehicles, so repeatedly querying google maps api is not an option. Is there an easy way to find road intersections? Are bridges a special case? Also I will even...
dooderson
2

votes
2

answer
588

Views

How to get X and Y indexes of the current tile in Mapbox GL JS?

I'm using Mapbox GL JS to display a map using my own tile-server (which just serves openmaptiles pbf files in a Z/X/Y directory structure). The loading of tiles is done automatically, based on the current center coordinates. I want to pre-load the surrounding tiles for an offline solution. I know ho...
Dylan