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
At the moment, addPolygons fails with an unhelpful message when the polygon has 3 dimensions, even if the 3rd dimension is all zero.
It's reasonable that addPolygons doesn't handle 3-d polygons, but it would be helpful if it detected this and generated a more helpful error message, perhaps something like:
Objects with Z or M dimensions are not supported. Retry after removing the M or Z dimension (e.g. using sf::st_zm).
At the moment,
addPolygons
fails with an unhelpful message when the polygon has 3 dimensions, even if the 3rd dimension is all zero.It's reasonable that
addPolygons
doesn't handle 3-d polygons, but it would be helpful if it detected this and generated a more helpful error message, perhaps something like:Example:
A simple 2-D Polygon renders fine:
But adding a (constant) 3rd dimension yields an error with an unhelpful message:
Of course, Explicitly removing the third dimension (e.g. using
sf::st_zm()
) resolves the issue.The text was updated successfully, but these errors were encountered: