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

Rendering Issue with Empty MultiLineString in GeoJSON #873

Open
DaanJG opened this issue Jan 15, 2024 · 0 comments
Open

Rendering Issue with Empty MultiLineString in GeoJSON #873

DaanJG opened this issue Jan 15, 2024 · 0 comments

Comments

@DaanJG
Copy link

DaanJG commented Jan 15, 2024

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.)

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