File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 9
9
10
10
from urllib .parse import urlencode
11
11
from owslib .crs import Crs
12
+ from owslib .util import log , Authentication , build_get_url
12
13
from owslib .util import Authentication
13
14
from owslib .feature .schema import get_schema
14
15
from owslib .feature .postrequest import PostRequest_1_1_0 , PostRequest_2_0_0
@@ -209,7 +210,6 @@ def getGETGetFeatureRequest(
209
210
if m .get ("type" ).lower () == method .lower ()
210
211
)
211
212
)
212
- base_url = base_url if base_url .endswith ("?" ) else base_url + "?"
213
213
214
214
request = {"service" : "WFS" , "version" : self .version , "request" : "GetFeature" }
215
215
@@ -248,9 +248,7 @@ def getGETGetFeatureRequest(
248
248
if outputFormat is not None :
249
249
request ["outputFormat" ] = outputFormat
250
250
251
- data = urlencode (request , doseq = True )
252
-
253
- return base_url + data
251
+ return build_get_url (base_url , request )
254
252
255
253
def getPOSTGetFeatureRequest (
256
254
self ,
You can’t perform that action at this time.
0 commit comments