feat(parcel-sync): include no-geometry rows in Magic GPKG + HAS_GEOMETRY column
- Magic GPKG (terenuri_magic.gpkg) now contains ALL records: rows with geometry render as polygons, rows without have null geom but still carry all attribute/enrichment data (QGIS shows them fine) - Added HAS_GEOMETRY column to Magic GPKG fields (0 or 1) - GPKG builder now supports includeNullGeometry option: splits features into spatial-first (creates table), then appends null-geom rows - Base terenuri.gpkg / cladiri.gpkg unchanged (spatial only) - CSV still has all records as before - GeoJsonFeature type now allows null geometry - Reproject: null geometry guard added - UI text updated: no longer says 'Nu apar in GPKG'
This commit is contained in:
@@ -13,7 +13,7 @@ export type GeoJsonMultiPolygon = {
|
||||
export type GeoJsonFeature = {
|
||||
type: "Feature";
|
||||
properties: Record<string, unknown>;
|
||||
geometry: GeoJsonPolygon | GeoJsonMultiPolygon;
|
||||
geometry: GeoJsonPolygon | GeoJsonMultiPolygon | null;
|
||||
};
|
||||
|
||||
export type GeoJsonFeatureCollection = {
|
||||
|
||||
Reference in New Issue
Block a user