Hacker News new | past | comments | ask | show | jobs | submit login

Got the demo up and running.

I've been using leaflet for my map tiling and it just works. The advantage of promomaps being offline is great.

So, now... how does one add their own POI's, routes, polygons??




Author here, so there are a few options:

1) If your information belongs in OpenStreetMap, you can add it via an editor like the web editor at https://openstreetmap.org - this will also benefit all other OSM users. You can then "refresh" your Protomaps download to get a new map.

2) If there isn't many point and polygons, it may sense to add them as Leaflet layers, especially if you want them to be interactive

3) Other options are creating vector tiles of your own data and merging or displaying them in the renderer (https://github.com/mapbox/tippecanoe is a great tool to do this from GeoJSON) but I don't have much to support this yet.


Hi again Brandon!

Been playing around a bit with the protomap's pmtiles.

I notice that POIs have bbox, geom, and just a couple addt'l properties (e.g. name, amenity).

Would it be possible to have the option of exporting the street address into the properties of each poi?

I'd like to be able to (fully offline) generate a delivery route given a list of addresses (that fall within the specific pmtiles region).

Any suggestions or possibility of including this data?


I am working on making the set of information included in the tiles configurable via a JSON definition, kind of like Overpass Turbo if you've used that.

The reason I'm doing it this way is because data completeness and performance - the total size of the tiles - are direct tradeoffs. If I keep augmenting the dataset with tags people request, they'll become too big for everyone!

So I'm exploring this idea of "a la carte" tags in tile sets, but am still gathering requirements. Can you email me at brandon@protomaps.com with more details of the OSM tags you want, as well as the area you're interested in so we can work together on checking out the data availability there?


Thanks for the prompt reply (and for the awesome tool).

I'm getting old LOL... my question re adding POIs, etc. was a brain-fart. As you note, I'll just use leaflet layers!!




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: