Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ExtraMember concept but for GeoJSON Features #146

Open
jjcfrancisco opened this issue Apr 4, 2024 · 2 comments
Open

ExtraMember concept but for GeoJSON Features #146

jjcfrancisco opened this issue Apr 4, 2024 · 2 comments

Comments

@jjcfrancisco
Copy link

It would be great to be able to have ExtraMember concept for a GeoJSON feature. This is also in line with the GeoJSON specification https://www.rfc-editor.org/rfc/rfc7946#section-5.

@paulmach
Copy link
Owner

paulmach commented Apr 6, 2024

Is "Foreign/extra members in a feature collection" not what you need?

https://github.com/paulmach/orb/tree/master/geojson#foreignextra-members-in-a-feature-collection

@jjcfrancisco
Copy link
Author

Thanks for the quick response. I meant at the Feature level so I could end up with a GeoJSON like this (note the new key myNewFeature):

{ "type": "FeatureCollection",
  "generator": "myapp",
  "timestamp": "2020-06-15T01:02:03Z",
  "features": [
    { "type": "Feature",
      "myNewFeature": "blah",
      "geometry": {"type": "Point", "coordinates": [102.0, 0.5]},
      "properties": {"prop0": "value0"}
    }
  ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants