GIS fan. There is always an Open Source highway, otherwise, we can build it!
Nowadays we are used to consume cartography through a computer or a mobile device by means of map viewers, so that we interactively select the portion of map we are interested in explore in a continuous territory without the traditional limits of paper maps.
Based on this current way of consulting geographic information, taking advantage of the possibilities offered by new technologies and preserving the essence of paper maps, the CNIG (Spanish National Centre for Geographic Information) has developed the on-demand cartography project "Mapa a la Carta” (“Map on Demand”), which highlights its cartographic information and its integration through OGC services. It is an application where the user can configure the map to their own taste and needs, allowing the choice of the portion of territory that the map will contain, the scale (within a range) and even the personalisation of the title and cover of the map. It also allows drawing points, lines and polygons on the cartography that can be labelled, or inserting other geographic data such as those that can be registered on a route on foot by means of a GPS, or other types of information downloaded from the Internet in different formats.
For the development, a solution has been designed consisting of several Open Source software components. The front-end, an intuitive environment programmed in React JS, interacts with the spatial reference information by consuming the map services provided by the API-IGN, the IGN Search geographic name searches, as well as the OGC WMTS visualisation services of IGN cartography. This set of services allows the user to define the conditions of the desired map that MapFish will finally generate, in high resolution PDF format. It is very important to highlight the integration of the information with COG (Cloud-Optimized Geotiff) formats for high-resolution printing using GDAL.
With all this, we go from being users or readers of cartography to creators of new maps by reusing resources, and having the digital product in PDF format in a matter of seconds with the possibility of sharing it among our contacts.
Finally, to provide the solution with added value, there is also the option of having the map generated in standard or resistant paper format and with professional printing quality to be purchased in an online shop.
Technologies: WMTS, COG, GDAL, MapFish, OpenLayers, Mapea, React JS, API-IGN
The use of mobile devices for outdoor activities in nature has increased significantly over time. These mobile applications are of great use for this type of activities and, in addition, they give great added value to detailed spatial information in natural environments, far from urban centres, in comparison to commercial applications, which are not oriented towards providing this type of services.
Thus, two use cases of ready-to-use applications are presented for general use (Basic Maps of Spain) and for a particular use (Camino de Santiago).
These applications are designed to be very easy to use, without having to make any configuration to connect to the official map services of Spain from CNIG (National Centre for Geographic Information) and its download centre to obtain maps and routes.
With these applications you can follow tailor-made natural routes throughout Spain, stages of the Camino de Santiago or use your own tracks, plan excursions using maps, navigation and guided tours..., all offline, without the need for an Internet connection after downloading data.
All the maps and routes used are free and allow you: * GPS location, even without mobile coverage * Offline map mode, saved in advance * GPS tracks on the maps of the National Geographic Institute * Save and view tracks in gpx, kml and kmz format * Positioning display with coordinates, course, speed, altitude * Calculation of distances
It should be noted that the development has followed a multi-platform approach, where the implementation has been carried out with HTML and the specific mobile applications for Android or iPhone have been generated from these developments.
These use cases show the community an attractive way to implement mobile applications using OGC standards and Open Source libraries, from which to adapt and enrich the contents to be consumed.
Basic Maps of Spain
Road to Santiago de Compostela
The generation of dashboards based on geographic information is a field of vital importance to enhance the value of spatial information in relation to the reality provided by the data displayed.
A spatial information dashboard is a view of geographic information that displays spatialised data, such as events, activities or statistical variables.
These dashboards should provide visualisations of the data that work in an interactive and attractive way at both graphical and map level, so that they can be used for decision making in an easy way.
The use case presented here shows an integration of two Open Source libraries specialised in representation.
On the one hand, there is the dashboard information, using Apache Superset and, on the other hand, Mapea.
Mapea is a library developed as an interoperability and added value layer on top of OpenLayers.
This library allows the integration of spatial information by means of rest calls and its representation in a way that facilitates its integration in general purpose applications.
Thus, an integration of Mapea on Apache Superset has been carried out to take advantage of the power of the Apache Superset dashboard representation and combine it with the spatial information represented on an OpenLayers base.
The resulting product allows the loading of information in different formats, using all the power and capacity of Apache Superset together with its representation in a map viewer in a simple way. Its general purpose application allows the representation of information of all kinds, such as geo-referenced statistical data, heat maps, cluster, ...
Therefore, this presentation shows a practical and successful case in the integration of spatial information and Open Source products of different nature such as Apache Superset and OpenLayers through the use of Mapea.
Technologies: Apache Superset, GeoServer, OpenLayers, Mapea, OGC Standards
The generation and consumption of spatial information in the hydrographic field is a fundamental part of daily work, as not only are many decisions taken based on this information but, additionally, information is produced in real time based on these decisions and processes.
Another of the particular characteristics of hydrographic information is the great amount of detail and its size, which traditionally makes it necessary to use desktop tools for the execution of geoprocesses and the production of derived information.
In this context, the use and edition of information through web clients using OGC processes and standards (WMS, WMST, WPS), solves the casuistry and provides the necessary power for daily work, focused on an architecture where the server centralises operations and processes.
However, the irruption of new technologies with the use of vector tiles presented as an evolutionary leap presents great advantages in the management of data at both server and client level. At the server side, it allows for lighter and more resilient infrastructures through the use of STAC and enables the process load to be distributed while at client level, it provides the browsers with the vector data for the execution of geoprocesses locally using specific tools.
This use case presents a practical application for the production and customisation of vector tiles in the specific case of hydrological information, presenting an application where, on the one hand, spatial information is integrated into the data production processes by generating the appropriate services and, on the other hand, client tools are used for the management, geoprocessing and consolidation of spatial information using vector tiles.
Additionaly, the information in vector tile format has specific styles, developed using a tool that manages the spatial information in vector format and establishes an associated style through a simple user interface. Thus, the viewer requests the vector information and the associated style for its adequate rendering to the user.
This environment has been based on Open Source technologies and standards, which allows its scalability and sustainability in the future in a modular way.
Finally, it is worth highlighting the good performance obtained, as the project, through the interfaces developed, achieves both the updating of spatial information in an integrated way in the production and decision-making processes, as well as its dissemination in different formats.
Technologies: PostGIS, GeoServer, Maputnik, OpenLayers, Mapea, vector tiles, STAC
Spatial information always brings added value to workflow processes of all kinds. Traditionally, applications for managing general information do not incorporate management functionalities for the associated spatial information, which is treated independently and, thus, not synchronised. This leads to lack of coordination and can cause management and decision-making processes to be delayed or not have the spatial information updated in real time.
This success case shows the development of a general interface for the integration of spatial information in the worflow of general purpose applications by establishing communication interfaces based on OGC protocols and Open Source tool capabilities, acording to the following workflow:
- Workflow process identification and sending of information in JSON format.
- Representation of the general purpose information using OGC protocols.
- Editing of the spatial and alphanumeric file information via OGC protocols.
- Consolidation of spatial information in the central processing repository.
In this way, by means of Open Source technologies, instantaneous updating of the spatial information associated with procedures is carried out in real time through the use of OGC protocols and Open Source technologies.
This success case proves how, through standard-based interfaces, the absolute integration of spatial data in a centralised repository is achieved and managed in the data production processes in an instantaneous way, resulting in a unified product that allows the processing and management of procedures with spatial information updated in real time.
Technologies: PostGIS, GeoServer, OpenLayers, Mapea, OGC standards, GeoJSON, REST API