-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gv.Polygons (default)PlateCarree IndexError #577
Comments
I think you get an IndexError because your data is projected coordinates with a geographic coordinates system. Your solution of setting When #581 is merged, the error will be better. |
ALL software version info
python == 3.9.13
geoviews == 1.9.5
holoviews == 1.14.8
shapely == 1.8.2
cartopy == 0.20.3
bokeh == 2.4.2
matplotlib == 3.5.1
Description of expected behavior and the observed behavior
In attempting to plot a geometry from a shape file from the census.gov repo, I'm experiencing errors when using the default crs argument(Plate Carree) of gv.Polygons.
The same error persists when assigning Plate Carree as the crs to use with hvplot, when changing the plotting backend from bokeh to matplotlib, and when changing the crs with geopandas(to_crs).
Other crs projections do appear to work when set in the plotting function, such as Mercator, GOOGLE_MERCATOR, and EckertII, and default hvplot method.
Complete, minimal, self-contained example code that reproduces the issue
From Notebook:
IndexError
test_geo.zip
gv.Polygons with Mercator crs:
The text was updated successfully, but these errors were encountered: