Closed ttomasz closed 1 year ago
GeoJSON spec allows "geometry": null but I encountered file where the author just skipped geometry attribute altogether.
"geometry": null
geometry
Jackson parses that to node = null. Current check expects node object with method isNull so it throws NullPointerException.
I think that should be handled gracefully by just assuming missing geometry == geometry: null even though that's not covered by the spec.
Seems sensible, thanks!
GeoJSON spec allows
"geometry": null
but I encountered file where the author just skippedgeometry
attribute altogether.Jackson parses that to node = null. Current check expects node object with method isNull so it throws NullPointerException.
I think that should be handled gracefully by just assuming missing geometry == geometry: null even though that's not covered by the spec.