Issue 
4open
Volume 2, 2019
Difference & Differential Equations and Applications



Article Number  27  
Number of page(s)  18  
Section  Mathematics  Applied Mathematics  
DOI  https://doi.org/10.1051/fopen/2019022  
Published online  18 July 2019 
Research Article
Map production and data analysis with local parameters
The case study of the Algarve region
^{1}
FCT – Universidade do Algarve, Campus de Gambelas, 8005139 Faro, Portugal
^{2}
ISE – Universidade do Algarve, Campus da Penha, 8005139 Faro, Portugal
^{*} Corresponding author: holivei@ualg.pt
Received:
18
March
2019
Accepted:
14
June
2019
In this work we perform a geographical analysis of the Algarve region by using local parameters in the three map projections we consider: Transverse Mercator (TMzn), Lambert Azimuthal EqualArea (LAEA) and Lambert Conformal Conic (LCC). We compare the Algarve maps resulting by each one of these representations when the origin of coordinates is moved from the center of mainland Portugal (that is in force) to the center of the Algarve. For the LCC map projection, the analysis takes also into account the change of the upper parallel from the North of Portugal to a latitude inside the Algarve border. The area and perimeter of the Algarve is computed and the location of its geographic center is determined in every map representation. Borders lengths that separates the Algarve from Alentejo and from Spain, and the extents of its South and West coasts, are also computed. We conclude by presenting the map, the values of area and perimeter and the location of the geographic center that should be considered for the Algarve, at different scales and for the available data.
Mathematics Subject Classification: 91D20 / 97I20 / 97R50 / 62H11
Key words: Algarve / TMzn, LAEA and LCC map projections / Geographic center / Area / Perimeter
© H.B. de Oliveira et al., Published by EDP Sciences, 2019
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Introduction
The Algarve is located in the southern part of mainland Portugal and occupies a surface area between 36°57′42″ N (Santa Maria Cape) and 37°31′44″ N (Vascão’s River), and 07°23′35″ W (Guadiana’s Mouth) and 08°59′49″ W (S. Vicente Cape) [1]. All the known cartographic representations of the Algarve are roughly rectangular strips that, in the longest side, extend from East to West between Guadiana River, that separates Portugal from Spain in this part of the border, and the Atlantic Ocean. The North of the Algarve is limited by Alentejo, the largest region of Portugal, and the South, as the West, is bordered by the Atlantic Ocean (see Fig. 1).
Figure 1
Algarve (Landsat 8 image: US Geological Survey (2016)). 
Figure 2
Distinctions between OAM Algarve (green) and NAM Algarve (blue) for TMzn. 
Figure 3
Distinctions between OAM Algarve (green) and NAM Algarve (blue) for LAEA. 
Figure 4
Distinctions between OAM Algarve (green) and NAM Algarve (blue) for LCC. 
In this work, we consider three different map projections to study the distinct cartographic representations of the Algarve that are obatined by using each one of the map projections with the datum of the European Terrestrial Reference System 1989 (ETRS89) that is in force for mainland Portugal. The map projections to be worked out here, are the Transverse Mercator (TMzn), Lambert Azimuthal EqualArea (LAEA) and Lambert Conformal Conic (LCC). For the representation of the Algarve made by each one of these map projections, we will compare the changes that take place when we move the origin of rectangular coordinates that are in force for mainland Portugal to a position in the center of the Algarve. Our comparative analysis will not only take into account the different cartographic representations of the Algarve, but will be mainly focused on what happens with important attributes such as area, perimeter and geographic center.
This article is organized as follows. In the current section, we introduce the main goals of this work. Sections 2 and 3 are directed to explain the materials and methods we use in the sequel. In Section 3, we describe the method and explain the procedure we use, from the extraction of the datum corresponding to the Algarve region to obtaining the different cartographic representations, with the computation of the corresponding areas and perimeters, as well as the location of the geographic centers. For these computations, we derive, in Section 2, a formula for the computation of areas of polygons bounded by a discrete quantity of points. There, we also derive formulae for the computation of perimeters and to find the location of centroids in such polygons. The results of the comparative analysis we perform with TMzn, LAEA and LCC map projections are shown in Section 4. We conclude our work with a discussion of the obtained results in Section 5. In Table 1 below, we define the abbreviations used throughout this text.
Parameters of the GRS80 ellipsoid.
Geometric parameters of the GRS80 ellipsoid.
Parameters of PTTM06 (for mainland Portugal).
Definitions and symbols of TMzn.
Definitions and symbols of LAEA.
Definitions and symbols of LCC.
Used abbreviations.
In Appendix A, we recall the ellipsoid and the datum that we work with, and we also define the accuracy of some geometric parameters that will be used in the considered algorithms of the chosen map projections. The symbols, definitions and algorithms of the direct and inverse TMzn, LAEA and LCC map projections we work with, are presented in Appendices B, C and D, respectively.
Material
In this section, we present some material to be used in our work, in particular the Geodetic Reference System 1980, the considered European Terrestrial Reference System 1989 for mainland Portugal, the three studied map projections, and the derivation of some mathematical formulae that will be of the utmost importance in our analyses.
GRS80
For the development of this work, we consider the definition of the ellipsoid adopted by EuroGeographics ([2], p. 10), which in turn has followed an earlier recommendation of the International Union of Geodesy and Geophysics to use the Geodetic Reference System of 1980 (GRS80). This system was built based on the theory of the geocentric equipotential ellipsoid and is usually defined by a set of geometrical and physical constants. By a geocentric ellipsoid, it means that its origin is the center of mass of the Earth and therefore the center of the ellipsoid coincides with the geocenter. The orientation of the GRS80 system is specified in such a way that the minor axis of the reference ellipsoid be parallel to the direction (rotation axis) defined by the Conventional International Origin for polar motion [3, 4]. The primary meridian in the GRS80 system is defined to be parallel to the zero meridian defined by the Bureau International de I’Heure [3, 5]. Fixing the GRS80 ellipsoid, and observing that this ellipsoid is a surface of revolution, we may neglect, for now, the variations in longitude and consider the projection of the ellipsoid onto a plane xz, with the xaxis pointing in the horizontal direction and the zaxis pointing in the vertical one. The xaxis is made increasing from West to East and the zaxis from South to North. The obtained ellipse has the same semimajor axis and the same flattening coefficient. By using only these two coefficients, it is possible to obtain several geometric parameters that are useful in map projecting with the GRS80 ellipsoid. The precise values of the geometrical and physical constants that we consider in our work, are written in Tables A1 and A2 of the Appendix A.
PTTM06/ETRS89
For the datum, we use the cartographic coordinates that, at the year of 2016, were in force and made available by the responsible Portuguese authority, Direção Geral do Território (DGT, DirectorateGeneral of Territory) [6] under the name of Carta Administrativa Oficial de Portugal (Official Administrative Map of Portugal, OAM Portugal). The underlying set of geodetic coordinates are been produced and maintained by Instituto Geográfico Português (IGP, Portuguese Geographic Institute) following the guidelines of EUREF through the ISO 19111 – Spatial Referencing by Coordinates [7, 8]. In particular, IGP has followed the recommendation by Eurogeographics ([2], p. 10) to adopt the European Terrestrial Reference System 1989 (ETRS89) as geodetic datum and to express and store positions, as far as possible, in ellipsoidal coordinates, with the underlying GRS80 ellipsoid. The establishment of the ETRS89 datum in mainland Portugal was carried out based on international campaigns (1989–1995), which aimed to connect the Portuguese network to the European network. In subsequent years (1997–2004), all the geodetic network of first and second orders of mainland Portugal was observed with GNSS (Global Navigation Satellite System), and its adjustment was done by setting the coordinates of the points stationed in previous international campaigns. The geodetic network of mainland Portugal is now a realization of the ETRS89 with the Transverse Mercator map projection, denoted by PTTM06/ETRS89 [6, 9, 10]. The main features of the PTTM06/ETRS89 are defined in Table A3 of the Appendix A. In the rest of this work, we shall only write PTTM06 whenever we want to refer to PTTM06/ETRS89.
Map projections
We start our analysis with the Transverse Mercator map projection, because the available data (OAM Portugal) are written with respect to PTTM06. It is believed that the adoption of the Transverse Mercator map projection was by reasons of choosing a projection which generated similar coordinates to the ones resulting from the application of the GaussKrüger map projection with Hayford ellipsoid to either the Datum 73 or to the Datum Lisboa, data that had been used in Portugal before ETRS89 [9, 11, 12]. For the sake of completeness, we present, in the Appendices B, C and D, the symbols, definitions and algorithms for both direct and inverse TMzn, LAEA and LCC map projections that we use in our analysis.
Transverse mercator
Mercator map’s projection is classified as a cylindrical conformal map projection and its main characteristics are that meridians are straight lines equally spaced and parallels are unequally spaced straight lines, closer together near the equator, with the meridians cutting perpendicularly. Transverse Mercator is similar to the Mercator projection, except that the axis of the projection cylinder is rotated 90° from the polar axis. The contact line is then a chosen meridian instead of the Equator, and this central meridian runs from pole to pole. It loses the properties of straight meridians and straight parallels of the standard Mercator projection, except for the central meridian, the two meridians 90° away, and the Equator. The scale is true along the central meridian or along two straight lines equidistant from, and parallel to, the central meridian. Moreover, it cannot be edgejoined in a eastwest direction if each sheet has its own central meridian. The abbreviation TM, considered in the Transverse Mercator map above, is used to distinguish the Thematic Mapper (TM) from the Universal Transverse Mercator (UTM). On the other hand, “zn” in the identifier TMzn stands for the zone number. Each zone runs from the equator northwards to latitude 84° North and is 6° wide in longitude reckoned from the Greenwich prime meridian. Portugal, and therefore the Algarve, belongs to Zone 29 which is centred on 9° West and is used between 6° and 12° West [13].
Lambert Azimuthal EqualArea
Lambert Azimuthal EqualArea map projection is mathematically based on a tangent plane to the Earth. It is the only projection that can accurately represent both area and true direction from the center of the projection which can be located anywhere. Concentric circles are closer together toward the edge of the map, and the scale distorts accordingly. This map projection is wellsuited to square or round land masses and it generally represents only one hemisphere [13, 14].
Lambert Conformal Conic
Lambert Conformal Conic map projection is mathematically based on a cone that is tangent at one parallel or, more often, that is conceptually secant on two parallels. The distortion of area is minimal, but increases away from the standard parallels, and great circle lines are approximately straight. North or South Pole is represented by a point, but the other pole cannot be shown. This map projection retains its properties at various scales, and sheets can be joined along their edges [13, 14].
Geometry of a map
The system of cartographic coordinates defines a set of vertices of a polygon that approximates the shape of the Algarve obtained by the application of the chosen map projection to the geodetic network of the Algarve. In this section, we present the formulae that allow us to compute the area, perimeter and to find the location of the geographic center of the Algarve by using each one of the map projections considered in Section 2.3.
Area and perimeter
The problem of figuring out the area of the Algarve consists of evaluating the area of each one of these polygons, and to do that we have to use a practical formula to compute the area of a polygon. Let us denote the mapped region of the Algarve by A, its curved boundary by , which is assumed to be positively oriented, and the system of cartographic coordinates by {(X _{ i }, Y _{ i }): i = 1,…, N}, where N is the total number of mapped points. By using the GaussGreen theorem, the line integral with respect to the coordinates x and y, and the telescopic sum’s property, we obtain,
(1)where denotes the segment joining the point (X _{ i }, Y _{ i }) to (X _{ i+1}, Y _{ i+1}). Since is a closed curve, it is assumed that (X _{1}, Y _{1}) = (X _{ N }, Y _{ N }). Formula (1) is known in some literature, specially of Geographic Information Systems, by the names of shoelace or surveyor. But yet this formula should be more properly denoted as the Gauss area’s formula. It should be noted that underlying to the formula (1) it is implied the positive orientation in which the curve is travelled, i.e. counterclockwise. However, many systems of coordinates that are made available by the national official bodies are organized clockwise, which makes that the curve is negatively oriented. In such cases, formula (1) needs to be multiplied by −1 to revert the orientation of the curve . To avoid these situations, we use the absolute value of (1),
As for the perimeter, we have, by using the line integral with respect to the arc length,
Geometric center
One of the main goals of this work is to determine the geographic center of the Algarve region. By geographic center of a region of the Earth’s surface, it is meant, in this work, the inversion, by the chosen map projection, of the geometric center of the figure corresponding to the planispheric representation of that region. We are thus concerned with the definition of the geometric center of a flat figure. For flat figures, like any regular polygon or the circle, the geometric center is the point of intersection of all the straight lines that divide the figure into two others equal. In this regard, the notion of geometric center corresponds to the physical concept of centroid, i.e. the point of the figure where can be considered the application of the force of gravity of the whole body. This analogy makes sense only if we assume the figure is a thin plate whose material that is made of, is homogeneously distributed. However, for figures bounded by curves, distinct of circles and ellipses, or for the most of irregular polygons, we can not divide them into geometrically equal figures. We are thus interested in defining, in the most comprehensive way, the concept of geometric center. To do it so, we start by considering a system of N particles with masses m _{1}, m _{2},…, m _{ n } distributed in a plane by the points of coordinates (X _{1}, Y _{1}), (X _{2}, Y _{2}),…, (X _{ n }, Y _{ n }), respectively. By definition, the center of mass of this system is given by the point of coordinates , where,
and M = m _{1} + m _{2} + … + m _{ n } is the total mass of the system. If instead of a finite system of particles, we are working with a mass ρ = ρ(x, y) continuously distributed over a flat region, the center of mass is defined by a usual limit process. Let us assume that the figure A corresponds to the projection of a thin plate with density ρ. In this case, the center of mass is given by the point of coordinates , where,
(4)and dxdy, or dydx, represents an element of area. When the plate is homogeneous, and thus the density ρ is constant, the center of mass is called centroid, and therefore (4) is written in the following form,
(5)where A denotes here the area of A which in turn is given by (2). Proceeding as we did for (1), we obtain from (5),
Observe that the formulae (6) and (7) are valid regardless of the orientation of the curve . In fact, if was negatively oriented, this effect in the formulae (6) and (7) would be cancelled when dividing by A.
Methodology
The chosen map projections
The Earth is roughly a sphere, and if we try to wrap a piece of plain paper around it to make a map, we will have a lot of wrinkles and folds. In fact, due to the Gauss Egregium theorem [15, 16], representing a portion of the curved surface of the Earth on a flat piece of paper, without introducing any distortion, is mathematically impossible. Since all the map projections are somehow distorted, the choice of the projection must be done accordingly to the aims of each particular purpose. The main characteristics normally considered in choosing a map projection are the area and the shape. Most common and most important projections are conformal, i.e. they are angle preserving. Because local angles are correct, meridians intersect parallels at right angles on a conformal map projection. However, in conformal maps, the areas are generally enlarged or reduced throughout the map. Equalarea map projections are designed in a way such that on one part of the map they cover exactly the same area of the represented portion of the Earth’s surface. But to do it so, shapes, angles, and scale must be distorted on most parts of such a map [13, 14]. The consideration of TMzn, LAEA and LCC map projections in our work follows a recommendation by EuroGeographics ([2], p. 10) that suggests to adopt:

