PostGIS Knowledge Patch provides critical, up-to-date guidance for database administrators and geospatial developers managing PostGIS upgrades, spatial SQL refactoring, and schema adjustments. It bridges the gap between static LLM training data and modern PostGIS 3.6+ releases by detailing signature replacements in functions like ST_AsGeoJSON and ST_Clip, topology corruption repair routines, SFCGAL namespace transitions, and new processing APIs such as ST_CoverageClean. This skill is indispensable when executing database migrations, diagnosing raster and GDAL driver behaviors, or modernizing spatial geometry queries to ensure backward compatibility and prevent silent data issues.
主要功能
01Audit and fix breaking function signature changes across views and materialized views
02Diagnose raster-driver behavior with GDAL CPL debugging and handle touched-pixel clipping
03Implement modern spatial APIs including ST_CoverageClean and SFCGAL CG_ prefix functions
04Identify behavioral shifts in geometry inequality, relate matrices, and TIN surface accessors
0526 GitHub stars
06Resolve TopoGeometry column corruption and manage Tiger geocoder search path changes
使用场景
01Refactoring spatial queries to adopt new RelateNG semantics and coverage cleaning operations
02Diagnosing and repairing broken TopoGeometry layers after extension version updates
03Upgrading legacy PostGIS installations to 3.6+ across multiple PostgreSQL databases