Questions tagged [openmaptiles]

an extensible and open tile schema based on the OpenStreetMap.

Filter by
Sorted by
Tagged with
1 vote
0 answers
43 views

How to show more data in lower zoom levels with Vector tiles [closed]

I have downloaded OpenMapTiles Vector .mbtiles file for whole world data ~50GB, created a localhost to serve .pbf tiles and rendering them on client with maplibre-gl. At zoom level 12, minor roads are ...
user avatar
0 votes
0 answers
71 views

Editing filters in styles for Vector Tiles in QGIS?

I have got a MbTile with vector tiles with data in the OpenMapTiles Vector Tile Schema When I add it to QGis, I can visualize the data, but the symbology is quite simple. I know that I can load a ...
user avatar
0 votes
0 answers
53 views

Generate OpenMapTile VectorTiles in projection other than 3857

Using OpenMapTiles I am trying to generate vector tile sets in several projections other than 3857 (WebMercator). If I change the srs and and srid values in the openmaptiles.yaml there is no impact on ...
user avatar
2 votes
1 answer
152 views

Using ST_Transform() to get the length of a LineString using SRID 4326 returning very small numbers

I am using openmaptiles to convert OSM pbf files to mbtiles. I am testing a trail that is about 5 miles in length. In doing this, I am wanting to calculate the length of path using the following: ...
user avatar
2 votes
0 answers
98 views

How are map tiles created?

I have recently been diving into the world of maps and I got interested to know how map services work, like Google, Mapbox, Leaflet, Open Street Maps and many others. I was confused about the ...
user avatar
2 votes
1 answer
98 views

Using ST_LengthSpheroid to calculate line string distance in meters returning huge numbers

I have a lot of LineStrings that I would like to calculate the distance of in meters. After some research, I used the following in my SELECT: ST_LengthSpheroid(geometry,'SPHEROID["WGS 84",...
user avatar
0 votes
0 answers
26 views

Trying to display selected maptiles created on MapTiler using Google Map API selection is radio button. How to center?

Trying to display selected maptiles created on MapTiler using Google Map API, selection is radio button or listview. So when I select other date other map tiles should load and it should center also ...
user avatar
1 vote
0 answers
320 views

Own OSM map tile server seems not to render or is very slow

I have a problem with my own tile server. I tested it with https://download.geofabrik.de/europe/germany/bayern-latest.osm.pbf and everything works fine. At the beginning it took about 200 seconds to ...
user avatar
  • 11
2 votes
0 answers
341 views

Render raster from vector tiles in WGS84 (EPSG:4326) using Tileserver GL

I have vector tiles that are in the WGS84 CRS (EPSG:4326). I can confirm that they are in WGS84 because on a Web Mercator basemap (pg_tileserv preview) they display in Svalbard (should be in Austria): ...
user avatar
1 vote
1 answer
291 views

Maputnik: iso_a2 filter

I'd like to show place labels (cities and towns) only for the one country. Is it possible to achieve this in Maputnik editor? I'm looking for something like Mapbox "iso_3166_1" parameter. I'...
user avatar
3 votes
0 answers
261 views

What is a good alternative to OpenMapTiles? [closed]

I want migrate image tiles (osm2pgsql, mapnik, etc.) to vector tiles. I tried OpenMapTiles. But the documentation is bad. To start a local test system is no problem, but create a own server and own ...
user avatar
  • 661
1 vote
1 answer
292 views

Way to analyze size of mbtiles file or pg database to find largest objects to optimize final size

Is there a way to figure out what OSM data is taking up the most space in my final mbtiles file? For example, Connecticut is 54MB after I have made some modifications to the scripts in openmaptiles. ...
user avatar
1 vote
2 answers
491 views

Using MBtiles from OpenMapTiles with Geoserver MBtiles extension?

I am using MBtiles files from OpenMapTiles (free ones for personal and non commercial project) in Geoserver (I have installed the MBTiles extension) the store creation work perfectly but I got an ...
user avatar
0 votes
3 answers
479 views

How to get the text labels in a raster tile in OpenMapTiles?

I'd like to use OpenMapTiles to generate training data for a text recognition task. So, I need to have the corresponding text labels in a raster tile, preferably with their location on the image, ...
user avatar
0 votes
1 answer
345 views

Calculate offline map download size for a square km for each zoom level?

I am working on estimation of how much will I have to download to make maps available offine at different zoom levels. What I am looking for is something like below. zoomLevel,sizeInKM,downloadInGB 1,...
user avatar
1 vote
0 answers
560 views

MapBox SDK load local MBTiles

does anyone know how I can load local MBTiles from the device storage using the MapBox SDK? The vector Tiles come from this Website: https://openmaptiles.com/downloads/planet/ The same page offers ...
user avatar
  • 391
2 votes
0 answers
262 views

How to delete openmaptiles (OSM Mbtiles) layers

I am struggling with converting PBF to Postgresql Table (importing only certain layers) or editing them, for the volume of the data. (world scale of PBF is about 80Gbs) meanwhile, I have found that ...
user avatar
  • 942
1 vote
0 answers
399 views

PBF vector tiles reach the client through Apache HTTP Mod_rewrite, but not shown in Leaflet. How to show these PBF in Leaflet?

In short: This is about proxy-ing access to OpenMapTiles (OMT) by Apache Http. The proxy works hence the PBF tiles from OMT reach the client. However Leaflet fails to draw the PBF tiles in the map. ...
user avatar
  • 709
0 votes
0 answers
353 views

How to show on Leaflet: WMS on top of OpenMapTiles (vector PBF)?

I made a simple Leaflet page with the following content: Overlays: a geojson polygon file WMS polygon layer from Geoserver of my own (tiled=true) Baselayers: All 4 Google Maps: road, terrain, ...
user avatar
  • 709
2 votes
0 answers
3k views

Vector Tiles VS Raster Tiles for leaflet

I have downloaded many vector tiles in the mbtiles format from OpenMapTiles. The reason I did that is because I will be using them on a station that cannot have an internet connection at all. I would ...
user avatar
  • 153
0 votes
1 answer
639 views

Generating own vector tiles on OpenStreetMap with filtered layers

I want to create my own vector tileset based on OSM free data but with filtered layers. How I must define desired layers for my result tileset? I have seen the link OpenMapTiles Vector Tile Schema ...
user avatar
  • 1,015
2 votes
1 answer
2k views

How can use my own styles in klokantech/openmaptiles-server docker container?

If I use klokantech/openmaptiles-server docker-container it work well. I can download style and change it like in Upload Style to Mapbox Studio described. But how can I use the new style.json in my ...
user avatar
  • 661
1 vote
2 answers
4k views

How can I grey all outside a country border in Mapbox GL JS?

I have klokantech docker container for openmaptiles. Now I want take the KML of the country border and grey all outside the country.
user avatar
  • 661
7 votes
1 answer
5k views

Styling GeoServer pbf vector tiles in Leaflet

I'm serving up vector tiles in pbf format in GeoServer 2.11.2 (using the MVT extension) and consuming them in Leaflet 1.2.0 with Leaflet.VectorGrid 1.2.0 but am having trouble styling them. The URL ...
user avatar
  • 463
1 vote
0 answers
173 views

Mapbox-gl offline openmaptile font not shown

I'be downloaded a mbtile file related to rtl countries and used it as an offline source for Mapbox-gl server. All stuff are shown correctly except labels that have rtl characters. Even ltr characters ...
user avatar
  • 151