langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Add Geopandas.GeoDataFrame Document Loader

Open brendancol opened this issue 2 years ago • 2 comments

Work in Progress. WIP Not ready...

Adds Document Loader support for Geopandas.GeoDataFrames

Example:

  • [x] stub out GeoDataFrameLoader class
  • [x] stub out integration tests
  • [ ] Experiment with different geometry text representations
  • [ ] Verify CRS is successfully added in metadata
  • [ ] Test effectiveness of searches on geometries
  • [ ] Test with different geometry types (point, line, polygon with multi-variants).
  • [ ] Add documentation

brendancol avatar Apr 30 '23 04:04 brendancol

@brendancol this is awesome, do you have an example use case and data in mind to demo? Happy to help put together a jupyter notebook.

zzsi avatar May 19 '23 15:05 zzsi

I'd also love this feature! 👌

mwharton3 avatar May 19 '23 16:05 mwharton3

@zzsi great idea. I'm going to carve out some time this week to experiment with this document loader.

For tracking purposes:

  • [ ] Add Jupyter notebook example using default geopandas datasets

brendancol avatar May 22 '23 18:05 brendancol

I've used Geopandas in the past and am a fan! Can help get this in.

Looks like we need a notebook.

rlancemartin avatar Jul 18 '23 02:07 rlancemartin

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Jul 19, 2023 7:06pm

vercel[bot] avatar Jul 18 '23 16:07 vercel[bot]

Added example notebook that shows how to create geopandas DF and then load it.

A use-case example showing chat over structured data that includes lat, lng would be fun.

image

rlancemartin avatar Jul 18 '23 16:07 rlancemartin