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
I tracked down the issue to an error when writing PointZ files and computing the header extents and writing the geometry. The code was trying to write the "M" values to the shapefile but these values do not exist for PointZ shapefiles. Also there was an issue with computing the header max Z value. I tried to push a fix to github but was denied, probably because I'm new and don't know what I'm doing. But you can download a patch file and my changes to mod.rs here:
Hi,
I have an issue using the "Clip" command on PointZ files. Here's the commandline:
.\whitebox_tools.exe --run="Clip" --input='C:\temp\whitebox_test\input_ptz.shp' --clip='C:\temp\whitebox_test\clip_poly.shp' --output='C:\temp\whitebox_test\clipped_points_out.shp' -v
The test files are located here:
shapefile.zip
I tracked down the issue to an error when writing PointZ files and computing the header extents and writing the geometry. The code was trying to write the "M" values to the shapefile but these values do not exist for PointZ shapefiles. Also there was an issue with computing the header max Z value. I tried to push a fix to github but was denied, probably because I'm new and don't know what I'm doing. But you can download a patch file and my changes to mod.rs here:
whitebox_test.zip
Let me know if you have any questions.
Thanks,
Chris
The text was updated successfully, but these errors were encountered: