Skip to content

Spatial vector data support for dataframe Visualize, Explore, Export #9736

@p-vdp

Description

@p-vdp

Description

marimo already has limited support for spatial data (and I'm aware of lonboard and other libraries for visualization) but it's not quite there. When working with a GeoPandas GeoDataFrame, for example, I would love to be able to interact with the data via marimo's built-in dataframe widgets.

  • Visualize: let me plot the geometry by adding a "Map" or "Geometry" chart to Line, Bar, Scatter, etc.
  • Explore: let me walk through each row's geometry and toggle to the raw WKT value
  • Export: let me export to the "geo" versions of the standard formats: GeoJSON, GeoParquet (and anything else you can throw in)

Here's a notebook where you can see how the UX isn't ideal where working with a spatial dataset: https://molab.marimo.io/notebooks/nb_mg6VRrxMKBsPrZvf1QrEDd

(Raster data is a whole other can of worms, but it would be great to see native support for that too.)

Are you willing to submit a PR? (You must receive approval from the team before submitting a PR.)

  • Yes

Alternatives

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions