Questions tagged [openmaptiles]

OpenMapTiles provides pre-rendered tiles as well as a set of tools allowing everyone to create his own vector map tiles from OpenStreetMap data for hosting, self-hosting or offline use.

OpenMapTiles provides pre-rendered tiles as well as a set of tools allowing everyone to create his own vector map tiles from OpenStreetMap data for hosting, self-hosting or offline use.

The OpenMapTiles project is open-source and consists of several components. The major ones are Open Vector Tile Schema, tools for creating vector tiles from OSM data and Open Map Styles.

  • Open Vector Tile Schema: Dscribes data layers and attributes. It is documented and easily extendable.
  • Tools for creating vector tiles from OSM data: Takes OSM data as an input and produces MBTiles containing PBF as an output.
  • Open Map Styles: Ready-to-use map styles for vector scheme. They are available under a free license and therefore can be modified and reused.
112 questions
2
votes
1 answer

libvips - generate tiles starting from specific zoom level and specific coordinates

I am using windows cli version libvips. I want to generate map tiles for leaflet from image 8000px x 6000px. This image is old map of my town, and I want to display it on my website, but I am stuck on generating tiles. How to tell libvips to…
szczemp
  • 21
  • 1
  • 1
2
votes
0 answers

Storage-optimizing sqlite blob to act as data or foreign key

Is there a storage and performance gain to denormalize sqlite3 blob column into primary table, but treat it as a foreign key only in some cases? I have two implementations, and both seem to run slower. Is there some sqlite3 internals that preclude…
Yuri Astrakhan
  • 8,808
  • 6
  • 63
  • 97
2
votes
1 answer

Using Kubernetes for TileServer-GL with custom config and style files

How can I add a custom config.json and add a custom style /styles/custom.json to tileserver-gl using Kubernetes? Here is what I have so far for my kubernetes manifest file. Tileserver-gl is up and running fine but I do not see my custom theme that I…
stevetronix
  • 1,231
  • 2
  • 16
  • 32
2
votes
1 answer

How do i style OpenStreetMap like coronavirus.app

Im digging into the world of OpenStreetMap, leaflet and map tiles ! First thing i want is a pretty map for data visualization. Prior experiense with google maps i could style the map client side, but when i search for OpenStreetMap styling it just…
2
votes
1 answer

How to serve .mbtiles (vector tiles) and use them in web application?

I have downloaded maps covering Europe from OpenMapTiles. I want to use these .mbtile files (vector tiles) in a web application made with Leaflet or Mapbox. How do I have to serve the .mbtile files so that I can use them in a web application? Do I…
the_chimp
  • 205
  • 4
  • 18
2
votes
0 answers

Does openmaptiles support distributing 3D terrain map tiles?

Can OpenMapTiles software dispense 3D terrain data? I would like to render 3D terrain data in Cesium where the user can see the 3D terrain heights of the terrain when viewed from the side in an offline map server environment. An example of what I am…
Larry
  • 21
  • 1
2
votes
1 answer

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…
Gav_at_HRSTS
  • 179
  • 2
  • 11
2
votes
2 answers

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…
Prune
  • 345
  • 4
  • 11
2
votes
0 answers

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…
Ian23
  • 33
  • 1
  • 1
  • 4
2
votes
1 answer

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…
Jamestrod
  • 219
  • 2
  • 11
2
votes
1 answer

Creating mbtiles using Maptiler for OpenMapTiles

I create a mbfiles file using MapTiler and loaded it into OpenMapTiles. The files that I have loaded are from earthexplorer.usgs.gov and composed of several .tif files. Once I load the mbfiles into the server, I get the following…
ArmenB
  • 2,125
  • 3
  • 23
  • 47
2
votes
4 answers

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…
Dylan
  • 9,129
  • 20
  • 96
  • 153
1
vote
1 answer

How to get Geoserver to correctly serve up MB Vector Tiles

I have geoserver (v2.18.1) serving up MapBox Vector tiles. It works nicely and the data is coming back and rendering on the client. I have the MBTiles plugin installed. The issue I have is that the protobuf responses containing the date with each…
JT-Hello
  • 23
  • 1
  • 6
1
vote
1 answer

How to enable CORS in a self-hosted maptiler-server?

I want to configure Access-Control-Allow-Origin of a server machine running maptiler-server but cannot find any documentation how to do it. I also want to know if there is any way to provide the maptiler-serve with access tokens generated by another…
0xC0DEGURU
  • 1,432
  • 1
  • 18
  • 39
1
vote
0 answers

How to use OpenMapTiles hosted on my server into android kotlin

I have hosted OpenMapTiles on my own server. but I don't know how to use it in my android app using Mapbox SDK or any other GL SDK. Is there any way to use OpenMapTiles in android and if any please let me know. Thanks in adavance!
Ujas Patel
  • 27
  • 5