Scripts and tools for the (meta)data management of geocat.ch. Owner : reo | Read-only mirror of https://github.com/geoadmin/tool-geocat — Bundesamt für Landestopografie swisstopo. Issues & pull requests at the source.
  • Python 96.7%
  • Jupyter Notebook 3.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-04-16 15:58:09 +02:00
add-opendataSwissPermalinkOnLineResource-to-geocatMDs last state 2022-10-28 09:52:58 +02:00
add-RESTfulAPIonLineResource-to-BGDI-MDs last state 2022-10-28 09:52:58 +02:00
add-techLayerId-to-geocatIdentifier last state 2022-10-28 09:52:58 +02:00
AddCoupledRessource Add files via upload 2022-03-07 13:26:33 +01:00
BGDI remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
bgdi-geocat-mapping fix geoadmin url and cols table 2025-03-13 08:53:10 +01:00
Change protocol value Made a small bug fix and add two EA-Projectfiles 2022-10-18 15:00:03 +02:00
check MD exist for basicGeoData last state 2022-10-28 09:52:58 +02:00
ClassLibrary last state 2022-10-28 09:52:58 +02:00
cleanup-format update doc 2024-02-14 12:12:43 +01:00
export-xml remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
export-xml-from-mef remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
geocat-ogc-services-checker adapt to datahub 2024-12-10 16:41:53 +01:00
get-groups-list remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
get-list-from-search-request remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
get-users-list remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
get-wrong-thesauriUrl-in-PROD upload to github 2022-03-29 14:35:57 +02:00
Manage_ODS_LegalConstraints Update README.md 2022-07-28 16:37:11 +02:00
ManageAdminBoundaries adapt script for eCH-0271 2025-12-11 15:39:36 +01:00
ManageContacts Create README.md 2022-08-02 15:37:03 +02:00
ManageKeyword Create README.md 2022-07-28 16:35:57 +02:00
ManageResource Create README.md 2022-08-18 15:32:32 +02:00
metadata-batch-edit remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
metadata-replace-contact remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
metadata-subtemplate-xlink remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
migration-the-legends-in-geocat upload to github 2022-03-29 14:35:57 +02:00
Remove BGDI Keyword from list add new Project to git 2022-09-21 11:12:28 +02:00
replace-Http2Https-in-BGDI-MDs upload to github 2022-03-29 14:35:57 +02:00
S3-consistency-checker Update README.md 2022-04-28 11:43:23 +02:00
thesaurus remove sensitive info, password, mail, username 2022-03-08 12:00:39 +01:00
validate-statistics Clean, translate and simplify validation script 2026-04-16 15:58:09 +02:00
XPATH-cheatsheet fix @locale in xpath 2024-04-04 14:28:02 +02:00
.gitignore Update .gitignore 2023-02-21 14:29:59 +01:00
HowToContribute.md Update HowToContribute.md 2022-03-08 12:10:45 +01:00
README.md Update README.md 2022-08-02 15:39:41 +02:00

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.