Questions tagged [openmaptiles]
an extensible and open tile schema based on the OpenStreetMap.
25
questions
1
vote
1
answer
91
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 (...
1
vote
1
answer
131
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 ...
1
vote
0
answers
183
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 ...
0
votes
1
answer
509
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 ...
2
votes
2
answers
785
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:
...
2
votes
0
answers
491
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 ...
2
votes
1
answer
315
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",...
2
votes
0
answers
839
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 ...
2
votes
0
answers
684
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):
...
1
vote
1
answer
539
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'...
3
votes
0
answers
591
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 ...
2
votes
1
answer
400
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. ...
1
vote
3
answers
878
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 ...
0
votes
3
answers
787
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, ...
0
votes
1
answer
448
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,...
1
vote
0
answers
796
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 ...
2
votes
0
answers
410
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 ...
1
vote
0
answers
538
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.
...
0
votes
0
answers
458
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, ...
3
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 ...
0
votes
1
answer
833
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 ...
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 ...
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.
8
votes
1
answer
7k
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 ...
1
vote
0
answers
210
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 ...