BlackPythonDevs / .maintainers

MIT License
2 stars 5 forks source link

PyCon Talk Prep: Laz - Geospatial Validations Using FastAPI and PostGIS #35

Open kjaymiller opened 3 months ago

kjaymiller commented 3 months ago

Join us for a special online event where Laz, an upcoming speaker at PyCon, will be rehearsing their talk ahead of the big day. This is a fantastic opportunity for those who won't be able to attend PyCon in person to get a sneak peek of Laz's presentation and offer valuable feedback. Your insights and suggestions will play a crucial role in refining Laz's delivery and content, ensuring they hit the stage with confidence!

Talk Description:

Given the results it can deliver (and its inherent complexity), geospatial data often takes center stage in projects it's incorporated into. Its star power and intimidating array of fellow-travelers (GDAL, et al) can make it easy to discount its value in simpler supporting roles or behind-the-scenes. Looking beyond the typical analysis and visualization toolchains--and their extreme learning curves--this talk demonstrates some comparatively low-lift patterns for leveraging geodata in a web application back end.

We'll begin by briefly discussing how geospatial data differs from other data types, how it is commonly formatted and made available, and which aspects (spatial reference identifiers, e.g.) are crucial to maintaining data correctness. Having laid out a few fundamentals we will look at PostGIS, an open-source extension to PostgreSQL which enables support for spatial datatypes, functions, and indexes. Finally, we'll look at an example application based on the FastAPI web framework which uses features of Pydantic and SQLAlchemy + GeoAlchemy 2 to implement custom geospatial validations for inbound requests.

Tasks: