Skip to content

Commit

Permalink
fix: remove id from the conflated geojson (#1735)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sujanadh authored Aug 6, 2024
1 parent a10c78a commit ba60616
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/backend/app/db/postgis_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,6 @@ def conflate_features(

updated_input_feature = {
"type": input_feature["type"],
"id": input_feature["properties"]["xid"],
"geometry": input_feature["geometry"],
"properties": {
**input_feature["properties"],
Expand All @@ -916,7 +915,6 @@ def conflate_features(
if overlap_percent < 90:
corresponding_feature = {
"type": "Feature",
"id": osm_feature["properties"].pop("osm_id"),
"geometry": mapping(osm_geometry),
"properties": osm_feature["properties"],
}
Expand Down

0 comments on commit ba60616

Please sign in to comment.