-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add __getitem__ and __setitem__ to provide direct access to coordinates #80
Comments
You should also be able to do |
Yes, I noticed that. It's a bit better. My data model has a "position" attribute which is a
which I'd happily simplify into
This is not really a big deal, and I guess I could monkey patch geojson geometries or just live with it. |
There can be other properties on a |
Fair enough. I thought Sorry for the noise. |
All good, no worries! Definitely a good idea that was worth considering :) |
Assuming
If would be convenient to be able to write
rather than
Is this something you would consider?
I can send a PR.
The text was updated successfully, but these errors were encountered: