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

Tracing generate wrongly projected features when canvas crs is different from layer crs #49247

Closed
1 of 2 tasks
roya0045 opened this issue Jul 5, 2022 · 0 comments · Fixed by #50612
Closed
1 of 2 tasks
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Digitizing Related to feature digitizing map tools or functionality Projections/Transformations Related to coordinate reference systems or coordinate transformation Regression Something which used to work, but doesn't anymore

Comments

@roya0045
Copy link
Contributor

roya0045 commented Jul 5, 2022

What is the bug or the crash?

When using tracing and snapping on vertex, the preliminary shape displayed is fine, but when generating it, it seems a reprojection is missing.

This issue was not present previously. I suspect this may be related to the GEOS change or something else that could be related to the polygon rendering issue also.

Steps to reproduce the issue

trace_test.zip

  1. Open the sample project
  2. Enable snapping on vertex
  3. Enable tracing
  4. Use tracing to fill a cavity
  5. Change the projection of the canvas
  6. Try to fill another cavity
  7. Error

Versions

is broken with

QGIS version
3.27.0-Master
QGIS code branch
master
Qt version
5.15.4
Python version
3.10.5
GDAL/OGR version
3.5.0
PROJ version
9.0.1
EPSG Registry database version
v10.064 (2022-05-19)
GEOS version
3.10.3-CAPI-1.16.1
SQLite version
3.36.0
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.5
QScintilla2 version
2.13.0
OS version
Windows 10 Version 2009

This copy of QGIS writes debugging output.

Active Python plugins
ee_plugin
0.0.5
ImportPhotos
3.0.3
Mergin
2022.4.1
qgis_gee_data_catalog-master
0.4.0
quick_map_services
0.19.29
ThRasE
22.3.3a
valuetool
3.0.15
processing
2.12.99
sagaprovider
2.12.99
qgis_gee_data_catalog
0.4.3

works fine with

QGIS version
3.19.0-Master
QGIS code revision
ba934769
Qt version
5.15.2
Python version
3.9.5
GDAL/OGR version
3.2.2
PROJ version
8.0.1
EPSG Registry database version
v10.018 (2021-04-02)
GEOS version
3.9.1-CAPI-1.14.2
SQLite version
3.35.5
PostgreSQL client version
11.5
SpatiaLite version
5.0.1
QWT version
6.1.5
QScintilla2 version
2.11.5
OS version
Windows 10 Version 2009

This copy of QGIS writes debugging output.

Active Python plugins
ImportPhotos
Mergin
valuetool

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

This is a regression

@roya0045 roya0045 added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jul 5, 2022
@Pedro-Murteira Pedro-Murteira added Digitizing Related to feature digitizing map tools or functionality Projections/Transformations Related to coordinate reference systems or coordinate transformation Regression Something which used to work, but doesn't anymore labels Jul 5, 2022
@roya0045 roya0045 changed the title Tracing doesn't work when canvas project is different from layer crs Tracing generate wrongly projected features when canvas crs is different from layer crs Jul 5, 2022
@nyalldawson nyalldawson self-assigned this Oct 20, 2022
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue Oct 20, 2022
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue Oct 20, 2022
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue Oct 20, 2022
marcu pushed a commit to marcu/QGIS that referenced this issue Oct 23, 2022
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! Digitizing Related to feature digitizing map tools or functionality Projections/Transformations Related to coordinate reference systems or coordinate transformation Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants