Closed JesseCrocker closed 4 years ago
Shell is not a LinearRing
That means your geopandas isn't correctly installed https://github.com/geopandas/geopandas/issues/556
I think if you can reproduce the exception without seeing any Shell is not a LinearRing
errors, then it's a bug
FYI I'm able to run the command without errors Oops, spoke too soon, but I get a different error than you
It is expected that you see these errors (I should quiet them):
/Users/kyle/github/mapping/landsat-cogeo-mosaic/landsat_cogeo_mosaic/index.py:94: UserWarning: Geometry is in a geographic CRS. Results from 'area' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
As part of the index creation I compute the relative areas of intersecting landsat scenes, and it's fine for these purposes to do this in a geographic CRS
Maybe the most recent release of geopandas broke .intersection
with a geographic CRS... anyways it works for me now and should be fixed on master.
Try with
pip install git+https://github.com/kylebarron/landsat-cogeo-mosaic
Got it working, thanks for the help. For reference, here's what i did:
virtualenv $@
source $@/bin/activate
pip3 install numpy
pip3 install --no-binary :all: shapely
pip3 install geopandas keplergl_cli
pip3 install 'git+https://github.com/kylebarron/landsat-cogeo-mosaic'
I'm trying to run
Using the latest geopands, 0.8.1 it fails with the following error
Using geopandas 0.7.0 it fails with a different error
Both produces thousands of lines of