Skip to content
New issue

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

Error with chordal axis #22

Open
jamiedtor opened this issue Feb 6, 2024 · 0 comments
Open

Error with chordal axis #22

jamiedtor opened this issue Feb 6, 2024 · 0 comments

Comments

@jamiedtor
Copy link

When running the chordal axis plug in, I receive a Python error:

plugins\geo_sim_processing\chordal_axis_algorithm.py", line 201, in processAlgorithm
for line in centre_lines:
UnboundLocalError: local variable 'centre_lines' referenced before assignment

Is this a problem with the script included in the plug-in or is this something that relates to my configuration? The full message is below:

QGIS version: 3.22.15-Białowieża
QGIS code revision: ef17ad14
Qt version: 5.15.3
Python version: 3.9.5
GDAL version: 3.6.2
GEOS version: 3.11.1-CAPI-1.17.1
PROJ version: Rel. 9.1.1, December 1st, 2022
PDAL version: 2.4.3 (git-version: f8d673)
Algorithm started at: 2024-02-06T16:01:40
Algorithm 'Chordal axis' starting…
Input parameters:
{ 'CORRECTION' : True, 'INPUT' : 'J:/TOR/250000/258880-00/4 Internal Project Data/4-06 GIS/Shapefiles/ROW Analysis/row_polygon.shp', 'OUTPUT' : 'TEMPORARY_OUTPUT', 'TRIANGLES' : 'TEMPORARY_OUTPUT' }

Results: {'OUTPUT': 'output_e20279bd_049b_4fa9_9934_0acc3ecf9564'}
Results: {'OUTPUT': 'output_0c77cf2f_9bb8_441f_a31b_6de5f58f07e7'}
Results: {'OUTPUT': 'output_833b3b1e_4141_4968_aa6c_b7db6566d490'}
Results: {'OUTPUT': 'output_e62ec50b_c2e3_4b74_8102_e94e2b920ef1'}
Results: {'OUTPUT': 'output_4c54a967_4f4f_44d2_8004_c8d31e036155'}
Results: {'OUTPUT': 'output_07f8d0a4_129a_4180_8803_db4c46fb4174'}
Results: {'OUTPUT': 'output_5765038c_4ccb_49fb_8036_dad3220c5253'}
Results: {'OUTPUT': 'output_e2c3d685_36aa_49ee_b37a_3052e8c30178'}
Results: {'OUTPUT': 'output_b3660238_3af4_4c2f_bfdc_d8765e04d233'}
Results: {'OUTPUT': 'output_5f590703_a9bb_46d9_bdfa_c49484c5d0f7'}
Results: {'OUTPUT': 'output_efdee64e_7481_4daf_8503_20722656dc0d'}
Results: {'OUTPUT': 'output_559b3372_9adc_4f98_a7ea_d830a1b2eb6e'}
Results: {'OUTPUT': 'output_833d58d5_7f71_4d17_bb66_3446c2585580'}
Results: {'OUTPUT': 'output_aad2a198_7803_441f_b463_bb8a604607e8'}
Results: {'OUTPUT': 'output_f7f2e563_017d_425f_97c6_d3973bb087e0'}
Results: {'OUTPUT': 'output_8933dd3d_05fc_42a1_902f_416e9e40d08f'}
Results: {'OUTPUT': 'output_3f54b0e0_5619_49ad_bbff_01ff551eaaff'}
Results: {'OUTPUT': 'output_ea8142f9_ddea_4dde_94b6_22eb4d71a93d'}
Results: {'OUTPUT': 'output_66172e3f_e4b7_438d_bdbc_3ef826f68831'}
Results: {'OUTPUT': 'output_d1e7a355_f725_423d_a340_e794f1a6c5c8'}
Results: {'OUTPUT': 'output_1dadbf8a_cbff_44d2_bb2a_9fb88bf16c67'}
Results: {'OUTPUT': 'output_df8edb70_98f3_44c5_ac63_46a70aecf1e2'}
Results: {'OUTPUT': 'output_796e9004_cfc6_4b6b_ae7b_02f7e0a287d2'}
Results: {'OUTPUT': 'output_680879b0_b010_47bc_bfe9_f86b75fdf233'}
Results: {'OUTPUT': 'output_d079f726_7c4b_425e_936e_5bfb74514ab0'}
Results: {'OUTPUT': 'output_42d3b7bf_3160_4806_ae76_34e01b84284f'}
Results: {'OUTPUT': 'output_43c336a7_1d8a_4cb4_854f_a1b21c05227d'}
Results: {'OUTPUT': 'output_0dfbc834_7691_4b27_b54f_dea1f5801ffe'}
Results: {'OUTPUT': 'output_9e2c14de_6a99_46cd_8beb_992af2b45555'}
Results: {'OUTPUT': 'output_74fa5d96_9508_4451_9da1_351affcb0194'}
Results: {'OUTPUT': 'output_afd9469e_3e84_4bda_bd58_3aa515123b15'}
Results: {'OUTPUT': 'output_16c5221f_0efb_4efa_a457_4fadc568d304'}
Results: {'OUTPUT': 'output_ac04247a_5c49_4971_a18d_4097006667fd'}
Traceback (most recent call last):
File "C:\Users/jXXXXX/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\geo_sim_processing\chordal_axis_algorithm.py", line 201, in processAlgorithm
for line in centre_lines:
UnboundLocalError: local variable 'centre_lines' referenced before assignment

Execution failed after 0.85 seconds

Loading resulting layers
Algorithm 'Chordal axis' finished

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant