diff --git a/.env.example b/.env.example index ffeb97c..08c86cc 100644 --- a/.env.example +++ b/.env.example @@ -153,6 +153,8 @@ CKANEXT__GEOVIEW__SHP_VIEWER__SRID=3857 CKANEXT__GEOVIEW__SHP_VIEWER__ENCODING=UTF-8 # ckanext-scheming_dcat +## CSW Endpoint for spatial metadata +CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI=http://localhost:81/csw ## Scheming: setup_scheming.sh CKANEXT__SCHEMING_DCAT_DATASET_SCHEMA="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_dataset.yaml" CKANEXT__SCHEMING_DCAT_GROUP_SCHEMAS="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_group.json" diff --git a/ckan/docker-entrypoint.d/02_setup_scheming.sh b/ckan/docker-entrypoint.d/02_setup_scheming.sh index 62ff6b0..e56877a 100644 --- a/ckan/docker-entrypoint.d/02_setup_scheming.sh +++ b/ckan/docker-entrypoint.d/02_setup_scheming.sh @@ -12,7 +12,8 @@ ckan config-tool $CKAN_INI \ "scheming.presets=$CKANEXT__SCHEMING_DCAT_PRESETS" \ "scheming_dcat.facet_list=$CKANEXT__SCHEMING_DCAT_FACET_LIST" \ "scheming_dcat.organization_custom_facets=$CKANEXT__SCHEMING_DCAT_ORGANIZATION_CUSTOM_FACETS" \ - "scheming_dcat.group_custom_facets=$CKANEXT__SCHEMING_DCAT_GROUP_CUSTOM_FACETS" + "scheming_dcat.group_custom_facets=$CKANEXT__SCHEMING_DCAT_GROUP_CUSTOM_FACETS" \ + "scheming_dcat.geometadata_base_uri=$CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI" echo "ckanext-scheming_dcat. Rebuild index" ckan -c $CKAN_INI search-index rebuild \ No newline at end of file diff --git a/samples/.env.apache.example b/samples/.env.apache.example index 8a84216..0e1fea1 100644 --- a/samples/.env.apache.example +++ b/samples/.env.apache.example @@ -145,6 +145,8 @@ CKANEXT__GEOVIEW__SHP_VIEWER__SRID=3857 CKANEXT__GEOVIEW__SHP_VIEWER__ENCODING=UTF-8 # ckanext-scheming_dcat +## CSW Endpoint for spatial metadata +CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI=http://localhost:81/csw ## Scheming: setup_scheming.sh CKANEXT__SCHEMING_DCAT_DATASET_SCHEMA="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_dataset.yaml" CKANEXT__SCHEMING_DCAT_GROUP_SCHEMAS="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_group.json" diff --git a/samples/.env.localhost b/samples/.env.localhost index 2add08e..66e1295 100644 --- a/samples/.env.localhost +++ b/samples/.env.localhost @@ -153,6 +153,8 @@ CKANEXT__GEOVIEW__SHP_VIEWER__SRID=3857 CKANEXT__GEOVIEW__SHP_VIEWER__ENCODING=UTF-8 # ckanext-scheming_dcat +## CSW Endpoint for spatial metadata +CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI=http://localhost:81/csw ## Scheming: setup_scheming.sh CKANEXT__SCHEMING_DCAT_DATASET_SCHEMA="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_dataset.yaml" CKANEXT__SCHEMING_DCAT_GROUP_SCHEMAS="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_group.json" diff --git a/samples/.env.nginx.example b/samples/.env.nginx.example index dd23d8c..9356fc0 100644 --- a/samples/.env.nginx.example +++ b/samples/.env.nginx.example @@ -145,6 +145,8 @@ CKANEXT__GEOVIEW__SHP_VIEWER__SRID=3857 CKANEXT__GEOVIEW__SHP_VIEWER__ENCODING=UTF-8 # ckanext-scheming_dcat +## CSW Endpoint for spatial metadata +CKANEXT__SCHEMING_DCAT_GEOMETADATA_BASE_URI=http://localhost:81/csw ## Scheming: setup_scheming.sh CKANEXT__SCHEMING_DCAT_DATASET_SCHEMA="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_dataset.yaml" CKANEXT__SCHEMING_DCAT_GROUP_SCHEMAS="ckanext.scheming_dcat:schemas/geodcatap/geodcatap_group.json"