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.
-
OpenAPI documentation
Consult the technical specification and interactive documentation.
-
Terms of use
Consult the terms of use, licence and recommendations for automated use.
-
Service quality
Consult the service quality policy and monitoring approach.
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¶
- Discover the available collections on the Landing Page.
- Consult the OpenAPI specification.
- Identify the appropriate operation and parameters.
- Use pagination and filters to avoid unnecessary data transfers.
- Check the metadata and licence applicable to the collection.
- 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.
