Territorial API | icgc

Territorial API

Access to authoritative geoinformation of Catalonia via API

The Territorial API is a tool that provides access to authoritative geoinformation in Catalonia in a simple and efficient way through HTTPS requests. It integrates several functionalities designed to facilitate the access, consultation, visualization and use of geographic data by users.

This API follows the standards of the OGC (Open Geospatial Consortium), which guarantees interoperability with other applications and platforms.

Tools

Specifically, it offers the following modules:

  • OGC API - Features: Allows the download/viewing of vector data with the possibility of applying filters according to the user's needs, thus favoring precise and personalized queries. An example would be obtaining all the municipalities that contain "Llobregat" in their name.
  • OGC API - Processes: Allows executing geospatial processes directly on the server and obtaining the result, which reduces the client's load and facilitates the automation of geographic analyses. An example of these processes would be obtaining the urban classification of the land at a point in the territory or cadastral reference.
  • OGC API - Styles: Allows applying cartographic symbology in an interoperable and web-oriented way, facilitating that the styles are treated as independent resources.

In addition, to respond to specific demands beyond OGC methods, the API offers customized functionalities such as:

  • Download/View of available elements from various layers at a specific point in the territory.
  • Obtaining the link to a web viewer that directly displays the selected layers, and optionally centered on a municipality.

Thanks to its modern and standard architecture, the Territorial API becomes a key gateway to public geoinformation in Catalonia, favoring a more open, interoperable and powerful digital ecosystem, and in line with the current European Data Directives.

What is an API?

An API is an Application Programming Interface. It is a tool aimed at programmers, which gives them the possibility of consuming this information within their applications, such as a web application or a local application.

The Territorial API is a REST API, which stands for Representational State Transfer and is an architectural style that uses simple methods, which we call calls, to make programs communicate.

This API works based on a secure Internet protocol (HTTPS protocol). This means that queries are made over the Internet in a secure manner.