plotly / plotly.js

Open-source JavaScript charting library behind Plotly and Dash
https://plotly.com/javascript/
MIT License
16.85k stars 1.85k forks source link

add support for other GeoJson types (LineString, MultiLineString) #6446

Open jacksongoode opened 1 year ago

jacksongoode commented 1 year ago

From: Screen Shot 2023-01-24 at 10.40.45 AM

Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometries of type "Polygon" or "MultiPolygon".

I see a few references to LineString and MultiLineString here but I'm uncertain if they are actually support or if the docs are old?

Here is a CodePen that should work if this feature was supported.

gvwilson commented 2 months ago

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

jacksongoode commented 2 months ago

This is still an issue and is an unsupported subset of GeoJson. I would consider this a valid issue.

gvwilson commented 2 months ago

thanks @jacksongoode - I've added it to our backlog, but I don't think we'll be able to get to it any time soon :-(