Skip to content

Commit

Permalink
feat(*): delete column geom32198 on query or feature conversion to se…
Browse files Browse the repository at this point in the history
…arch result (#1165)
  • Loading branch information
pelord authored and cbourget committed Mar 21, 2023
1 parent b688d9a commit ce26ddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/geo/src/lib/query/shared/query.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
1 change: 1 addition & 0 deletions packages/geo/src/lib/search/shared/search.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ce26ddd

Please sign in to comment.