Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Support GeoJSON networks with feature.id or feature.properties.id
Geojson spec is unclear on where the ID should go. - Section 3 says if there is a general ID, it "should" go in the top level of the feature itself, ie. feature.id https://datatracker.ietf.org/doc/html/rfc7946#section-6 - Section 6 says that all properties of the feature should go in the "properties" object and putting anything outside of the geometry or properties will cause interoperability problems https://datatracker.ietf.org/doc/html/rfc7946#section-6 Thus we will look in both places.
- Loading branch information