Transverse Mercator map projection (TMzn) for conformal panEuropean mapping at scales larger than 1:500 000;

Lambert Azimuthal EqualArea map projection (LAEA) for the statistical analysis and display;

Lambert Conformal Conic map projection (LCC) for conformal panEuropean mapping at scales smaller or equal to 1:500 000.
For the LCC map projection, we also follow the recommendation by EuroGeographics ([2], p. 40) to consider this projection with two parallels of conserved scale. Therefore, our study with LCC map projection will also take into account the change of the upper parallel from the extreme north of Portugal to a much more southerly position in the northern extreme of the Algarve.
Official administrative maps of the Algarve
The procedure we use to obtain the distinct official maps of the Algarve we work out in this study, is described in what follows (see also Diagram 1 below). Departing from the OAM Portugal, 86,868 pairs of coordinate points, that represent the mainland of the Algarve region, were selected with the software ArcGIS (Release 10.2.1) and then exported to an Excel spreadsheet. This new set of geographic coordinates is denoted in the sequel by Official Administrative Map of the Algarve (OAM Algarve). To obtain the OAM Algarve, we should mention that we did not took into account none of the islets in the Algarve shore, which in most cases have areas less than 2 ha. Then, applying the algorithm of the inverse TMzn map projection (see Appendix B) to the OAM Algarve, we obtain the geodetic network of the Algarve (Geodetic Algarve). Next, applying the algorithms of the direct LAEA and LCC map projections (see Appendices C and D), we project the Geodetic Algarve giving rise to another two sets of geographic coordinates of the Algarve that we also denote by OAM Algarve. Whenever there is danger of ambiguity, we will always mention what projection gave rise to the considered OAM Algarve, as shown in Diagram 1.
Diagram 1
General procedure and used softwares. 
The geodetic coordinates at the origin of rectangular coordinates and the false easting and false northing, we adopt here to obtain the distinct OAM Algarve, are the ones suggested by PTTM06 (see Table A3 in the Appendix A). In the particular case of the OAM Algarve obtained by the application of the LCC map projection, the upper and lower parallels, that we here consider, correspond to the latitude components of the geodetic coordinates of the northern and southern geodetic vertex we took from the national geodetic network of Portugal that is in force [17] (see Table 2 below).
Upper and lower parallels of the LCC map projection for mainland Portugal.
All the computations we do to produce the Geodetic Algarve and the two OAM Algarve obtained by using LAEA and LCC map projections, are performed with the software Maple (Release 18). As for the figures, they are produced with the software ArcGIS, which, for designing the map of each OAM Algarve, has revealed better graphics than Maple. For the computations, we choose to use Maple instead of ArcGIS, because in the latter we cannot access the expressions of the mathematical formulae that are being used.
New administrative maps of the Algarve
In the next stage, we use the formulae (2), (3), (6) and (7) to compute the area, different notions of perimeter and the centroid of each polygon representing the OAM Algarve and that results by the application of TMzn, LAEA and LCC map projections. Using now the geodetic coordinates of the centroid (geographic center) of each OAM Algarve as the origin of rectangular coordinates, we project again the Geodetic Algarve with all the considered map projections. With this procedure, we obtain three distinct maps that we denote each as New Administrative Map of the Algarve (NAM Algarve), and for which we will also mention the underlying map projection whenever there is danger of ambiguity. It should be mentioned here that, besides the origin of rectangular coordinates, the only change in the parameters values of Table A3 in the Appendix A and of Table 2 above, is that the upper parallel, used in the algorithms of both direct and inverse LCC map projection, moves to a latitude inside the Algarve region. With this respect, we consider the northernmost geodetic vertex of the Algarve region in the national geodetic network of Portugal that is in force [17] (see Table 3 below).
Upper and lower parallels of the LCC map projection for Algarve.
For each NAM Algarve, that results by the application of TMzn, LAEA and LCC map projections, we again use the formulae (2), (3), (6) and (7) to compute the area, perimeters and the centroid of each polygon that represents the NAM Algarve. For each used map projection, we perform a comparison analysis of the maps and of the attributes of area, perimeter and centroid that result by changing from the OAM Algarve to the NAM Algarve. In Diagram 2 we present, in a schematic form, this procedure as well as the analysis that we do in the sequel.
Diagram 2
Comparison analysis of the OAM Algarve with the NAM Algarve. 
The notations TMzn^{−1}, LAEA^{−1} and LCC^{−1}, considered in Diagram 2, stand for the inverse TMzn, LAEA and LCC map projections, respectively. Moreover, by the notation OC Portugal and OC Algarve, we mean the geodetic coordinates at the origin of rectangular coordinates given by PTTM06 (see Table A3 in the Appendix A) for mainland Portugal and given by the geographic center of the Algarve, respectively. In this part, we again perform all the computations with the software Maple and the figures are produced with the software ArcGIS.
Root mean square error
Besides the maps and the attributes of area, perimeter and centroid, for the discussion of our results we also use the average magnitude of the error that results from passing from the OAM Algarve to the NAM Algarve with each considered map projection. To evaluate this average magnitude of the error, we use the root mean squared error (RMSE), i.e. the square root of the average of squared differences between the data of the OAM Algarve and of the NAM Algarve. We consider reference [18] for the formula of the horizontal RMSE,
where RMSE_{ x } and RMSE_{ y } are the root mean squared errors in each component of the dataset coordinate values,
Here, (x _{ i }, y _{ i }) are the coordinates of the ith check point in the data sets of the representations of the Algarve with the origin of rectangular coordinates given by PTTM06 (see Table A3 in the Appendix A). The coordinates of the ith check point in the data sets with the origin of rectangular coordinates given by each centroid, is denoted here by . We also compute the ratio between RMSE_{ x } and RMSE_{ y } for each dataset of the OAM Algarve and of the NAM Algarve.
Results
In this section, we analyze the problem with the map projections recommended to be used by EuroGeographics ([2], p. 10) (see Sects. 2.3 and 3.1). We start this analysis with the Transverse Mercator map projection, then we consider the Lambert Azimuthal EqualArea map projection and finally we conclude the analysis with the Lambert Conformal Conic map projection.
In Tables 4–6, we compare the area, perimeter and geographic center of the Algarve when it is represented by the maps obtained from the OAM Algarve and the NAM Algarve and that result by the application of the TMzn, LAEA and LCC map projections in each case.
Analysis by using OAM Algarve (1st line) and NAM Algarve (2nd line) with TMzn.
Analysis by using OAM Algarve (1st line) and NAM Algarve (2nd line) with LAEA.
Analysis by using OAM Algarve (1st line) and NAM Algarve (2nd line) with LCC.
In Table 6 below, besides a comparison analysis similar to the one made in Tables 4 and 5, we also present the information of the chosen upper and lower parallels in the application of the LCC map projection.
Sometimes there is a practical interest to know the extent of some particular sections of the border of a given region, whether they are on land or at the coast. In Tables 7–9 we compare lengths of different sections within the Algarve border, specifically the extension of land and coastal boundary lines and, within these, the extent of the border that separates the Algarve from Alentejo, the border with Spain along Guadiana River and the extension of the South and West coasts of the Algarve.
Borders of the Algarve by using OAM Algarve (1st line) and NAM Algarve (2nd line) with TMzn.
Borders of the Algarve by using OAM Algarve (first line) and NAM Algarve (second line) with LAEA.
Borders of the Algarve by using OAM Algarve (1st line) and NAM Algarve (2nd line) with LCC.
As we did for Table 6 above, we also mention here, that in Table 9 below, we additionally present the information of the chosen upper and lower parallels in the application of the LCC map projection.
In Figures 2–4 we overlay the maps obtained from the OAM Algarve and the NAM Algarve, that result by the application of the TMzn, LAEA and LCC map projections, respectively. For each map projection, the maps resulting from the OAM Algarve and the NAM Algarve are overlapped so that the centroids coincide at the same point. For all the maps represented in Figures 2–4, we choose the same reference point, with the geodetic coordinates 37°18′16″ N and 08°52′31″ W. Near this point, we do enough zoom in so that the differences between the maps resulting from the OAM Algarve and the NAM Algarve can be noticed in each case.
In Table 10 we compute the root mean squared error (RMSE) that results by passing from the OAM Algarve to the NAM Algarve with each considered map projection. In this case, RMSE values give the square root of the average of the set of squared differences between dataset coordinate values of the representations of the Algarve, by using TMzn, LAEA and LCC map projections, that are in force and coordinate values from the representations of the Algarve when we move the center of coordinates to the geographic center of the Algarve.
Root mean squared error.
Discussion
In this work, we have performed an analysis of the cartographic representations of the Algarve with TMzn, LAEA and LCC map projections. This analysis took into account the change of the geodetic coordinates of the origin of rectangular coordinates to the geographic center of the Algarve. For the LCC map projection, the considered upper parallel had also to be moved to a latitude inside the Algarve. With these modifications we introduced, the resulting maps, as well as the studied attributes, underwent some changes. Depending on the map projection under consideration, or on the studied attribute, these changes can be more or less noticed. With respect to the area attribute, as we can see in Table 11, this study shows, as it was expected, that the conformal map projections TMzn and LCC are the most affected by the change of the origin of rectangular coordinates. For the LCC map projection, the area is not only affected by this change, but rather more by the confinement of the upper parallel within the Algarve region. In this case, the change in area, and in lesser dimension in perimeter, is substantially affected, which shows that when using the LCC map projection the upper and lower parallels need always to be confined within the region under study. We this study, we can confirm that, for the LCC map projection, the distortion of area increases away from the standard parallels [13, 14]. In general, the geographic center of the Algarve is not so affected by these changes, in particular for the conformal map projections. With respect to the perimeter, this depends on the shape of the mapped region and therefore conformal maps give more accurate values. The area, as it was expected, was not so affected by moving the origin of rectangular coordinates in the application of the LAEA map projection. This confirms what is know, that LAEA map projection is the only one that can accurately represent both area and true direction from the center of the projection and which can be located anywhere [13, 14].
Variations by changing the origin of PTTM06 to the geographic center of the Algarve.
In what regards to the maps produced with each map projection, we observe that there are no significant differences, which is largely due to the small size of the Algarve. However, if, for each map projection, we zoom in sufficiently, we can see that distances, measured from the geographic center to the same geodetic point of coordinates on the Algarve border, change when passing from the map produced with the OAM Algarve to the map produced with the NAM Algarve. In Figure 2, obtained with the Mzn map projection, we realize that the differences are only observed for a resolution of up to 1 m, whereas in Figure 3, obtained with the LAEA map projection, the differences are already noticed for a resolution of up to 10 m. With this respect, the major difference is observed in Figure 4, obtained with the LCC map projection, where the differences are well observed for a resolution of up to 20 m. The maps resulting from the TMzn map projection (see Fig. 2) were expected since, in our study, the origin of coordinates was moved from the center of mainland Portugal to a southernmost location, but the longitudinal change was not nearly noticed. If, on the contrary, the longitudinal change had been much more noticeable than the latitudinal one, then the differences would be much more significant. This problem would be even worse if the central meridian of the projection was moved [13, 14], a situation which may well occur when crossborder studies are carried out, for instance between the Algarve and Andalusia (Spain). About the maps obtained with the LAEA map projection (see Fig. 3), although, as we saw above, there are some shape differences, the corresponding areas are practically equal. As for the maps produced with the LCC map projection (see Fig. 4), we observed that distances measured from the center of the projection are altered from up 20 m. In many parts of the western coast of the Algarve, this difference can mean being on a cliff top or already in the sea, inside water. These differences are mainly due to a change of the upper parallel of more than 4 (4°37′19.0948″) to a southern location. However, if the lower and upper parallels remain within the study region, this projection is potentially very useful for crossborder studies, as for instance between the Algarve and Andalusia, since their maps can be edgejoined in a eastwest direction.
Table 10 shows that the value of the horizontal RMSE (root mean squared error) is increasing by the application of the TMzn, LAEA or LCC map projection, being the first one very small as it was expected from the previous results. The Ratio shows that, only for the LAEA map projection, the value of the RMSE in both coordinates is very similar. For the other map projections, the RMSE_{ x } and RMSE_{ y } values show differences with some meaning, particularly for the LCC map projection. The main interpretation we can withdraw from Table 12, is that the dataset of the OAM Algarve has much lesser deviation, both horizontal and vertical, from the dataset of the NAM Algarve for the TMzn map projection than for the LAEA and LCC map projections. With respect to only the horizontal component, the LAEA and LCC map projections show almost the same deviation when passing from the dataset of the OAM Algarve to the dataset of the NAM Algarve. For the vertical component, this no longer happens, and we observe that the LCC map projection stands out with the higher deviation.
Map, area, perimeter and centroid of the Algarve.
In Table 12, we present the values of area and perimeter, as well as the location of the geographic center, that this study suggests to be considered for the Algarve, with respect to the NAM Portugal, and at different scales.
We found that the area of the Algarve differs a little bit from 4996.80 km^{2}, the value that is considered by the national bodies that display statistical analysis for the region ([1], p. 17). But the value that differs most is the perimeter of the Algarve, 582 km displayed at ([1], p. 17), being the extent of the coast line responsible for this discrepancy. With this regard, compare the values of the length of the coast line we obtained in Tables 8 and 9 (around 297.8 km) and the value 318 km that is displayed at ([1], p. 17).^{1} This difference might be due to the elimination of all islets from the Algarve coast that we did in our work. Our opinion is based in the fact that when we run the ArcGIS software to find the perimeter of the OAM Portugal for Algarve, without removing those islets, we found a similar value to the one displayed by ([1], p. 17). We think our approach is appropriated, because in a certain sense these islets artificially increase Algarve’s perimeter. We note that already in Figure 1 we have shown the site (Benafim) where the geographic center of the Algarve is located. Although the geographic center of the Algarve is more accurately given by TMzn and LCC map projections, as informed in Table 12, we can also say this site also holds for the centroid found with the LAEA map projection.
Conflict of interest
The corresponding author certifies that the paper has not been published (in any language), and is not now and will not be under consideration by another journal while it is considered in 4open. The authors declare they have no conflict of interest.
Appendix A
Abbreviations and main parameters
In this appendix, we present the exact values of the parameters of the GRS80 ellipsoid that we use in our computations [2, 3, 13, 14]. We also recall the attributes of the map projection PTTM06 considered for mainland Portugal [6, 9, 10]. The precise values of the geometrical and physical constants that we consider in our work, are written in Tables A1 and A2 and follow very well known established conventions [2, 3, 13, 14].
In Table A1, the equatorial radius a is the semimajor axis of the meridian ellipse and the semiminor axis will be denoted by b (see Table A2 below), also known as polar radius. The geocentric gravitational constant GM is the product of the Newtonian gravitational constant, G, with the total mass of the Earth, M. J _{2} is the dynamical formfactor, which describes the effect of the polar flattening on the Earth’s gravitational potential, and ω = 2π/T is the angular frequency, being T the period of a Earth’s day.
Since the polar flattening coefficient can be determined only through the semimajor and semiminor axes (see Tables A1 and A2 above), sometimes the definition of a particular ellipsoid can be made by fixing a semimajor axis a and a flattening coefficient f [3].
The main features of PTTM06/ETRS89 we consider in this work are defined in Table A3 and follow the orientations of the national authority [6].
Appendix B
TMzn algorithms
The symbols, definitions and algorithms for both direct and inverse Transverse Mercator map projection written here are from ([14], pp. 80–84) with the corrections made in ([2], pp. 116–118). In Table B1 we present the definitions and symbols used in the conversion formulae for the Transverse Mercator projection we use in our study.
We start by defining the radius of curvature in the prime vertical,
The following constants,
are used to compute the meridian arc formulae,
Then, inputting the geodetic coordinates (ϕ, λ) of a point P, the grid coordinates (E, N) of P are obtained through the formulae,
(B.5)where S is defined through (B.3) by replacing ω _{0} with ω, which in turn is defined through (B.2) replacing there ϕ _{0} by ϕ. The other parameters involved in (B.4) and (B.5) are defined by the formulae,
For the inverse computation formulae, we need first to introduce the following meridional arc formulae,
Then, inputting the grid coordinates (E, N) of a point P, its geodetic coordinates (ϕ, λ) are determined by the formulae,
being R _{ f } defined with the help of (B.1) replacing there ϕ by ϕ _{ f }, and,
being defined through (B.6) by replacing there ϕ by ϕ _{ f }.
Appendix C
LAEA algorithms
The symbols, definitions and algorithms of the Lambert Azimuthal EqualArea map projection we consider in our analysis are from ([13], pp. 187–190) with the simplifications made in ([2], pp. 123–125). In Table C1 we present the definitions and symbols used in this work for the Lambert Azimuthal EqualArea map projection.
Next, we start by writing the formulae for the computation of the direct conversion, but first, and due to the presence of an ellipsoid, the geodetic latitude ϕ is converted to authalic latitude β. The general formulae to convert geodetic latitude and longitude (ϕ, λ) to northing Y and easting X start with,
(C.1)and correspondingly formulae for q _{0} and q _{ p } obtained from (C.1) by replacing ϕ with ϕ _{0} and 90°, respectively. The authalic latitude is determined by,
(C.2)with the formula for β _{0} obtained from (C.2) by replacing there q with q _{0}. The mapping radius at latitude 90° is given by,
In order to achieve correct scale in all directions at the center of projection, a slight adjustment is made by using,
(C.4)Thus, inputting the geodetic coordinates (ϕ, λ), the northing and easting coordinates (X, Y) are determined by,
The reverse formulae to derive the geodetic latitude and longitude of a point from its northing and easting values are,
where D and β _{0} are defined in (C.2) and (C.4), respectively, and
and R _{ q } is defined at (C.3).
Appendix D
LCC algorithms
The symbols, definitions and algorithms we consider throughout this work for the Lambert Conformal Conical Projection follow the approach of ([2], pp. 119–122). However, in order to fix some typos we have detected, we needed the original reference ([14], pp. 136–139). In Table D1 we present the definitions and symbols used for the Lambert Conformal Conical Projection that had to be considered.
The formula we consider for the isometric latitude of the lower parallel is,
The formulae are mutatis mutandis the same for the isometric latitudes of the upper parallel, of the projection origin and of the grid origin, Q _{ u }, Q _{ 0 } and Q _{ b }, respectively. The used ellipsoid constants are:
and mutatis mutandis for W _{ u } and W _{0}. Observe that the constants and expressions within Lambert’s conical mapping equations are ellipsoid and zone specific. The formula for the sine of the central parallel is given by
The mapping radius at the equator and at the central parallel are computed by using, respectively, the following formulae,
(D.2)where exp(x) denotes the exponential function of natural basis, the Neper number, approximated here by exp(1) = 2.7182818284590452353602875. The formulae for computation of the direct conversion are given as follows. Inputting the geodetic coordinates (ϕ, λ) of a point P, its grid coordinates (E, N) are given by
where the convergence angle γ is determined by
and the mapping radius R at latitude ϕ is computed by formula (D.2) with Q _{ b } there replaced by Q, which in turn is computed by formula (D.1) with ϕ _{l} in this formula replaced by ϕ. With respect to the formulae for computation of the inverse conversion they are given next. Inputting now the grid coordinates (E, N) of a point P, its geodetic coordinates (ϕ, λ) are given as follows. The geodetic longitude λ is determined by
where, in this case, the convergence angle is computed through,
The geodetic latitude ϕ is determined through an iterative scheme defined by,
This procedure must be iterated as needed to obtain ϕ with sufficient accuracy. The expressions for the isometric latitude and for the mapping radius at sought latitude ϕ are given, respectively, by,
References
 SYA (2015), Statistical yearbook of Algarve region 2015, Ed.: Instituto Nacional de Estatística, Lisbon, Portugal (2016). Retrieved from https://www.ine.pt on March 2017. [Google Scholar]
 Annoni A, Luzet C, Gubler E, Ihde J (Eds.) (2003), Map projections of Europe, EuroGeographics, European Comission, Brussels, Belgium. Retrieved from http://www.ecgis.org/sdi/publist/pdfs/annonietal2003eur.pdf on March 2017. [Google Scholar]
 Moritz H (1984, 2000), Geodetic reference system 1980. Bull Géod 58, 3, 388–398, Republished (with corrections) in, J. Geod. (2000), 74(1), 128–162. [Google Scholar]
 Baetsle PL (1967, Secrétaire de la Section I), Le deuxieme symposiun international sur les calculs geodesiques. Bull. Géodésique 86, 1, 395–403. [Google Scholar]
 Petit G, Luzum B (Eds.) (2010), IERS conventions: International Earth Rotation and Reference Systems Service. IERS Tech Note 36, 2010. [Google Scholar]
 DGT (2017), DirectorateGeneral of Territory (In Portuguese: Direção Geral do Território). Accessed at www.dgterritorio.pt/ on March 2017. [Google Scholar]
 EUREF (2017), International Association of Geodesy (IAG), reference frame subcommission for Europe, integrated in the subcommission 1.3. Accessed at www.euref.eu/ on March 2017. [Google Scholar]
 IGP (2017), Portuguese Geographic Institute (In Portuguese: Instituto Geográfico Português). Accessed at www.igeo.pt/ on March 2017. [Google Scholar]
 ICA National Report, Portugal (2015), National report to the 16th General Assembly of the International Cartographic Association, Edition: DirectorateGeneral of Territory (DGT), 2015. Retrieved from http://www.dgterritorio.pt on March 2017. [Google Scholar]
 Vasconcelos M, Botelho H, Kol H,Casaca J (June 2007), The Portuguese geodetic reference frames, Poster presented at the XXIV IUGG General Assembly, Perugia, Italy. [Google Scholar]
 Gaspar JA (2004), Dictionary of cartographic sciences (In Portuguese: Dicionário de Ciências Cartográficas), Lidel, Lisbon. [Google Scholar]
 Gonçalves JA (2017), Adoption of global geographic reference systems. (In Portuguese: Adopção de Sistemas de Referenciação Geográfica Globais). Retrieved from http://www.fc.up.pt/pessoas/jagoncal/coordenadas/paper_esig2008.pdf on March 2017. [Google Scholar]
 Snyder JP (1987), Map projectionsa working manual: USGS Professional Paper 1395, Government Printing Office, Washington. [Google Scholar]
 Hooijberg M (1997), Practical geodesy, SpringerVerlag, Berlin – Heidelberg. [CrossRef] [Google Scholar]
 Do Carmo MP (1976), Differential geometry of curves and surfaces, PrenticeHall, London. [Google Scholar]
 Zeidler E (1988), Nonlinear functional analysis and its applications, Vol. IV, SpringerVerlag, New York. [CrossRef] [Google Scholar]
 NGN (2016), Portuguese National Geodetic Network. (In Portuguese: Rede Geodésica Nacional). Accessed at http://www.dgterritorio.pt/cartografia_e_geodesia/geodesia/redes_geodesicas/rede_geodesica_nacional/ on March 2017. [Google Scholar]
 GPAS (1998), Geospatial Positioning Accuracy Standards, Part 3: National Standard for Spatial Data Accuracy, US Federal Geographic Data Committee. Retrieved from https://www.fgdc.gov/standards/projects/accuracy/part3/chapter3 on July 2017. [Google Scholar]
Cite this article as: de Oliveira HB, GranjaMartins F & Fernandez HM 2019. Map production and data analysis with local parameters. 4open, 2, 27.
All Tables
Borders of the Algarve by using OAM Algarve (1st line) and NAM Algarve (2nd line) with TMzn.
Borders of the Algarve by using OAM Algarve (first line) and NAM Algarve (second line) with LAEA.
Borders of the Algarve by using OAM Algarve (1st line) and NAM Algarve (2nd line) with LCC.
Variations by changing the origin of PTTM06 to the geographic center of the Algarve.
All Figures
Figure 1
Algarve (Landsat 8 image: US Geological Survey (2016)). 

In the text 
Figure 2
Distinctions between OAM Algarve (green) and NAM Algarve (blue) for TMzn. 

In the text 
Figure 3
Distinctions between OAM Algarve (green) and NAM Algarve (blue) for LAEA. 

In the text 
Figure 4
Distinctions between OAM Algarve (green) and NAM Algarve (blue) for LCC. 

In the text 
Diagram 1
General procedure and used softwares. 

In the text 
Diagram 2
Comparison analysis of the OAM Algarve with the NAM Algarve. 

In the text 
Current usage metrics show cumulative count of Article Views (fulltext article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.