# Codex Phase 4 Prompt — Raster and Vector Core Read all M0/M1 docs first. Implement the first real geospatial processing layer. ## Goals - Raster metadata extraction service. - Vector metadata extraction service. - Vector GeoJSON import into PostGIS. - Area clipping for vector fixtures. - Building stats analyzer using vector polygons. ## Requirements - Use Rasterio for raster metadata when available. - Use GeoPandas/Shapely for vector processing. - Preserve CRS metadata. - Return `unsupported_dataset_type` for unsupported files. - Add tests with small fixtures. ## Done when - Backend tests pass. - Project/area/dataset flows still work. - A vector fixture can be registered/imported and analyzed. - Docs/log updated.