Skip to content

Commit

Permalink
QgsVectorLayer: document oapif provider
Browse files Browse the repository at this point in the history
Funded by Planet
  • Loading branch information
rouault authored and nyalldawson committed Oct 25, 2019
1 parent 0d5f7dd commit c7f29d5
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
20 changes: 19 additions & 1 deletion python/core/auto_generated/qgsvectorlayer.sip.in
Expand Up @@ -115,7 +115,8 @@ starting with QGIS 2.16, a URI constructed using the QgsDataSourceUri class with
- filter=string: QGIS expression or OGC/FES filter
- restrictToRequestBBOX=1: to download only features in the view extent (or more generally
in the bounding box of the feature iterator)
- maxNumFeatures=number
- pageSize=number: number of features to retrieve in a single request (WFS 2)
- maxNumFeatures=number: maximum number of features to retrieve (possibly across several multiple paging requests)
- IgnoreAxisOrientation=1: to ignore EPSG axis order for WFS 1.1 or 2.0
- InvertAxisOrientation=1: to invert axis order
- hideDownloadProgressDialog=1: to hide the download progress dialog
Expand All @@ -129,6 +130,23 @@ attribute operators, “BBOX, Disjoint, Intersects, Touches, Crosses, Contains,
spatial binary operators and the QGIS local “geomFromWKT, geomFromGML”
geometry constructor functions.

\subsection oapif OGC API - Features data provider (oapif)

Used to access data provided by a OGC API - Features server.

The URI should be constructed using the QgsDataSourceUri class with the following parameters:
- url=string (mandatory): HTTP url to a OGC API - Features landing page.
- typename=string (mandatory): Collection id
- username=string
- password=string
- authcfg=string
- filter=string: QGIS expression (only datetime filtering is forwarded to the server)
- restrictToRequestBBOX=1: to download only features in the view extent (or more generally
in the bounding box of the feature iterator)
- pageSize=number: number of features to retrieve in a single request
- maxNumFeatures=number: maximum number of features to retrieve (possibly across several multiple paging requests)
- hideDownloadProgressDialog=1: to hide the download progress dialog.

Also note:

- You can use various functions available in the QGIS Expression list,
Expand Down
20 changes: 19 additions & 1 deletion src/core/qgsvectorlayer.h
Expand Up @@ -179,7 +179,8 @@ typedef QSet<int> QgsAttributeIds;
* - filter=string: QGIS expression or OGC/FES filter
* - restrictToRequestBBOX=1: to download only features in the view extent (or more generally
* in the bounding box of the feature iterator)
* - maxNumFeatures=number
* - pageSize=number: number of features to retrieve in a single request (WFS 2)
* - maxNumFeatures=number: maximum number of features to retrieve (possibly across several multiple paging requests)
* - IgnoreAxisOrientation=1: to ignore EPSG axis order for WFS 1.1 or 2.0
* - InvertAxisOrientation=1: to invert axis order
* - hideDownloadProgressDialog=1: to hide the download progress dialog
Expand All @@ -193,6 +194,23 @@ typedef QSet<int> QgsAttributeIds;
* spatial binary operators and the QGIS local “geomFromWKT, geomFromGML”
* geometry constructor functions.
*
* \subsection oapif OGC API - Features data provider (oapif)
*
* Used to access data provided by a OGC API - Features server.
*
* The URI should be constructed using the QgsDataSourceUri class with the following parameters:
* - url=string (mandatory): HTTP url to a OGC API - Features landing page.
* - typename=string (mandatory): Collection id
* - username=string
* - password=string
* - authcfg=string
* - filter=string: QGIS expression (only datetime filtering is forwarded to the server)
* - restrictToRequestBBOX=1: to download only features in the view extent (or more generally
* in the bounding box of the feature iterator)
* - pageSize=number: number of features to retrieve in a single request
* - maxNumFeatures=number: maximum number of features to retrieve (possibly across several multiple paging requests)
* - hideDownloadProgressDialog=1: to hide the download progress dialog.
*
* Also note:
*
* - You can use various functions available in the QGIS Expression list,
Expand Down

0 comments on commit c7f29d5

Please sign in to comment.