You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using cartopy.feature.GSHHSFeature() for plotting higher resolution coastlines, part of the Delaware River in New Jersey (and other rivers, i.e. NY, Chesapeake Bay) are missing in the map (below). The rivers are accurately depicted using cartopy.feature.NaturalEarthFeature() (line commented out in the code below, map below).
I'm getting the warnings noted in issue #1659, but no other warnings or errors:
"Possible issue encountered when converting Shape # 95 to GeoJSON: Shapefile format requires that polygons contain at least one exterior ring, but the Shape was entirely made up of interior holes (defined by counter-clockwise orientation in the shapefile format). The rings were still included but were encoded as GeoJSON exterior rings instead of holes."
@lgarzio Looks like the Delaware river polygon may have been fixed in the underlying GSHHS dataset? That said, when running your example there are still a few shapefile errors, so it's still probably not perfect everywhere.
Description
When using cartopy.feature.GSHHSFeature() for plotting higher resolution coastlines, part of the Delaware River in New Jersey (and other rivers, i.e. NY, Chesapeake Bay) are missing in the map (below). The rivers are accurately depicted using cartopy.feature.NaturalEarthFeature() (line commented out in the code below, map below).
I'm getting the warnings noted in issue #1659, but no other warnings or errors:
"Possible issue encountered when converting Shape # 95 to GeoJSON: Shapefile format requires that polygons contain at least one exterior ring, but the Shape was entirely made up of interior holes (defined by counter-clockwise orientation in the shapefile format). The rings were still included but were encoded as GeoJSON exterior rings instead of holes."
Code to reproduce
Packages
cartopy 0.20.3
matplotlib 3.5.2
pyshp 2.3.0
scipy 1.8.1
shapely 1.8.2
Example plots
GSHHSFeature()
NaturalEarthFeature()
The text was updated successfully, but these errors were encountered: