Live data from Hacker News

Prettymapp – Create maps from OpenStreetMap data in a Streamlit webapp

github.com

1–10 of 30 posts

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

#6
Great work, thanks!

As the example app has been DoS'd, I decided to try and deploy my own on streamlit (having never used it before). The deployment process isn't documented in your project, but it was super easy to do using the upstream docs!

Welcome to try mine: https://wfcmzortl5n8cqhdowr6dm.streamlit.app/

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

#7
post #6

Great work, thanks! As the example app has been DoS'd, I decided to try and deploy my own on streamlit (having never used it before). The deployment process isn't documented in your project, but it was super easy to do using the upstream docs! Welcome to try mine: https://wfcmzortl5n8cqhdowr6dm.streamlit.app/

Well it didn't last long

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

#9
post #7
post #6

Great work, thanks! As the example app has been DoS'd, I decided to try and deploy my own on streamlit (having never used it before). The deployment process isn't documented in your project, but it was super easy to do using the upstream docs! Welcome to try mine: https://wfcmzortl5n8cqhdowr6dm.streamlit.app/

Well it didn't last long

Argh! It looks like a badly handled error in the app, which I can't blame the platform for... but it looks like the platform gives great access to error logging

I've "rebooted" the app, but no idea how long it will last again!

  ```
  /home/adminuser/venv/lib/python3.9/site-packages/geopandas/array.py:158: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
  return GeometryArray(vectorized.from_shapely(data), crs=crs)
  /home/adminuser/venv/lib/python3.9/site-packages/geopandas/array.py:158: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
  return GeometryArray(vectorized.from_shapely(data), crs=crs)
  [15:49:17]  Streamlit server consistently failed status checks
  [15:49:17]  Please fix the errors, push an update to the git repo, or reboot the app.
  ```

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

#10
post #9
post #7

Earlier quoted context omitted.

Well it didn't last long

Argh! It looks like a badly handled error in the app, which I can't blame the platform for... but it looks like the platform gives great access to error logging I've "rebooted" the app, but no idea how long it will last again! ``` /home/adminuser/venv/lib/python3.9/site-packages/geopandas/array.py:158: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.c…

> but it looks like the platform gives great access to error logging

Where do you see errors in the log? In the snippet you shared, I see only a couple warning then "please fix the errors".

Post reply on HN