Skip to content

Commit ab485b4

Browse files
authored
Merge pull request #10 from LimnoTech/prevent-id-removal
Fix id being dropped from properties
2 parents 5620931 + 56e3a59 commit ab485b4

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pygeoapi/provider/sql.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,6 @@ def _sqlalchemy_to_feature(self, item, crs_transform_out=None,
487487
if key in item_dict:
488488
feature['properties'][key] = item_dict[key]
489489

490-
feature['properties'].pop(self.id_field, None)
491-
492490
return feature
493491

494492
def _feature_to_sqlalchemy(self, json_data, identifier=None):

0 commit comments

Comments
 (0)