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

PyQGIS cookbook docu on website mismatch api #17683

Closed
qgib opened this issue Nov 7, 2013 · 1 comment
Closed

PyQGIS cookbook docu on website mismatch api #17683

qgib opened this issue Nov 7, 2013 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Documentation Changes to Documentation, README, INSTALL, etc

Comments

@qgib
Copy link
Contributor

qgib commented Nov 7, 2013

Author Name: Luigi Pirelli (@luipir)
Original Redmine Issue: 9028
Affected QGIS version: 2.0.1
Redmine category:documentation_and_help


here:
http://www.qgis.org/en/docs/pyqgis_developer_cookbook/loadlayer.html#raster-layers

the code:
rlayer = QgsRasterLayer(uri, 'my_wcs_layer', 'wcs')

doesn't work due to mismatch with api that accept uri QString as stated in api signature:

QgsRasterLayer( const QString & uri,
const QString & baseName,
const QString & providerKey,
bool loadDefaultStyleFlag = true );

@qgib
Copy link
Contributor Author

qgib commented Mar 5, 2015

Author Name: Alexander Bruy (@alexbruy)


Seems fixed in documentation master


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Documentation Changes to Documentation, README, INSTALL, etc labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
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! Documentation Changes to Documentation, README, INSTALL, etc
Projects
None yet
Development

No branches or pull requests

1 participant