You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've long wanted to generate GeoJSON directly in the database (i.e. Postgres/PostGIS) since it has JSON and GeoJSON capabilities, and probably has some performance benefits over serialization / pulling everything into memory in Python. This weekend I finally assembled it:
It uses many functions that aren't in core Django yet, so it might be too Postgres-specific to merge into the library yet, but if it helps others trying to do something similar, here you go! Or if anyone thinks it's worth incorporating, I'm happy to put a PR together.
The text was updated successfully, but these errors were encountered:
I've long wanted to generate GeoJSON directly in the database (i.e. Postgres/PostGIS) since it has JSON and GeoJSON capabilities, and probably has some performance benefits over serialization / pulling everything into memory in Python. This weekend I finally assembled it:
https://gist.github.com/bahoo/fca19de157fde5bb34b30dea8f1352d8
It uses many functions that aren't in core Django yet, so it might be too Postgres-specific to merge into the library yet, but if it helps others trying to do something similar, here you go! Or if anyone thinks it's worth incorporating, I'm happy to put a PR together.
The text was updated successfully, but these errors were encountered: