Geographic Information Systems

Geographic Information Systems (GIS) are tools used in many fields of knowledge because of their usefulness in handling geographic information and associated data to perform analyses that allow for decision-making.

The Irrigation Sustainability Observatory uses GIS to manage large amounts of graphical information. This information generally derives from the work of the Ministry of Agriculture, other official bodies, and a combination of both. This allows for the study and analysis of various components and variables that directly or indirectly influence irrigation, as well as their monitoring, with the main objective of optimizing resource use and improving the productivity and sustainability of irrigation. To be successful, it is essential to ensure that the information is as up-to-date as possible, which requires complementary fieldwork and office work.

The following document contains the main technical concepts of these tools and practical applications from a general point of view and in irrigation in particular, which will help to contextualize the application of GIS.

WHAT ARE GEOGRAPHIC INFORMATION SYSTEMS?

1 Geographic Information System

Just as a word processor is used to write documents and work with words on a computer, a Geographic Information System (GIS) is used to work with spatial information. It basically consists of:

  • Data: the geographic information that will be represented on a map or analyzed.
  • Hardware: equipment used to store, manage, and display information, enabling work at different scales.
  • Software: programs that allow working with spatial data.

There would be two other elements: the people making the decisions in that work and the methods used to perform it correctly.

With a GIS application you can open maps, create or edit spatial information and perform analysis tasks between different elements of geographic data.

National map captured from the Google Maps Geographic Information System

Figure 1. Example of a Geographic Information System (Google Maps, NASA Images, 2024).

2 Origin and definition

Contrary to popular belief, the origins of GIS date back to the 1960s, with Canada being the pioneering country in its development. By the 1970s, it had become firmly established, and thanks to numerous technological advancements, it has become an invaluable tool in a multitude of professional sectors.

A GIS could be defined as a coherent storage system for spatial information that can be updated, modified, and analyzed with minimal effort.

The definition of a Geographic Information System can also be approached from different points of view.

  • As a project:

An integrated set of computer means and methods, capable of collecting, verifying, storing, managing, updating, manipulating, retrieving, transforming, analyzing, displaying and transferring spatially referenced data about the Earth.

  • As a model of the real world:

Computerized model of the real world, in a reference system linked to the Earth to meet specific information needs.

Diagram showing the components involved in Geographic Information Systems

Figure 2. Components of Geographic Information Systems.

3 GIS software or application

GIS applications are programs with a graphical user interface (GUI) that can be manipulated using the mouse and keyboard and allows the visualization and management of geographic data.

These types of applications facilitate access to numerous analysis tools for the exploitation of geographic data, allowing the creation of new layers, tables, or maps that support further analysis, help resolve and diagnose different situations, and thus make decisions.

3.1 Open Source VS Proprietary

There are numerous GIS applications, ranging from the simplest, with visualization capabilities but few analysis options, to the most complex and sophisticated with a high economic cost.

Currently there are two possibilities for using GIS software, through license payment as is ArcGIS created by the company ESRI (Environmental Systems Research Institute) or free and open source software such as QGIS.

Comparison of the map of Spain from the ArcGIS and QGIS interfaces

Figure 3. ArcGIS interface (left) and QGIS interface (right).

4 Geographic Data

Geographic data is a representation of real-world entities. This modeling can be done using two different methods: vector modeling or raster modeling.

4.1 Vector data

In a GIS, geographic features are often expressed as vectors, while preserving the geometric characteristics of the figures. Real-world modeling is achieved through three types of spatial objects: points, lines and polygons.

The choice of which object to use depends on the nature of the entity being represented and the scale at which it must be represented. For example, a lake can be represented as a polygon, a river as a line, and a water intake as a point at a given scale, but that same river can also be represented as a polygon at a larger scale.

In the following figure you can see part of a simple plan in which different types of spatial objects are represented on an orthophoto according to their topology of point, line and polygon, referring to a modernization of irrigation in the Irrigation Community of Páramo Medio (León-Spain).

Graphic representation of different types of spatial objects in the Páramo Medio Irrigation Community in León

Figure 4. Example of a Sentinel image from June 2, 2023, in northern Badajoz (true color).

4.1.1 Shapefile Files

This is the most widespread file type for storing vector data.

A shapefile (layer) It can contain a single type of spatial object (point/line/polygon) and stores both the coordinates that describe the geometry of the real-world entity, and the alphanumeric attributes that define it.

To store all this information, a single systemhapefile (layer) It is composed of at least 3 files with the same name but different extensions:

ExtensionDescriptionObligation
.shpMain file that stores the geometry of the entity.Mandatory
.dbfTable in which the attributes of each entity are stored.Mandatory
.shxIndex file that stores the geometry index of the entityMandatory
Not mandatory, but highly recommended
.sbnAssociated spatial index fileOptional
.prjStores information about the Reference System (RS)Optional
.xmlRegister the file metadataOptional

