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

Incorrect documentation for fromPolygonXY #45099

Closed
ishanSrt opened this issue Sep 16, 2021 · 0 comments · Fixed by #45106
Closed

Incorrect documentation for fromPolygonXY #45099

ishanSrt opened this issue Sep 16, 2021 · 0 comments · Fixed by #45106
Labels
API API improvement only, no visible user interface changes Documentation Changes to Documentation, README, INSTALL, etc PyQGIS Related to the PyQGIS API

Comments

@ishanSrt
Copy link

What is the issue about the documentation?

The documentation mentions the argument as QgsPolygonXY but it actually expects [[QgsPointsXY_obj1, QgsPointsXY_obj2, ...]]
stackoverflow question link: https://gis.stackexchange.com/questions/411892/typeerror-qgsgeometry-frompolygonxy-argument-1-has-unexpected-type-qgspolyg/411912#411912

@ishanSrt ishanSrt added API API improvement only, no visible user interface changes Documentation Changes to Documentation, README, INSTALL, etc PyQGIS Related to the PyQGIS API labels Sep 16, 2021
nyalldawson added a commit to nyalldawson/QGIS that referenced this issue Sep 20, 2021
nyalldawson added a commit that referenced this issue Sep 20, 2021
espinafre pushed a commit to espinafre/QGIS that referenced this issue Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API improvement only, no visible user interface changes Documentation Changes to Documentation, README, INSTALL, etc PyQGIS Related to the PyQGIS API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant