Comments (4)
Based on https://wiki.openstreetmap.org/wiki/MinScaleDenominator amd mapnik/mapnik@219ad1f lots would need to be changed and tested to ensure it's ending up in the appropriate layer. But for now I think it should be left as is.
from openmaptiles.
at least, I will add a kindly warnings to the ./quickstart.sh - about this ...
echo " : You will see a lot of deprecated warning in the log! This is normal! "
echo " : like : Mapnik LOG> ... is deprecated and will be removed in Mapnik 4.x ... "
from openmaptiles.
Note to self, I think the scale_denominator = planet_meter_width/(tile_size x tiles_x_dir x standardized_pixel_size)
where planet_meter_width ~= 40075016.6855825 (need to confirm this number, might need trial and error)
tiles_x_dir = 2^zoom
standardized_pixel_size = 0.00028
tile_size = 512 (it's 512 pixels for Mapbox, 256 for common raster tiling)
Also see:
https://github.com/openstreetmap/mapnik-stylesheets/blob/master/zoom-to-scale.txt (256px tiles)
https://github.com/mapnik/mapnik/blob/master/src/scale_denominator.cpp
Open Question: How does this work for Retina, do you end up having to do an entirely different mbtiles for Retina as it's no longer zoom consistentt?
Plus, I don't think tilelive-copy even has support for scale_denominator yet.
from openmaptiles.
Deep dive results:
There would be a lot needed to avoid those messages, especially if we want to do more than hide them.
Basically, mapnik supports the scale_denominator args, but both tilelive and tilelive-mapnik don't seem to. I've done some experimenting here with adding support to tilelive-copy but it doesn't work as my arguments are being ignored due to the lack of support in tilelive and tilelive-mapnik. I think this is very far off, especially since v4 of Mapnik isn't even on the roadmap yet. So this is closed, especially with the warnings added by @ImreSamu to quickstart.sh.
from openmaptiles.
Related Issues (20)
- make generate-tiles and generate-tiles-pg not working HOT 3
- Compilation Failure on master branch HOT 6
- Add shop=bakery and shop=butcher as they are currently not rendered HOT 1
- Feature request: Add more tags for places and POIs HOT 3
- Show tertiary roads on lower zoom levels HOT 3
- Error - failed to create network openmaptiles_default HOT 2
- POI for `amenity=university` is incorrectly conflated with `office=university`
- Beach names missing HOT 2
- Network property is in Germany set to `road` even a `network` is available
- How do I update coastlines / oceans from OSM? HOT 4
- Unsigned routes should not be included in the transportation_name layer HOT 3
- error generating some tile HOT 1
- Cable cars are neither rendered nor exported into mbtiles HOT 4
- Add information necessary to implement Trails Working Group rendering guidelines HOT 6
- Wrong rank for "Seminole Nation": 3 instead of 1
- Wetlands show much darker (even black) at zoom level 13 and up. HOT 2
- Error: SQLITE_ERROR: cannot start a transaction within a transaction HOT 2
- Roads on upper zoom levels are too segmented. HOT 1
- Ensure that place points are always inside their boundaries
- Excessive growth of .mbtiles file size with updates HOT 1
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 openmaptiles.