Skip to main content

Questions tagged [openmaptiles]

an extensible and open tile schema based on the OpenStreetMap.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

MapLibre : Issue with style.json and tiles vector declarations in HTML

As explained and asked in Slack Forum : https://osmus.slack.com/archives/C01G3D28DAB/p1721219062146369?thread_ts=1721213195.422509&cid=C01G3D28DAB I want to use this TileServer: https://tileserver....
Raphael10's user avatar
  • 101
1 vote
1 answer
268 views

OLcesium how to load a 3d terrain from mapTile Cloud

I use OpenLayers 6 and ol-cesium 2.15. The basemap in use on a 2d view is the ESRI ocean basemap. The problem is that, when using cesium, the map shows a white circle in correspondence of each pole (...
Elena Politi's user avatar
1 vote
1 answer
156 views

Is styling also defined in vector data or all in style.json

I'm using the style editor in maptiler cloud with an openmaptiles base map. It uses opacity and zoom stops to transition between different layers as you zoom in. For example, landcover_wood shows from ...
HalPlz's user avatar
  • 15
1 vote
0 answers
189 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 ...
RubyLilac's user avatar
0 votes
1 answer
713 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 ...
Devdatta Tengshe's user avatar
2 votes
2 answers
998 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: ...
Nic Hubbard's user avatar
2 votes
0 answers
686 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 ...
Thiago Guimarães's user avatar
2 votes
1 answer
418 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",...
Nic Hubbard's user avatar
2 votes
0 answers
994 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 ...
Djut28's user avatar
  • 21
2 votes
0 answers
808 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): ...
StefanBrand_EOX's user avatar
1 vote
1 answer
659 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'...
Євгенія Дроздова's user avatar
3 votes
0 answers
705 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 ...
Gerd's user avatar
  • 751
3 votes
1 answer
438 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. ...
Nic Hubbard's user avatar
1 vote
3 answers
1k 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 ...
Ezouagh Mohamed's user avatar
0 votes
3 answers
881 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, ...
sasantv's user avatar
0 votes
1 answer
472 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,...
Mo Ziauddin's user avatar
1 vote
0 answers
834 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 ...
BR75's user avatar
  • 447
2 votes
0 answers
459 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 ...
Pil Kwon's user avatar
  • 1,040
1 vote
0 answers
570 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. ...
Rino's user avatar
  • 719
0 votes
0 answers
479 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, ...
Rino's user avatar
  • 719
3 votes
0 answers
4k 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 ...
LBes's user avatar
  • 163
0 votes
1 answer
899 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 ...
Jane's user avatar
  • 1,076
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 ...
Gerd's user avatar
  • 751
2 votes
2 answers
5k 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.
Gerd's user avatar
  • 751
9 votes
1 answer
8k 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 ...
BStone's user avatar
  • 503
1 vote
0 answers
215 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 ...
Mahdi's user avatar
  • 151