developmentseed / lonboard

A Python library for fast, interactive geospatial vector data visualization in Jupyter.
https://developmentseed.org/lonboard/latest/
MIT License
642 stars 33 forks source link

Generic GeoArrowLayer #507

Open kylebarron opened 6 months ago

kylebarron commented 6 months ago

Top-level layer for any GeoDataFrame/GeoArrow input. For now, this will be a "container widget" that stores a sequence of ScatterplotLayer, PathLayer, and PolygonLayer. In the long run, it'll pass that data into a JS GeoArrowLayer, just like any other layer. This means we should ensure the near-term API lines up with the expected long-term JS API.

There may be space for some deduplication between viz and the GeoArrowLayer.

It's also unfortunate that the name GeoArrow doesn't have the name recognition that GeoJSON does. Perhaps we should alias this object in Python to the GeoJsonLayer as well? Where the user passes in a GeoDataFrame or a GeoJSON object and the conversion to Arrow happens under the hood?

kylebarron commented 2 months ago

cc @ncclementi ref https://github.com/developmentseed/lonboard/issues/632