-
Notifications
You must be signed in to change notification settings - Fork 369
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
Undesirable line through Antarctica when using GSHHS #146
Comments
Confirmed that this issue is still present: import cartopy.feature as cfeature
import matplotlib.pyplot as plt
import cartopy.crs as ccrs
ax = plt.axes(projection=ccrs.PlateCarree())
ax.stock_img()
ax.add_feature(cfeature.GSHHSFeature('coarse', edgecolor='red'))
plt.show() I think we should modify the milestone for this issue to 0.12.0, @pelson? |
I agree. Happy enough for this to be addressed in cartopy, but fundamentally, it is an issue with the data itself. |
For people viewing this issue, I've just been shown how to draw over the 'undesirable line' with a line of the same color as the land fill like this:
A horrible hack, but worked for me so might be useful for some |
PR #126 provides support for GSHHS coastlines. The source for this feature are shapefiles available from http://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html. When viewed in PlateCarree the combination of two geometries to form Antartica leads to a vertical line at longitude=0 though the continent. Investigate the cause of this artefact and fix it.
The text was updated successfully, but these errors were encountered: