https://github.com/geoadmin/tool-geocat
Scripts and tools for the (meta)data management of geocat.ch. Owner : reo
https://github.com/geoadmin/tool-geocat
Last synced: 3 months ago
JSON representation
Scripts and tools for the (meta)data management of geocat.ch. Owner : reo
- Host: GitHub
- URL: https://github.com/geoadmin/tool-geocat
- Owner: geoadmin
- Created: 2022-03-07T12:19:58.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-12-17T14:17:18.000Z (6 months ago)
- Last Synced: 2025-12-21T02:44:17.341Z (6 months ago)
- Language: Python
- Size: 10.1 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Change protocol value/Ausgabe-Debuggen.txt
Awesome Lists containing this project
README
# Geocat scripts and tools
Scripts and tools for the (meta)data management of geocat.ch. This does not contain the geocat.ch application !
### Tools
* **AddCoupledResource**
**This is a test.** Automatically add the coupled ressources of a geoservice's metadata (one ressource per service's layer).
Read the getCapabilities to get all layers and another service to get the Geocat ID for each layer. Works for the BGDI WMS.
* **add-opendataSwissPermalinkOnLineResource-to-geocatMDs**
Add the opendataSwiss-Permalink as OnLineResource to geocat.ch MDs.
* **add-RESTfulAPIonLineResource-to-BGDI-MDs**
Add the RESTfulAPI-Service as onLineResource to geocat.ch BGDI-MDs.
* **add-techLayerId-to-geocatIdentifier**
Add techLayer-Id (-Name) as geocatIdentifier to geocat.ch MDs.
* **BGDI**
Manage metadata from BGDI datasets.
* **ClassLibrary**
With this scripts, you have a helpfull library, which you can use in other projects.
* **BackupGenerator**
Export all metadata, groups, users, thesaurus, subtemplates (reusable objects) and the unpublish report
and save them into a directory with a comprehensive structure.
* **export-xml-from-mef**
Export a given list of metadata (UUID) from a MEF (metadata exchange format) archive (.zip) and save them in XML.
* **export-xml**
Export a given list of metadata (UUID) from geocat and save them in XML.
* **get-groups-list**
Get a csv list with all groups information.
* **get-list-from-search-request**
Get a csv list of metadata found by given search criteria
* **get-users-list**
Get a csv list with all users information.
* **get-wrong-thesauriUrl-in-PROD**
Get all thesauriUrl from PROD, which has a link to INT
* **ManageAdminBoundaries**
Inspect, Update and Delete admin boundaries in geocat.ch by comparing the extent subtemplates with a reference geojson file.
* **ManageContacts**
Manage contacts as shared objects.
* **ManageKeyword**
Add and delete Keyword.
* **Manage_ODS_LegalConstraints**
Add and delete legal constraints used for the mapping with the Opendata.swiss plateform.
* **metadata-bacth-edit**
Perform simple batch edits on a list of metadata (UUID).
* **metadata-replace-contact**
Replace a given contact (subtemplate) in every metadata or in a defined single one.
* **metadata-subtemplate-xlink**
Link all subtemplates (add the xlink in the XML) of a given list of metadata (UUID).
* **migration-the-legends-in-geocat**
You can add png and pdf Legendfiles to MD-records as attachment
This is a one time use Script! But it give an example, how to add files as attachment
* **replace-Http2Https-in-BGDI-MDs**
Replace Http to Https in geocat.ch BGDI-MDs
* **S3-consistency-checker**
Check the consistency of metadata between an AWS S3 Bucket (Harvesting partner) and geocat.ch
* **thesaurus**
Manage thesaurus and keywords in the metadata.