Figure 5. Table with the file extensions specific to shapefiles.

The irrigable area of Páramo Medio with the different extensions available in "shapefile""

Figure 6. Example of viewing a shapefile (shp) from the browser.

4.2 Raster data

In a raster model, real-world entities are structured in a matrix of cells (or pixels) organized in rows and columns, where each cell contains a value that represents specific information; height, slope, temperature, cost, time, etc.

In general, aerial photographs, satellite images, and scanned maps are represented under this model.

The raster structure is also widely used when numerous layers of information of different natures need to be crossed to obtain a value that helps us interpret the geographical reality or make a decision about it.

In this way, a hydrographic network can be represented as a raster where cells containing a river have a specific value and cells where there is no network have a null value.

Three images comparing an area viewed in real life, a vector model, or a raster model

Figure 7. Comparison of the modeling of the same area, as a vector model and as a raster model.

4.3 Alphanumeric Data

Alphanumeric data enriches geographic data by providing information associated with a real-world entity. This data is collected in attribute tables, which are linked to the vector or raster file. Two types of alphanumeric data are distinguished: spatial and non-spatial data.

4.3.1 Spatial data

This is alphanumeric information that characterizes geographic data represented geometrically in a vector (point, line, or polygon). This type of data accompanies the vector.

4.3.2 Non-spatial data

They contain alphanumeric information without necessarily having a geographic character. They expand the information of the geographic data; for example, a polygon in a forest inventory can also have a value that functions as an identifier and information about tree species, or a polygon referring to an irrigated area can contain specific information about that area (e.g., the following figure). In raster data, the cell value can store attribute information, but it can also be used as an identifier referring to the records in a table.

Data table associated with the Lower Alberche Canal irrigation area and a satellite image of the area

Figure 8. Example of information associated with the Canal Bajo del Alberche irrigation area (Toledo-Spain) collected in the attributes table.

5 Workflow

Once the definition of a Geographic Information System and the types of data it relies on are known, a standard and simple workflow model can be established that is repeated in any GIS analysis task.

Diagram of a standard workflow used with Geographic Information Systems

Figure 9. Example of information associated with the Canal Bajo del Alberche irrigation area (Toledo-Spain) collected in the attributes table.

5.1 Data Capture

This is the phase in which the geographic and alphanumeric data that feeds our GIS data repository is captured or created. The origin of this data is very varied; from layers already existing in other systems, field data collection, generation of layers from geocoded lists, or integration of satellite data, for example.

5.2 Coordinate Reference System (CRS)

Once the new geographic data is available in a coordinate system, the first step will be to verify its Coordinate Reference System.

As previously mentioned, this data models a real-world entity, and therefore, an essential requirement is that this modeling be based on the correct spatial location of the represented entity. There are different reference frames (RFs), and it will be crucial to know which one is used in the data, as well as the transformation processes between the different RFs.

5.3 Vector and alphanumeric editing. Topology

Once the data has been correctly located in space, its validity is verified, and if necessary, the corresponding edits are made.

This edition can be of two types; vector and alphanumeric.

5.3.1 Vector Editing. Topology

Verification of the accuracy of the represented data: scale and update.

If necessary, appropriate corrections should be made, or another data source that better suits the system's needs should be located.

Topology. The editing of a vector entity must be carried out taking into account the topological relationships established based on the spatial reality represented.

If this reality does not allow overlaps of different elements (for example, the same location cannot be simultaneously inside and outside a single space), the corresponding geometric entity must respect this condition.

This type of editing can be automatic, manual, or a combination of both.

5.3.2 Alphanumeric Edition

Verification of the validity of the data present in the attribute tables or associated data, and where appropriate, the correction of erroneous or outdated records.

This editing can be done manually, although there are also tools to facilitate editing, and it depends on both the GIS application and the database-linked tools used.

5.4 Spatial Analysis

The spatial analysis of our system's data, or geoprocessing, is the fundamental piece of this flow, and it is what leads to obtaining answers and solutions to the problems raised.

As a result of this process, new data will be obtained that will feed the repository and that can again be the subject of subsequent analyses.

5.4.1 Results. Maps / New data

In addition to data that will be stored in our repository, the result of the editing and analysis work can generate paper maps or data that can be served via the web (WMS). In this sense there are many official and unofficial sites that offer these services, among which the website of the Spatial Data Infrastructure of Spain stands out (IDEE) which includes the main services of all Spanish administrations.

List of services with their respective hyperlinks offered by IDEE on its website

Figure 10. Example of WMS services offered by IDEE on its website https://www.idee.es/

6 Some common uses of GIS

Given the characteristics of GIS and as has already been mentioned, its use has many fields that are open to its application and scope.

