From ce26ddd7ca51cb5d2e8b784a5b96a1bb2d15d389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-=C3=89tienne=20Lord?= <7397743+pelord@users.noreply.github.com> Date: Wed, 18 Jan 2023 12:05:49 -0500 Subject: [PATCH] feat(*): delete column geom32198 on query or feature conversion to search result (#1165) --- packages/geo/src/lib/query/shared/query.service.ts | 1 + packages/geo/src/lib/search/shared/search.utils.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/geo/src/lib/query/shared/query.service.ts b/packages/geo/src/lib/query/shared/query.service.ts index 73d9095af2..d148e74b88 100644 --- a/packages/geo/src/lib/query/shared/query.service.ts +++ b/packages/geo/src/lib/query/shared/query.service.ts @@ -572,6 +572,7 @@ export class QueryService { delete properties.SHAPE_P; delete properties.the_geom; delete properties.geom; + delete properties.geom32198; let geometry; if (featureGeometry) { diff --git a/packages/geo/src/lib/search/shared/search.utils.ts b/packages/geo/src/lib/search/shared/search.utils.ts index 0d99ceda47..46e4bb3713 100644 --- a/packages/geo/src/lib/search/shared/search.utils.ts +++ b/packages/geo/src/lib/search/shared/search.utils.ts @@ -52,6 +52,7 @@ export function featureToSearchResult( delete feature.properties.SHAPE_P; delete feature.properties.the_geom; delete feature.properties.geom; + delete feature.properties.geom32198; } feature.sourceId = source.getId(); return {