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.
Parsing a Geojson with null geometry throws a NullPointerException which should be processed per the RFC.
"""{"type":"Feature","geometry":null,"properties":{"test":1}}"""
Steps to reproduce current behaviour:
val json = """{"type":"Feature","geometry":null,"properties":{"test":1}}"""
GeoJSONFactory.create(json)
RFC7946 3.2 reads
Parsing a Geojson with null geometry throws a NullPointerException which should be processed per the RFC.
"""{"type":"Feature","geometry":null,"properties":{"test":1}}"""
Steps to reproduce current behaviour: