Skip to content

geojson: don't error on nil geometry#58

Merged
paulmach merged 1 commit intomasterfrom
nil-geometry
Jan 16, 2021
Merged

geojson: don't error on nil geometry#58
paulmach merged 1 commit intomasterfrom
nil-geometry

Conversation

@paulmach
Copy link
Copy Markdown
Owner

As discussed in #38 (comment)

nil/missing Geometry in a GeoJSON is valid according to the spec https://tools.ietf.org/html/rfc7946#section-3.2

This will change behavior as previous it would fail, now it just silently continues.

@paulmach paulmach merged commit c6d2869 into master Jan 16, 2021
@paulmach paulmach deleted the nil-geometry branch January 16, 2021 23:32
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

Successfully merging this pull request may close these issues.

1 participant