Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 14, 2025
1 parent 7cc4dbc commit 7e84912
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sparqlunicorn_ontdoc/export/api/wfsexporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ class WFSExporter:

@staticmethod
def generateFeatureDescriptions(outpath,deploypath,featurecollectionspaths,version,fsresult):
result="""<schema xmlns:myns="http://www.someserver.example.com/myns" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" targetNamespace="http://www.someserver.example.com/myns" elementFormDefault="qualified" version="2.0.2">
<import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>"""
result=" <?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?><schema xmlns:myns=\"http://www.someserver.example.com/myns\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns=\"http://www.w3.org/2001/XMLSchema\" xmlns:gml=\"http://www.opengis.net/gml/3.2\" targetNamespace=\"http://www.someserver.example.com/myns\" elementFormDefault=\"qualified\" version=\"2.0.2\"><import namespace=\"http://www.opengis.net/gml/3.2\" schemaLocation=\"http://schemas.opengis.net/gml/3.2.1/gml.xsd\"/>"
os.mkdir(outpath + "/wfs/DescribeFeatureType")
for coll in featurecollectionspaths:
curcoll = None
Expand Down

0 comments on commit 7e84912

Please sign in to comment.