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

Feature geometry should be constrained to Geometry type #57

Open
jasonCodesAway opened this issue Aug 3, 2020 · 0 comments
Open

Feature geometry should be constrained to Geometry type #57

jasonCodesAway opened this issue Aug 3, 2020 · 0 comments

Comments

@jasonCodesAway
Copy link

Currently Feature.java has a private GeoJsonObject geometry;. This type should instead be private Geometry geometry; per section 3.2 of the geojson spec:

A Feature object has a member with the name "geometry". The value of the geometry member SHALL be either a Geometry object as defined above or, in the case that the Feature is unlocated, a JSON null value.

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

1 participant