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

Circle Shape Digitizing tool does not work as expected when map crs != layer crs #51926

Closed
2 tasks done
YoannQDQ opened this issue Feb 19, 2023 · 3 comments · Fixed by #51931
Closed
2 tasks done

Circle Shape Digitizing tool does not work as expected when map crs != layer crs #51926

YoannQDQ opened this issue Feb 19, 2023 · 3 comments · Fixed by #51931
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@YoannQDQ
Copy link
Contributor

YoannQDQ commented Feb 19, 2023

Duplicates #38493

What is the bug or the crash?

When the layer CRS is different from the map canvas crs, the Circle Shape Digitizing tool produces incorrect results.

circle

The Ellipse and polygon tools work as expected though.

Steps to reproduce the issue

  • Create a new project
  • (Optionaly add a basemap)
  • Set the CRS to EPSG:3857
  • Create a new Temporary Scratch Polygon Layer, with EPSG:4326
  • Edit the polygon layer
  • Display the "Shape Digitizing Toolbar"
  • Add a new feature
  • In the Shape Digitizing Toolbar, select any of the "Circle" option
  • Draw the shape

Versions

QGIS version
3.29.0-Master
QGIS code revision
994da50
Qt version
5.15.3
Python version
3.9.5
Compiled against GDAL/OGR
3.7.0dev-986b841325
Running against GDAL/OGR
3.7.0dev-a828b2b5a9
PROJ version
9.1.1
EPSG Registry database version
v10.076 (2022-08-31)
GEOS version
3.11.1-CAPI-1.17.1
SQLite version
3.39.4
PDAL version
2.4.3
PostgreSQL client version
unknown
SpatiaLite version
5.0.1
QWT version
6.1.6
QScintilla2 version
2.13.1
OS version
Windows 10 Version 2009

This copy of QGIS writes debugging output.

Active Python plugins
db_manager
0.1.20
grassprovider
2.12.99
MetaSearch
0.3.6
processing
2.12.99

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

@YoannQDQ YoannQDQ added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Feb 19, 2023
@YoannQDQ YoannQDQ changed the title Ciircle Shape Digitizing does not work when map crs != layer crs Circle Shape Digitizing tool does not work as expected when map crs != layer crs Feb 19, 2023
@baswein
Copy link
Contributor

baswein commented Feb 19, 2023

Unfortunately this is a longstanding known issue with consequences for all arcs. #25167

@baswein
Copy link
Contributor

baswein commented Feb 19, 2023

Also see this discussion that goes into a lot more detail. #38493

@YoannQDQ
Copy link
Contributor Author

My bad, I forgot to look for similar bugs before posting this... #38493 should be the one kept open though, as #25167 does not provide much information.

@YoannQDQ YoannQDQ reopened this Feb 19, 2023
@YoannQDQ YoannQDQ closed this as not planned Won't fix, can't repro, duplicate, stale Feb 19, 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!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants