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
1
vote
2 answers

Contextily map upside down when used with cartopy

When a contextily basemap is added to an axis projected with cartopy, the map appears upside down. Here is a minimum example: import matplotlib.pyplot as plt import cartopy import contextily # contextily & cartopy fig, ax = plt.subplots() ax =…
Martin
  • 1,395
  • 1
  • 11
  • 33
1
vote
1 answer

When I try to apply my own style to the tiles served by Tileserver PHP, I get this error: "Unable to parse URL object"

In search of a simple tileserver, I found Tileserver PHP. I tried to follow this tutorial. I'm hosting the files on a Linux box with address 192.168.2.22 in my network, of course with Apache and PHP. I had success when I opened…
Dobedani
  • 508
  • 5
  • 20
1
vote
0 answers

Display US State Abbreviations instead of full name on openMapTiles map?

I'm using a locally hosted openMapTiles server with a custom style based on positron. I'm looking to have US State two letter abbreviations instead of State names on my maps. Is that data able to be referenced? If so, how do I pull it into the…
Eric
  • 11
  • 1
1
vote
0 answers

Ruby on Rails 6 - Leaflet - Open Street Map Not showing on iPhone

I'm trying to run Leaflet with Open Street Map on my Rails 6 application. As I have decided to add leaflet.js by running yarn add leaflet so, I'm not using the gem "leaflet-rails". For me to be able to add the CSS part of it I ended up adding the…
1
vote
1 answer

Converting .mbtiles to .png images

We are downloaded map.mbtiles from openmaptiles.com. Now we are tyring to convert that map.mbtiles to png images. We tried mbutil to convert but images we got those are not supported. We need method or process to convert it.
GajananB
  • 38
  • 1
  • 12
1
vote
1 answer

Add style to running OpenMapTiles server

I'm using the OpenMapTiles Docker image on a VPS, and would like to use a custom map style created with Maputnik. I've already gone through the "setup" process, so when I go to the server's address, I see a list of the styles currently available. I…
1
vote
1 answer

Mapbox - How can I add a .pbf file as a Layer in Mapbox?

I want to add a tile layer over my map in Mapbox. The tiles are hosted local with a php tileserver. My previous attempt looks like this: map.addLayer({ 'id': 'tiles', 'type': 'fill', 'Source': { …
1
vote
1 answer

Extracting Specific Country from Continent Wide MapTiles

Apologies for noob question, but I am no coder and total noob with MapTiles. I have a software that uses .mbtiles for a TileServer. I want to get a map of Algeria, but the price for the whole Continent is not much more than the country itself, so…
Hellfire
  • 11
  • 1
1
vote
2 answers

How do I use different themes for open street maps in open layers?

I have a map application with custom interactive layers, but I want to use the dark theme from this. I'm using playing around on jsfiddle and I just can't seen to get the dark theme to work. I tried this: new TileLayer({ source: new…
lee
  • 740
  • 2
  • 11
  • 24
1
vote
1 answer

Multi language support in Downloaded mbtiles

I've downloaded mbtiles from openmaptiles and Also displayed them in web page. I used this to translate labels from english to other languages. but it doesn't work. Does anybody know how to change languages? (Should mention that i display it with…
masoud vali
  • 1,528
  • 2
  • 18
  • 29
1
vote
0 answers

Is it possible to show railway-infrastructure in lower zoom-levels?

I want to replace the base-layer in an existing project with openMapTiles from a own server. When I've tested the Docker-Image, I saw that the railway-infrastructure disappears at lower zoom-levels. Is it possible to include Data tagged with…
1
vote
1 answer

Merge multiple mbtiles files to one

I'm using the docker image klokantech/openmaptiles-server to server map data for an application. There is a requirement to only have certain country data available. Let's say Brazil, France, China and South Africa. I downloaded the mbtiles file for…
rwms
  • 313
  • 1
  • 5
  • 15
1
vote
0 answers

png files not readable after extracting mbtiles

I need to run with tiles on an offline system. I like the idea of being able to download .mbtiles files, and extract the tiles. I downloaded a data set and tried to extract tiles using mb-util. When I try to extract tiles from the .mbtiles…
1
vote
0 answers

How do I get the appropriate file format from Open Map Tiles?

I have downloaded multiple areas from OpenMapTiles for a project. Sometimes the file contains the extent or location with the date in the .mbtiles format. Other times I get a file name like 1_EOzgCOZOqPAcEFBcsVJbgd-bvHyz5Dw with no specified file…
Zachary
  • 11
  • 2
1
vote
1 answer

How to use custom fonts (Glyphs) with tileserver-gl server?

I'm using the Docker image of tileserver-gl to run my server (klokantech/tileserver-gl). I would like to serve my own fonts like my pbf files of Font Awesome (currently here available). I can only use custom styles, but not use my own 'custom' fonts…
Melroy van den Berg
  • 2,697
  • 28
  • 31