Ir para o conteúdo

OGC API of the Directorate-General for Territory

Using the API to access geographic data

The OGC APIs of the Directorate-General for Territory (DGT) provide access to geographic information for applications and other systems, using open standards from the Open Geospatial Consortium (OGC).

The API allows geographic information to be queried and integrated into applications, Geographic Information Systems (GIS), Web services and automated processing workflows.

  • Use the API


    Discover the Landing Page, available collections and the OpenAPI specification.

    Access the API

  • OpenAPI documentation


    Consult the technical specification and interactive documentation.

    OpenAPI

  • Terms of use


    Consult the terms of use, licence and recommendations for automated use.

    Terms of use

  • Service quality


    Consult the service quality policy and monitoring approach.

    Service quality

Terms of use — machine-readable version

The terms of use are also available in machine-readable formats: JSON and JSON-LD.

Main resources

Resource Link
OGC API — Landing Page ogcapi.dgterritorio.gov.pt
OpenAPI Specification
Interactive documentation Swagger / HTML

How to use

  1. Discover the available collections on the Landing Page.
  2. Consult the OpenAPI specification.
  3. Identify the appropriate operation and parameters.
  4. Use pagination and filters to avoid unnecessary data transfers.
  5. Check the metadata and licence applicable to the collection.
  6. For automated use, follow the recommendations in the terms of use.

Information status

This documentation complements the technical information provided by the API. The OpenAPI specification is the reference for the operations and parameters currently supported by the service.