-
Notifications
You must be signed in to change notification settings - Fork 0
04 Advanced Track Python PostGIS
sosimple83 edited this page Sep 2, 2026
·
2 revisions
# 📕 04. Advanced Track (Python & PostGIS)
Für Coder, automatisierte Pipelines und Abschlussarbeiten.
### Quickstart mit GeoPandas
```python
import geopandas as gpd
# Lokale Daten laden
gdf_alkis = gpd.read_file("data/mainz/mainz_base.gpkg", layer="alkis_flurstuecke")
gdf_parking = gpd.read_file("data/mainz/mainz_base.gpkg", layer="osm_graues_band_parkplaetze")
# Öffentlichen Grund filtern
public_land = gdf_alkis[gdf_alkis["t_eigentuemer"].str.contains("Kommune|Stadt|Land", case=False, na=False)]
# Verschneidung (Intersection)
potential_areas = gpd.overlay(gdf_parking, public_land, how="intersection")
potential_areas["flaeche_m2"] = potential_areas.geometry.area
print(f"Gefundene Potenzialfläche: {potential_areas['flaeche_m2'].sum():,.0f} m²")- 01-Starter-Setup-Offline-Export
- 02-MCE-Filter-und-Verschneidungs-Spickzettel
- 03-Streamlit-Pitch-Viewer
- 04-Advanced-Track-Python-PostGIS
Tobey GIS Consulting & GDI Community