From fd0801c03f0e58611c0d71f54a86391ecfdd5753 Mon Sep 17 00:00:00 2001 From: Timo Date: Sun, 12 Jan 2025 04:06:08 +0100 Subject: [PATCH] datatables for collection view --- src/sparqlunicorn_ontdoc/export/api/ogcapifeaturesexporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sparqlunicorn_ontdoc/export/api/ogcapifeaturesexporter.py b/src/sparqlunicorn_ontdoc/export/api/ogcapifeaturesexporter.py index 9555ec5..9a1d175 100644 --- a/src/sparqlunicorn_ontdoc/export/api/ogcapifeaturesexporter.py +++ b/src/sparqlunicorn_ontdoc/export/api/ogcapifeaturesexporter.py @@ -127,7 +127,7 @@ def generateOGCAPIFeaturesPages(outpath,deploypath, featurecollectionspaths, pre "title": "this document as HTML"}]} collectionshtml = "

Collections of " + str( deploypath) + "

{{collectiontable}}" - collectiontable = "" + collectiontable = "
CollectionLinks
" apijson["paths"]["/collections"] = {"get": {"tags": ["Collections"], "summary": "describes collections", "description": "Describes all collections provided by this service", "operationId": "collections", "parameters": [], "responses": { @@ -203,7 +203,7 @@ def generateOGCAPIFeaturesPages(outpath,deploypath, featurecollectionspaths, pre "parameters": [], "responses": {"default": {"description": "default response", "content": { "application/json": {"schema": {"$ref": "#/components/schemas/Collections"},"example": None}}}}}} curcollrow = ""
Collection#FeaturesLinks
" + str( - featurecollectionspaths[coll]["name"]) + ""+str(len(curcoll["features"]))+"[Collection as HTML] [Collection as JSON] [Collection as TTL]