From 182310a5b0bebab22092a04911a3ef59f76de8d5 Mon Sep 17 00:00:00 2001 From: monodo Date: Mon, 19 Jan 2026 10:44:21 +0100 Subject: [PATCH 1/2] Create publiccode.yml for Drillcheck project Add publiccode.yml for Drillcheck API configuration https://github.com/SFOE/drillapi/issues/95 --- publiccode.yml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 publiccode.yml diff --git a/publiccode.yml b/publiccode.yml new file mode 100644 index 0000000..04a3fb1 --- /dev/null +++ b/publiccode.yml @@ -0,0 +1,62 @@ +publiccodeYmlVersion: 0.5.0 +name: drillapi +applicationSuite: drillcheck +url: https://github.com/SFOE/drillapi +landingURL: https://drillcheck.prometheon.bfe.admin.ch +isBasedOn: https://fastapi.tiangolo.com/ +softwareVersion: v0.0.5 +releaseDate: 2026-01-30 +platforms: + - web +categories: + - geographic-information-systems +developmentStatus: stable +softwareType: standalone/backend +organisation: + uri: https://www.bfe.admin.ch +description: + en: + localisedName: Drillcheck + shortDescription: Suitability for geothermal drilling in switzerland REST API + querying cantonal geoservices + longDescription: > + Query the cantonal geoservices to know whether a site in Switzerland is + suitable for a geothermal drilling. + + + What does this FastAPI project do ? + + + - take x/y coordinates in EPSG:2056 on route /v1/x/y + + - find in which canton the coordinates are and retrieve specific + geoservice configuration + + - send request to corresponding cantonal geoservices, depending on + location + + - process and reclass the results (1: OK, 2: With restriction, 3: + Forbidden, 4: Unknown or Service Error) + + - return response used by drill-frontend vuejs web app + documentation: https://github.com/SFOE/drillapi + apiDocumentation: https://drillcheck.prometheon.bfe.admin.ch/docs + features: + - Get geothermal drilling suitability at given x/y location in swiss + reference system MN95 +legal: + license: AGPL-3.0-only +maintenance: + type: internal + contacts: + - name: SFOEN + email: contact@bfe.admin.ch + phone: +41 58 462 56 11 + affiliation: geoinformation@bfe.admin.ch +localisation: + localisationReady: true + availableLanguages: + - de + - fr + - it + - en From c4ef853ed025ad87025e2801f36cbc43e3e1d080 Mon Sep 17 00:00:00 2001 From: GO-MOO Date: Wed, 18 Mar 2026 14:57:47 +0100 Subject: [PATCH 2/2] fix URLs --- publiccode.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/publiccode.yml b/publiccode.yml index 04a3fb1..52d5fa5 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -2,10 +2,10 @@ publiccodeYmlVersion: 0.5.0 name: drillapi applicationSuite: drillcheck url: https://github.com/SFOE/drillapi -landingURL: https://drillcheck.prometheon.bfe.admin.ch +landingURL: drillapi.drillcheck-prod.prometheon.bfe.admin.ch isBasedOn: https://fastapi.tiangolo.com/ -softwareVersion: v0.0.5 -releaseDate: 2026-01-30 +softwareVersion: v0.1.10 +releaseDate: 2026-03-18 platforms: - web categories: @@ -16,7 +16,7 @@ organisation: uri: https://www.bfe.admin.ch description: en: - localisedName: Drillcheck + localisedName: Drillapi shortDescription: Suitability for geothermal drilling in switzerland REST API querying cantonal geoservices longDescription: > @@ -40,7 +40,7 @@ description: - return response used by drill-frontend vuejs web app documentation: https://github.com/SFOE/drillapi - apiDocumentation: https://drillcheck.prometheon.bfe.admin.ch/docs + apiDocumentation: drillapi.drillcheck-prod.prometheon.bfe.admin.ch/docs features: - Get geothermal drilling suitability at given x/y location in swiss reference system MN95