New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding building names to basemap profile #134
Comments
Inspecting tiles is possible with tileserver-gl |
The base profile is derived from OpenMapTiles. Is the house name in OpenMapTiles? |
Here is a gist on how to add an OpenStreetMap tag to OpenMapTiles in planetiler https://gist.github.com/wipfli/02ba9081b26c3a0cfae054e5c5402fe7 |
I am happy to help you hack stuff together. Just ping me in the slack planetiler channel. |
https://osmus-slack.herokuapp.com/ generates an invite for the slack channel. Join |
After some digging it seems that OMT does not include building names in the schema (ref: openmaptiles/openmaptiles#579 openmaptiles/openmaptiles#241). This means that the planetiler is not wrong in omitting the building names and that my tilemaker script was generating non-compliant OMT tiles 😅.
This is excellent! Just what I needed. Maybe consider pinning this info somewhere as a I had a hard time piecing together the steps needed to modify the basemap profile to my usecase. |
Nice. What would be a good place to post it? How did you find planetiler by the way? |
@lokkelvin2 what layer is tilemaker putting them into? Planetiler generates the mapping code in the "generated" package from openmaptiles yaml files so to put it into poi layer you could change this line to |
Tilemaker creates I must say that planetiler is awesome and that the blazing speed of planetiler makes iterating through different OMT schemas rather painless. Also, being able to edit the basemap profile without regeneration would be really useful on machines that do not have a build environment set up. |
Beautiful, happy to hear that! I guess our plan is to feed planetiler with yaml files directly and get mbtiles out of it. See https://github.com/onthegomap/planetiler/projects/2#card-78768754 |
I also like to iterate through tiles. It is just fun... |
Describe the bug
The names of POI/buildings are missing using the default basemap profile.
Expected behavior
The output mbtiles should include the name tags of buildings and POIs but they are dropped.
To Reproduce
java -Xmx1g -jar planetiler.jar --download --osm_path="malaysia-singapore-brunei-old.osm.pbf"
Long description
I am generating vector tiles for Singapore and have been using tilemaker prior to planetiler. Using Way 427077072 as an example, the building name in OSM is 'Ridge View Tower' and I would expect the output mbtiles to contain the same information.
In the planetiler mbtiles, however, this name field is missing. Inspecting the planetiler mbtiles using QGIS reveals that planetiler only saves housenumbers and does not save POI/building names.
Here are some screenshots describing the problem:
OSM groundtruth:
Planetiler output:
Tilemaker output:
Is there a way I can edit the planetiler profile to match the detailed output of tilemaker/OSM ?
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: