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

Support unmarshalling name in featureCollection #42

Closed
Sanjay126 opened this issue Feb 5, 2020 · 3 comments
Closed

Support unmarshalling name in featureCollection #42

Sanjay126 opened this issue Feb 5, 2020 · 3 comments

Comments

@Sanjay126
Copy link

Please add a name field in FeatureCollection struct so that we can use that data as well.

@paulmach
Copy link
Owner

Is the part of the geojson spec? I don't see it https://tools.ietf.org/html/rfc7946

I've been reluctant with adding other properties because it seems everyone uses their own. I'm not sure how to handle this cleanly in go.

@paulmach
Copy link
Owner

paulmach commented Jan 7, 2021

I have a PR to address this by adding an ExtraMembers map to the feature collection where all these extras will be unmarshalled to. See #56 for all the details.

@paulmach
Copy link
Owner

I hope this if finally solved by #56 and is in the recently tagged v0.2

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