Comments (8)
Hello! That would probably be doable for some sources, for example natural earth and water polygons but any low zoom features rendered from OSM won't show up.
I think this would require a new config attribute, and a logic tweak in SimpleReader to not filter geometries when reading, and also a tweak to how TileExtents computes the tile x/y range limits by zoom level when that attribute is specified.
I'm working on a few other tasks first so it might be some time before I could take a look at this, but I'd be happy to review a PR.
As a workaround you can run with --bounds=planet
to generate the whole planet for all zoom levels but only OSM details from your extract. Or to save space, run planetiler a second time with --bounds=planet --maxzoom=5
and combine the two mbtiles with a tool like tilelive-copy.
from planetiler.
@msbarry Thanks for the reply. I'm afraid I won't be able to help with development since I know nothing about Java 😬
I will try to play with suggested workarounds though.
from planetiler.
Merging two mbtiles using tilelive-copy
gave me broken results (empty tiles) but it looked ok using tile-join
(from https://github.com/mapbox/tippecanoe). It saves space but tileserver is returning empty tiles after zoom level 5.
Generating tiles with --bounds=planet
gives better results IMO. It allows moving around the map and zoom everywhere. Of course, detailed tiles are returned only for the specific region. Low details tiles for the whole planet add around 25GB to the output.mbtiles
.
from planetiler.
Responded in slack - tilelive-copy
is probably messing with the metadata. You may need to manually ensure that minzoom=0, maxzoom=14, bounds=-180,-90,180,90 when you combine using tilelive-copy
from planetiler.
Thank you so much for this awesome program. I'm so happy it exists and I'd love to give support if I could.
I was looking at this too after I generated a planet mbtiles file yesterday. I'm extremely pleased with the results, however comparing my output with MapTiler, it's missing some low zoom details I wish I'd have. In the meantime I'll look around for a solution. I know OSM Liberty adds in some natural earth relief tiles hosted on GitHub, but they're not as pretty.
from planetiler.
Thanks for reaching out @makitsune! For onthegomap I use natural earth 2 shaded relief - it looks ok but a vector style would be nicer. I'm trying to keep planetiler compatilble with open-source openmaptiles by default, but it's fine to add changes you can opt-into with command-line flags. My understanding is that maptiler's global landcover data is a proprietary dataset, any idea if an open alternative might exist elsewhere?
from planetiler.
@makitsune
In my map style at wifidb.net I added a raster layer behind the planetiler map that looks like this
https://tiles.wifidb.net/data/jaxa_color/#1.32/50.3/-48.7
Which I can then merge into my style like this
https://tiles.wifidb.net/styles/WDB_OSM/#1.19/29.3/-54
I generated my color relief using gdaldem. Right now I have a copy under jaxa_color.mbtiles here ( https://drive.google.com/drive/folders/1Uo5xyFd8it7UH3pSmBiWP4lfZdM9OmhA?usp=sharing ) though I am trying to regenerate them without a missing chunk of greenland (currently working on this)
from planetiler.
I just wanted to let you know, I finally updated my raster color-relief mbtiles if you are still looking for something. I've updated all my full planet mbtiles made from the JAXA DEM images and put them on my google drive if anyone is interested. They can be downloaded here https://drive.google.com/drive/folders/1Uo5xyFd8it7UH3pSmBiWP4lfZdM9OmhA?usp=sharing
jaxa_terrainrgb.mbtiles - Is a full planet TerrainRGB file made with gdal and rio rgbify. This can be used with the new terrain features of maplibre or with the older hillshade features. (example here).
jaxa_color.mbtiles - A full planet color relief map created using gdaldem color-relief (example here)
jaxa_hillshade.mbtiles - A full planet hillshade map created with gdaldem hillshade. I preferer to use the TerrainRGB dynamic hillshade over this file, but I updated it anyway. (example here)
As you can see from the examples above, I have fixed the missing chunk of Greenland that the last version of these files had.
from planetiler.
Related Issues (20)
- [BUG] Broken geometry of admin_level=4 boundary HOT 3
- [FEATURE] Configure zoom levels per layer HOT 3
- [BUG] download missing latest osm file HOT 1
- [BUG] Error when building planet tiles: "Protocol message contained an invalid tag (zero)" HOT 2
- Support Overture Map format HOT 18
- About the display layer of place name labels HOT 1
- Multiple areas support? HOT 2
- House number is generated for every primative with addr:housenumber key HOT 1
- [FEATURE] Merge with already existing tiles HOT 2
- Prefer name statements over Wikidata labels HOT 2
- [FEATURE] Log problematic geometry causing JTS exceptions HOT 22
- [FEATURE] Min polygon area for including center point
- [FEATURE] Expose OSM entity metadata in the process feature context HOT 2
- [FEATURE] Lua profile followups
- [BUG] US admin level 4 boundary lines appear incomplete HOT 3
- Tilejson attributes missing attributes added or removed during post-processing
- [BUG] tiles missing >= zoom 7 HOT 13
- [FEATURE] Log planet version being used HOT 2
- [BUG] Charging stations won't be exported HOT 4
- [FEATURE] Add arbitrary extra metadata using the Profile interface
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from planetiler.