-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Forward transform fallback error #45073
Comments
@kobusburger cannot replicate.
have you really tested with a new QGIS profile and no 3rd party plugins installed? |
I tried with a new profile with o plugins and restarted my laptop and got the same result. |
@kobusburger then there is something else at play, bacause just adding the layer to a blank project is not enough to replicate. |
I can replicate the issue on Windows 10 with QGIS 3.20.3 and QGIS 3.16.11 (v1 and v2 OSGeo4W). @kobusburger are you sure the layer has the correct CRS and the vertices of the line have the correct coordinates? |
I did not give particular attention to the CRS and where I created the lines. It was a test but I feel that QGIS should not raise an exception even if the CRS is wrong or the geometries are in the wrong place. |
Some other details:
The exception error "forward transform of (int, int) Error: Fallback transform failed" doesn't occur with QGIS 3.10.14 (OSGeo4W v1, PROJ 6.3.2) so it is possible to pan the map without issue. Anyway the error "WARNING Transform error caught: Could not transform bounding box to target CRS" is logged in the CRS Log Messages panel and the layer feature geometry is not yet visible in the map changing the map CRS to say 4326. |
Not sure if this should/could be fixed, but I can reproduce this with some lines from a plugin I created.
If helpful, the plugin creates the following stacktrace:
|
Hello, Today I got an error while testing a qgis-server implementation (last LTR) which as far as I understand is the same described here. I was able to narrow the problem to a specific layer of the project which I was working with. The problem arises because the layer source has In our case, the layer is a postgresql view with no features neither db-saved metadata, so there isn't an extent. Our error trigger was the WFS3/OAPIF Accessing the OAPIF Server verbose log
QGIS version information
|
I can confirm the same case that @lorenzogrv commented. In my case is a point layer, with features in it, but all the features have null geometry, so the extent is null. Removing the layer from the wfs published layers, makes it work correctly. |
What is the bug or the crash?
I get a "forward transform of (int, int) Error: Fallback transform failed" This happen even if I close and reopen QGIS.
The shapefile is also attached.
multiline error.zip
Steps to reproduce the issue
I created 5 single lines on a multiline scratch layer and merged them. The error window appears every time I move the mouse or click on the canvas. The problem seems to start after I merged the single lines into a multiline. I later saved the layer as a shape file. The error persists even after removing the layer.
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Supported QGIS version
New profile
Additional context
This is the first time I am using a multiline layer. I never noticed similar problems with other geometric types in the past.
The text was updated successfully, but these errors were encountered: