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
Hi,
shapefile_utils export fails with disu export when angledegx.array is None
If angledegx.array is None then function model_attributes_to_shapefile() will fail in the attribute grab loop when it tests for the array shape.
This is presently line 307 in the shapefile_utils.py file develop branch online. It is line 284 in the same file used in the release version 3.3.6
I got it working with the following starting at line 305 in dev branch online (same as line 281 in release 3.3.6)
if ( a.data_type == DataType.array2d # original code and a.array is not None # I added this and a.array.shape == horz_shape # original code ):
Hope that helps, Tariq
The text was updated successfully, but these errors were encountered:
wpbonelli
Successfully merging a pull request may close this issue.
Hi,
shapefile_utils export fails with disu export when angledegx.array is None
If angledegx.array is None then function model_attributes_to_shapefile() will fail in the attribute grab loop when it tests for the array shape.
This is presently line 307 in the shapefile_utils.py file develop branch online.
It is line 284 in the same file used in the release version 3.3.6
I got it working with the following starting at line 305 in dev branch online (same as line 281 in release 3.3.6)
if (
a.data_type == DataType.array2d # original code
and a.array is not None # I added this
and a.array.shape == horz_shape # original code
):
Hope that helps,
Tariq
The text was updated successfully, but these errors were encountered: