Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Transformed boundary calculation for PlateCarree is wrong #258

pelson opened this Issue Apr 5, 2013 · 1 comment


None yet
1 participant

pelson commented Apr 5, 2013

I would expect a MultiPolygon instance from the following, instead it is a linestring which is incorrect:

>>> import cartopy.crs as ccrs
>>> src = ccrs.PlateCarree()
>>> target = ccrs.PlateCarree(central_longitude=180)
>>> print target.project_geometry(src.boundary, src)
MULTILINESTRING ((-0.0000000000555707 89.9998283386230469, -0.0000000000555707 -89.9998283387867559, 0.0000000000554689 89.9998283387867559))

pelson commented Sep 3, 2013

Sorry Jekyll, I don't agree. The boundary is currently defined as a LineString. That is its definition.

Regards, Hyde.

@pelson pelson closed this Sep 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment