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

Georeferencer crashes QGIS when chosing an invalid input layer #47586

Closed
2 tasks done
pjkrause opened this issue Mar 1, 2022 · 8 comments
Closed
2 tasks done

Georeferencer crashes QGIS when chosing an invalid input layer #47586

pjkrause opened this issue Mar 1, 2022 · 8 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Georeferencer stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@pjkrause
Copy link

pjkrause commented Mar 1, 2022

What is the bug or the crash?

I am trying to use QGIS to georeference a CAD file. I open Raster/Georeferencer and then click on the Open Raster icon. The first time I tried this it warned me that it would only accept DWG R2000 [ACAD1015]. So my colleague has exported from AutoCAD in DWG R2000.

However, as soon as I select this file and click Open, QGIS crashes. I don't believe there is an issue with the file as it opens fine in ArcGIS.

I tried this in 3.22 first and then upgraded to QGIS 3.24. However, I get the same response. Sincere apologies if I am making a newbie error but if there is an issue with the file I should at least see a warning message?

Steps to reproduce the issue

Open a project and set an Open Street Map base layer:
Double click XYZ Tiles/OpenStreetMap
Set project CRS to EPSG:3587
Zoom to WSG84 (-0.473945,51.313339)
Select Raster/Georeferencer
Click Open Raster icon
Select attached file and click "Open"
QGIS crashes at this point with no warnings.

The file I am trying to geolocate can be downloaded from here:
https://www.dropbox.com/s/7cz0ptxdcw4vsox/Wisley%20Site%20R2000.dwg?dl=0

Versions

3.22 and 3.24

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@pjkrause pjkrause added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Mar 1, 2022
@gioman
Copy link
Contributor

gioman commented Mar 1, 2022

@pjkrause vector georeferencing is being added to qgis, but not yet available on current releases. Will be soon on master. Also due to the proprietary nature of DWG is unlikely you will be able to georef directly a DWG, you will likely need to import it before in qgis using the proper tool.

@gioman
Copy link
Contributor

gioman commented Mar 1, 2022

That said, qgis georef should not crash at selecting an invalid layer.

@gioman gioman changed the title QGIS crashes when loading DWG file in Georeferencer Georeferencer crashes QGIS when chosing an invalid input layer Mar 1, 2022
@pjkrause
Copy link
Author

pjkrause commented Mar 1, 2022

OK, I will leave this with you under the changed title. I will leave the DWG file available in DropBox (link in my original Steps) in case you need it to reproduce the issue. Yes, I see importing DWG even using the proper tool is a bit tricky. Importing from DXF seems to work better. Many thanks for looking at this.

@gioman
Copy link
Contributor

gioman commented Mar 1, 2022

Yes, I see importing DWG even using the proper tool is a bit tricky

@pjkrause it is, but is not QGIS fault, is the format that sucks.

@pjkrause
Copy link
Author

pjkrause commented Mar 1, 2022

@gioman Yes indeed - I certainly didn't mean any criticism of QGIS for that!

@alexbruy
Copy link
Contributor

Is this still an issue? Linked file is no longer available.

@alexbruy alexbruy added the Feedback Waiting on the submitter for answers label Oct 20, 2023
Copy link

github-actions bot commented Nov 4, 2023

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Nov 4, 2023
Copy link

github-actions bot commented Dec 2, 2023

While we hate to see this happen, this issue has been automatically closed because it has not had any activity in the last 42 days despite being marked as feedback. If this issue should be reconsidered, please follow the guidelines in the previous comment and reopen this issue.
Or, if you have any further questions, there are also further support channels that can help you.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Feedback Waiting on the submitter for answers Georeferencer stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

3 participants