Live data from Hacker News

Prettymapp – Create maps from OpenStreetMap data in a Streamlit webapp

github.com

21–30 of 30 posts

Re: Prettymapp – Create maps from OpenStreetMap data in a Streamlit webapp

#21
post #20

Wow. This is great. Is there API documentation? I'd love to be able to center the map at a GPS location instead of a city/town name. If I use my city's name, I find that it uses the city center, which is a reasonable default, but my neighborhood is actually quite far from that so it does not appear on the map unless I zoom way out.

Examining the source, you can use coordinates instead of address when calling get_aoi.

https://github.com/chrieke/prettymapp/blob/main/prettymapp/g...

Re: Prettymapp – Create maps from OpenStreetMap data in a Streamlit webapp

#22

Can anyone help clarify what license this is released under? The original was AGPL if the rewrite is permissively licensed that would be pretty cool.

The original is AGPL, and the new one is MIT. I wonder if that's even legal?

I'm not sure if this is really a rewrite, or simply an adaptation. I don't think the license could have changed, be advised.

Re: Prettymapp – Create maps from OpenStreetMap data in a Streamlit webapp

#25
post #11

Can anyone help clarify what license this is released under? The original was AGPL if the rewrite is permissively licensed that would be pretty cool.

It looks like it's MIT: https://github.com/chrieke/prettymapp/blob/main/setup.py#L15...

It’s MIT but based on an AGPL project? Hmm. Something is fishy.

Re: Prettymapp – Create maps from OpenStreetMap data in a Streamlit webapp

#26
post #11

Earlier quoted context omitted.

It looks like it's MIT: https://github.com/chrieke/prettymapp/blob/main/setup.py#L15...

It’s MIT but based on an AGPL project? Hmm. Something is fishy.

Probably just an honest mistake. But they should definitely look into fixing that.

Re: Prettymapp – Create maps from OpenStreetMap data in a Streamlit webapp

#28
Maptiler has a nice SAAS service. We use their vector maps with maplibre. Nice company trying to carve out a business in this space with decent tools, maps, and they are a major open source contributor as well. Several of their tools are opensource and you can self host.

Some nice examples of themed maps on their website.

Re: Prettymapp – Create maps from OpenStreetMap data in a Streamlit webapp

#29
post #20

Wow. This is great. Is there API documentation? I'd love to be able to center the map at a GPS location instead of a city/town name. If I use my city's name, I find that it uses the city center, which is a reasonable default, but my neighborhood is actually quite far from that so it does not appear on the map unless I zoom way out.

Examining the source, you can use coordinates instead of address when calling get_aoi. https://github.com/chrieke/prettymapp/blob/main/prettymapp/g...

Excellent, thanks!
Post reply on HN