File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -469,7 +469,17 @@ void QgsWFSDataSourceURI::setGetEndpoints( const QgsStringMap &map )
469
469
mGetEndpoints = map;
470
470
}
471
471
472
+ QgsStringMap QgsWFSDataSourceURI::getGetEndpoints () const
473
+ {
474
+ return mGetEndpoints ;
475
+ }
476
+
472
477
void QgsWFSDataSourceURI::setPostEndpoints ( const QgsStringMap &map )
473
478
{
474
479
mPostEndpoints = map;
475
480
}
481
+
482
+ QgsStringMap QgsWFSDataSourceURI::getPostEndpoints () const
483
+ {
484
+ return mPostEndpoints ;
485
+ }
Original file line number Diff line number Diff line change @@ -140,9 +140,15 @@ class QgsWFSDataSourceURI
140
140
// ! Sets Get DCP endpoints
141
141
void setGetEndpoints ( const QgsStringMap &map );
142
142
143
+ // ! Return Get DCP endpoints
144
+ QgsStringMap getGetEndpoints () const ;
145
+
143
146
// ! Sets Post DCP endpoints
144
147
void setPostEndpoints ( const QgsStringMap &map );
145
148
149
+ // ! Return Post DCP endpoints
150
+ QgsStringMap getPostEndpoints () const ;
151
+
146
152
// ! Return set of unknown parameter keys in the URI.
147
153
QSet<QString> unknownParamKeys () const ;
148
154
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ bool QgsWFSSharedData::isRestrictedToRequestBBOX() const
49
49
QgsWFSSharedData *QgsWFSSharedData::clone () const
50
50
{
51
51
QgsWFSSharedData *copy = new QgsWFSSharedData ( mURI .uri ( true ) );
52
+ copy->mURI .setGetEndpoints (mURI .getGetEndpoints ());
53
+ copy->mURI .setPostEndpoints (mURI .getPostEndpoints ());
52
54
copy->mWFSVersion = mWFSVersion ;
53
55
copy->mGeometryAttribute = mGeometryAttribute ;
54
56
copy->mLayerPropertiesList = mLayerPropertiesList ;
You can’t perform that action at this time.
0 commit comments