Skip to content

Commit e646c96

Browse files
committed
fixes
1 parent 9248630 commit e646c96

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sparqlunicorn_ontdoc/export/api/wfsexporter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def generateWFSPages10(outpath,deploypath,featurecollectionspaths,license):
6060
<ogc:Filter_Capabilities></ogc:Filter_Capabilities>
6161
</wfs:WFS_Capabilities>"""
6262
print("SAVE WFS GETCAPABILITIES: " + str(outpath + "/wfs?request=GetCapabilities&service=WFS&version=1.0.0"))
63-
f = open(outpath + "/wfs?request=GetCapabilities&service=WFS&version=1.0.0", "w", encoding="utf-8")
63+
f = open(outpath + "/wfs/index.xml", "w", encoding="utf-8")
6464
f.write(getcapabilities)
6565
f.close()
6666

@@ -72,5 +72,5 @@ def generateWFSPages(outpath,deploypath, featurecollectionspaths,license,wfsvers
7272
apijson = {"openapi": "3.0.1", "info": {"title": str(deploypath) + " Feature Collections",
7373
"description": "Feature Collections of " + str(deploypath)},
7474
"servers": [{"url": str(deploypath)}], "paths": {}}
75-
if wfsversion=="1.0.0":
76-
WFSExporter.generateWFSPages10()
75+
#if wfsversion=="1.0.0":
76+
# WFSExporter.generateWFSPages10()

0 commit comments

Comments
 (0)