You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading a GeoJSON with an empty MultiLineString geometry into geojson.io, subsequent valid geometries were not rendered. However, these geometries rendered correctly when the empty MultiLineString was removed. This behaviour seems inconsistent with the GeoJSON specification.
When loading a GeoJSON with an empty MultiLineString geometry into geojson.io, subsequent valid geometries were not rendered. However, these geometries rendered correctly when the empty MultiLineString was removed. This behaviour seems inconsistent with the GeoJSON specification.
Relevant Standard Excerpt (RFC 7946, https://datatracker.ietf.org/doc/html/rfc7946):
"GeoJSON processors MAY interpret Geometry objects with empty 'coordinates' arrays as null objects."
What ever way they are interpreted, it's seems logical to just plot nothing and move on.
(An empty coordinates array arises naturally from code that doesn't yield certain results.)
The text was updated successfully, but these errors were encountered: