We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Expected:
>> from shapely.geometry import LineString >> geometry_3d = LineString(((0, 0, 1), (10, 0, 2))) >> list(geometry_3d.buffer(2, cap_style=2).exterior.coords) [(10.0, 2.0, 2.0), (10.0, -2.0, 2.0), (0.0, -2.0, 1.0), (0.0, 2.0, 1.0), (10.0, 2.0, 2.0)]
Current behavior:
>> from shapely.geometry import LineString >> geometry_3d = LineString(((0, 0, 1), (10, 0, 2))) >> list(geometry_3d.buffer(2, cap_style=2).exterior.coords) [(10.0, 2.0), (10.0, -2.0), (0.0, -2.0), (0.0, 2.0), (10.0, 2.0)]
Create polygons with 3D coordinates and use buffer() on it. The Z coordinates are not computed.
buffer()
macOS 10.15.3
1.7.0 installed from PyPI using pip
The text was updated successfully, but these errors were encountered:
fdbc34e
@jrobichaud this is a known issue. I've added a new entry to the FAQ about this: https://github.com/Toblerity/Shapely/blob/master/FAQ.rst#i-used-buffer-on-a-geometry-with-z-coordinates-where-did-the-z-coordinates-go.
Sorry, something went wrong.
I think it would be appropriate to document this on the buffer function documentation?
buffer
Done in 016d736.
No branches or pull requests
Expected behavior and actual behavior.
Expected:
Current behavior:
Steps to reproduce the problem.
Create polygons with 3D coordinates and use
buffer()
on it. The Z coordinates are not computed.Operating system
macOS 10.15.3
Shapely version and provenance
1.7.0 installed from PyPI using pip
The text was updated successfully, but these errors were encountered: