Skip to content

Commit

Permalink
Merge pull request #53247 from pathmapper/wfs_param_warning
Browse files Browse the repository at this point in the history
[WFS provider] Add "bbox" and "sql" to list of known URI parameters
  • Loading branch information
rouault committed May 27, 2023
2 parents 02aa76c + c498f18 commit 06fde96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/wfs/qgswfsconstants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const QString QgsWFSConstants::URI_PARAM_PAGE_SIZE( "pageSize" );
const QString QgsWFSConstants::URI_PARAM_WFST_1_1_PREFER_COORDINATES( "preferCoordinatesForWfsT11" );
const QString QgsWFSConstants::URI_PARAM_SKIP_INITIAL_GET_FEATURE( "skipInitialGetFeature" );
const QString QgsWFSConstants::URI_PARAM_GEOMETRY_TYPE_FILTER( QStringLiteral( "geometryTypeFilter" ) );
const QString QgsWFSConstants::URI_PARAM_SQL( QStringLiteral( "sql" ) );

const QString QgsWFSConstants::VERSION_AUTO( QStringLiteral( "auto" ) );

1 change: 1 addition & 0 deletions src/providers/wfs/qgswfsconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ struct QgsWFSConstants
static const QString URI_PARAM_WFST_1_1_PREFER_COORDINATES;
static const QString URI_PARAM_SKIP_INITIAL_GET_FEATURE;
static const QString URI_PARAM_GEOMETRY_TYPE_FILTER;
static const QString URI_PARAM_SQL;

//
static const QString VERSION_AUTO;
Expand Down
2 changes: 2 additions & 0 deletions src/providers/wfs/qgswfsdatasourceuri.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ QSet<QString> QgsWFSDataSourceURI::unknownParamKeys() const
QgsWFSConstants::URI_PARAM_VERSION,
QgsWFSConstants::URI_PARAM_TYPENAME,
QgsWFSConstants::URI_PARAM_SRSNAME,
QgsWFSConstants::URI_PARAM_BBOX,
QgsWFSConstants::URI_PARAM_FILTER,
QgsWFSConstants::URI_PARAM_OUTPUTFORMAT,
QgsWFSConstants::URI_PARAM_RESTRICT_TO_REQUEST_BBOX,
Expand All @@ -201,6 +202,7 @@ QSet<QString> QgsWFSDataSourceURI::unknownParamKeys() const
QgsWFSConstants::URI_PARAM_WFST_1_1_PREFER_COORDINATES,
QgsWFSConstants::URI_PARAM_SKIP_INITIAL_GET_FEATURE,
QgsWFSConstants::URI_PARAM_GEOMETRY_TYPE_FILTER,
QgsWFSConstants::URI_PARAM_SQL,
};

QSet<QString> l_unknownParamKeys;
Expand Down

0 comments on commit 06fde96

Please sign in to comment.