-
Notifications
You must be signed in to change notification settings - Fork 2
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
Various failures in QGIS 3.12 #1
Comments
@imajic-unimelb wondering if you could look into this in the next few weeks? We'd like to use this plugin for teaching in Semester 2. |
Hi @atlight , thank you for reporting these issues and documenting them nicely. I am planning to investigate these soon, certainly before the start of Semester 2. |
Hi @atlight , thank you again for noticing and raising these issues and for your patience. Albury datasetThe issues, in this case, were caused by the unexpected format of the input blocks layer. You have used land parcel data and I had not anticipated that before. I would expect that all polygons would represent single building blocks, meaning that touching land parcels in your case would be dissolved (please see the attached GeoPackage for example). I have now added a few steps that take care of cases where input polygons are touching each other and then proceed with IC calculation. Carlton datasetThere was an issue with one of the processing algorithms I use in IC calculation when calculating "sum($length)" for all of the resulting IC lines. This seems to be a known bug (https://gis.stackexchange.com/questions/299577/qgis-sum-line-lengths-return-nan) and in your case #2 the length of one line was always calculated as "nan" which failed the rest of the plugin. This is fixed now. For the case #3, I did not find any issues but it just took quite long to calculate IC for 400 m walking radius (approx. 35 minutes). What I have noticed with your input blocks for Carlton is that you have many vertices in your geometries that seem unnecessary. Attachment atlight_IC_blocks.zip Plugin updateI have submitted the updated version of the plugin to QGIS repository, but it might be a few days until it is reviewed. Once it goes through, you will be able to upgrade to version 1.3 where these fixes are implemented. P.S. I have noticed you reproject the blocks and the starting point layers before running IC. The plugin itself reprojects both layers into the current project CRS. I might have to add a note for that in the UI to make people aware but just wanted to let you know that it is already done behind the scenes. |
Thanks for looking into the issues and for the detailed analysis. If I recall correctly, the parcel data was taken more or less directly from the respective State Government spatial data services, so I am not too sure what is going on with the vertices etc. It didn't occur to me to dissolve the blocks before use - thank you for incorporating a step to do this. I believe the AwaP plugin already included this step, so it is good that there is now consistency across the two tools. I will keep in mind your comment about simplification as well. That sounds like a useful preparatory step for geometrically messy parcel data. Once again I really appreciate your work to look into this! |
The data is in this GeoPackage:
IC plugin bug.zip
Albury dataset
Note: this dataset should be in MGA Zone 55. Reproject the data to EPSG:28355 before trying.
Blocks layer: Albury blocks - reprojected temporary layer
Dead-end removal: NO
Starting point layer; Albury startingpoint - reprojected temporary layer
Max walking distance: 200 m
--> succeeds
Blocks layer: Albury blocks - reprojected temporary layer
Dead-end removal: YES, 40 m
Starting point layer: Albury startingpoint - reprojected temporary layer
Max walking distance: 200 m
--> fails with following error:
Blocks layer: Albury blocks - reprojected temporary layer
Dead-end removal: YES, 40 m
Starting point layer: Albury startingpoint - reprojected temporary layer
Max walking distance: 280 m
--> QGIS hangs
Carlton dataset
Blocks layer: Carlton blocks
Dead-end removal: NO
Starting point layer; Carlton startingpoint
Max walking distance: 200 m
--> succeeds
Blocks layer: Carlton blocks
Dead-end removal: YES, 40 m
Starting point layer; Carlton startingpoint
Max walking distance: 250 m
--> succeeds
Blocks layer: Carlton blocks
Dead-end removal: YES, 40 m
Starting point layer; Carlton startingpoint
Max walking distance: 200 m
--> fails with following error:
Blocks layer: Carlton blocks
Dead-end removal: YES, 40 m
Starting point layer; Carlton startingpoint
Max walking distance: 400 m
--> QGIS hangs
Version info
The text was updated successfully, but these errors were encountered: