-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Generate basemap with richer/more specific tags/layers #240
Comments
Hi @adamcohenhillel. A good start can be to search for Now it depends if you would like to add points or polygons. For points, you probably want to add it to the POI layer, for polygons, maybe the Landuse layer could be good. Let me know if you have further questions... |
@adamcohenhillel our long term goal is to make the basemap extensible for specific use cases, but there's no framework around that yet. The easiest pathway is right now is to overlay OSM shelters as a GeoJSON or PMTiles dataset separately from the basemap, is there a reason you need it integrated directly into the basemap? |
Hey @bdon , thanks for the reply! It doesn't have to be integrated directly into the basemap, I can add a separate overlay. My use-case is basically add/remove different annotations to/from the map, based on a user clicking a button. Do you have by any chance an example for how to add a simple overlay from OSM on the basemap? (either as a GeoJSON or PMTiles dataset, whatever is easier). I am using the MapLibre GL |
for amenity=shelter you could grab GeoJSON from an Overpass API instance and then pass the GeoJSON into https://github.com/felt/tippecanoe to create PMTiles. |
I am looking for a way to generate a custom basemap with some specific tags that exists in OSM but doesn't exist in the Protomaps Basemap, for example ->
tag:amenity=shelter
(https://wiki.openstreetmap.org/wiki/Tag:amenity%3Dshelter)Any resource on how to do that?
I guess I need to change/add something in
tiles/src/main/java/com/protomaps/basemap/layers
, but not sure what and how. Any help would be awesome!Thank you
The text was updated successfully, but these errors were encountered: