Hello all Apologies if this has already been addressed in master - I don't know the codebase well enough to investigate.
While expanding my plugin's test suite, I got tripped up by this. The following works in 2.18.7: QgsVectorLayer(url, name, 'WFS') # uppercase "WFS" However, the following does not: QgsRasterLayer(url, name, 'WMS') # to work, "wms" must be lower case Thanks Tom ----- Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Minor-Python-API-inconsistency-tp5319359.html Sent from the QGIS - Developer mailing list archive at Nabble.com. _______________________________________________ Qgis-developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