The Irrigation Sustainability Observatory uses these GIS tools as a fundamental complement, from the representation of different graphic entities on maps to specific analyses based on cross-referencing different layers to obtain information to be used in subsequent calculations.

The following is a very brief description of some of the uses and applications of Geographic Information Systems.

6.1 Map Creation

Geographic Information Systems (GIS) are often mistakenly confused with programs used to create maps. While it's true that they can be used for this purpose, it represents only a small part of the potential of GIS.

Based on source data, compiled and provided by online vendors, etc., and adapted to a specific GIS project, maps can be created at different scales, sizes, and with varying features, as determined by the consulting firm for a particular study. The quality and accuracy of the resulting maps depend on the consulting firm's technical expertise and the experience of the GIS operator.

The purpose of these maps is very diverse. Some examples include: support maps for verification, stakeout, or field work; results maps for studies; etc.

Below are two types of maps with different map sources, such as raster images served by WMS servers (e.g., satellite imagery), layers, or coverages of different topologies. Basic representation elements can be added to the maps, such as north orientation, legend, title block with logos, titles, numerical scale indicating paper size, graphic scale, labeling, etc.

Example 1: Map created from the digitization of a paper plan. Area of General Interest of Alange. Summary of activities: scanning, georeferencing, digitization, adjustments, and integration into the Areas of General Interest layer. The adjusted plan is shown below, incorporating information gathered from legal documents for adjustments. The map is based on the National Topographic Map and includes north orientation symbols, a coordinate grid, a legend, a title block with logos, a description, a scale, and titles.

Original map of the Alange Irrigation Zone (Badajoz) for digitization and integration into a Geographic Information System

Figure 11. Original paper map of the Alange Irrigation Zone (Badajoz-Spain) for digitization and integration into a Geographic Information System. Source: OSR.

Map of the Alange Irrigation Zone (Badajoz) generated by digitization and integration of information on paper

Figure 12. Example of a map generated from the Alange Irrigation Zone (Badajoz, Spain) by digitizing and integrating paper data into a layer (e.g., shapefile) or geodatabase (GDB) of a Geographic Information System. Source: OSR

6.2 Spatial dataset composition and public access to Geoportals

The previous point anticipates the foundation of geographic information systems, which is the creation of these graphic layers. Continuing with the previous example, from a process of gathering information—both graphic (plans like the one in the figure, in digital format, in other formats, etc.) and alphanumeric data derived from official documents, calculations, and so on—different layers are generated. These layers have various uses, one of which, and one that is becoming increasingly common, is online service via servers that enable the integration of this information into a GIS project. There are also portals for displaying this information, commonly known as geoportals.

The Ministry of Agriculture has a Geoportal It contains a large amount of information and is currently being updated with new additions. The following example shows the same area as the previous example (Alange Irrigated Area) integrated into the Geoportal and available to any internet user, who can consult the metadata and information associated with the displayed spatial dataset.

Screenshot of the irrigated area of Alange (Badajoz) as seen from the Geoportal.

Figure 13. Visualization of the National Interest Irrigated Areas layer using the Geoportal. Access to supplementary information for the area consulted (Alange Badajoz Irrigated Area, Spain). Source: MAP: https://sig.mapa.gob.es/visor/#/visor2/geoportal

6.3 Information cross-referencing

In general, for most studies that refer to the territory (e.g., municipalities, provinces, river basins, aquifers, etc.) it is necessary to assess the geographical information associated with layers that can be superimposed and thus have the possibility of interpreting that data and reaching conclusions that are decisive for the specific study.

It is important to emphasize again that Geographic Information Systems should be used as a support tool, and the use of the resulting information is the responsibility of the consultancy conducting the study. It is recommended that the graphic outputs be accompanied by the title of the study and the author in order to always contextualize the information shown.

A basic example of cross-referencing would be calculating the geographic areas of irrigated land per municipality relative to the total area of each municipality. This would require one layer with polygon topology of the municipalities and another with polygons representing irrigated areas. By cross-referencing these layers with existing GIS software tools, the available data would be exported to other formats and manipulated. In practice, the data is exported in a format compatible with spreadsheets or databases like Access, and then the necessary operations are performed.

Two national maps: one showing irrigated areas and the other showing municipalities

Figure 14. Irrigation layer from the Irrigation Sustainability Observatory (OSR) and municipality layer from the National Geographic Institute.

The result, after a few simple operations, would be similar to the following:

Table of data showing the percentages of irrigable land by municipality in Badajoz

Figure 15. Example of the results for the percentage of irrigable land by municipality, derived from GIS layers and processed using spreadsheets and/or databases. Source: OSR.

6.4 Links of interest for Geographic Information Systems in the Ministry of Agriculture

The following is a list of links that provide access to information on Geographic Information Systems available at the Ministry of Agriculture:

General index

en_GBEnglish (UK)