Skip to content

Commit

Permalink
Revert capitalized parameters for wfs uri to be similar to subsequent…
Browse files Browse the repository at this point in the history
… examples.
  • Loading branch information
folinimarc committed Sep 12, 2024
1 parent 00f8746 commit 65731db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pyqgis_developer_cookbook/loadlayer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ providers:

.. testcode:: loadlayer

uri = "https://demo.mapserver.org/cgi-bin/wfs?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&SRSNAME=EPSG:4326&TYPENAME=ms:cities"
uri = "https://demo.mapserver.org/cgi-bin/wfs?service=WFS&version=2.0.0&request=GetFeature&typename=ms:cities"
vlayer = QgsVectorLayer(uri, "my wfs layer", "WFS")

The uri can be created using the standard ``urllib`` library:
Expand Down

0 comments on commit 65731db

Please sign in to comment.