Experimental Study of the Levels of Street Lighting Using Aerial Imagery and Energy Efficiency Calculation

This article describes an innovative method for measuring lighting levels and other lighting parameters through the use of aerial imagery of towns and cities. Combined with electricity consumption data from smart electricity meters, it was possible to measure the energy efficiency of public lighting installations. The results of this study also confirmed that lighting measurements, installation material, luminaire position, and electricity consumption data can be easily integrated into geographic information systems (GIS). The main advantage of this new methodology is that it provides information about lighting installations in large areas in less time than more conventional procedures. It is thus a more effective way of obtaining the data required to calculate the energy efficiency of lighting levels and electricity consumption. There is even the possibility of generating street lighting maps that provide local administrations with up-to-date information regarding the status of public lighting installations in their city. In this way, modifications or improvements can be made to achieve greater energy savings and, if necessary, to correct the distribution or configuration of public lighting systems to make them more efficient and sustainable. This research studied levels of street lighting and calculated the energy efficiency in various streets of Deifontes (Granada), through the use of aerial imagery.


Introduction
The European Union has set itself the ambitious goal of increasing energy efficiency by 20% by the year 2020.Lighting represents approximately 50% of the electricity consumption of cities.Therefore, European cities can play a very important role in reducing their carbon footprint by implementing innovative solutions that respect the environment in public lighting installations.Examples of such solutions are lighting installations powered by renewable sources [1] or the replacement of lamps by others with better chromatic reproduction [2].More specifically, it was found that for lighting classes with lower luminance levels, metal halides (MH) lamps were economically comparable or even more favorable than high pressure sodium (HPS) lamps.Now more than ever, after the recent economic crisis, local governments are obliged to reduce their expenses in order to meet their financial commitments.In this regard, one of the largest expenses in towns and cities is energy consumption, especially by public lighting [3].Another important consideration is the need to comply with local, national and international regulations [4][5][6] regarding the optimization of lighting levels in order to reduce or eliminate light pollution [7].Precisely for this reason, administrations must have access to up-to-date information regarding public lighting and light values in order to remedy any actual or potential non-compliance.This paper presents an innovative method for compiling information on lighting levels, uniformity and energy consumption in geographic information systems (GIS) [8,9].Such data are extremely useful when performing energy audits of public lighting.All the information is stored as layers, which form maps of public lighting.This method provides valuable data to town and city administrators, who need to know the current state of their street lighting installations.It also generates street lighting maps of their cities with real luminance or illuminance values as well as electricity consumption levels.This information can thus be used to make decisions and carry out corrective actions.
Currently, public lighting maps are based on countless measurements of luminance or illuminance values at street level (obtained with luminance meters or luxmeters).These values are then transferred to a map.Since each measurement must be associated with a value that identifies its geographic coordinates, measurements must also be georeferenced.The number of measurements required for these maps complicates data collection considerably.
Nowadays, the illumination of roads or streets is evaluated with different methods.For example luminance can be determined with spot luminance meters (or photometers), which measure the luminance of a small area [10].This method involves making many measurements to evaluate the illumination of a road.Other authors [11] measured illuminance levels using a luxmeter placed on top of a moving vehicle and combined measurements with the location data of a distance measurement instrument or GPS.To quickly measure luminance at various points, another alternative is the use of digital cameras [12,13], where a single image evaluates the illumination of a larger road area.
Our study used digital cameras integrated in low-weight drones to take nocturnal orthoimages [14] of streets or roads and thus evaluate their lighting levels.Unlike other options, this method permitted a more rapid evaluation because a single image provided simultaneous information of several streets.The methodology described in this paper allowed us to obtain a large quantity of luminous data.For this purpose, extensive areas were covered in a short time in order to determine the average real values of luminance or illuminance, electricity consumption, and the energy efficiency of public lighting installations.Our research objectives were the following:

•
To obtain reliable information that allows local administrations to make decisions about their public lighting, based on knowledge of which areas have correct lighting levels, according to the classification of roads [15].

•
To ascertain the energy efficiency levels of public lighting installations in each street and the entire urban area.

•
To obtain a decision-making tool for the application of appropriate actions that influence energy consumption and economic savings, and therefore improve the energy efficiency of public lighting installations [16,17].

•
To create a tool based on geographic information systems [8,9] with all information pertaining to public lighting installations.
The rest of the paper is organized as follows: Section 2 explains the materials and methods used in the procedure and the background of energy efficiency in street lighting and energy classification.Sections 3 and 4 present the results and discuss them in the context of various examples; and finally, Section 5 lists the most important conclusions that can be derived from this research.

Materials and Methods
The general procedure for obtaining lighting levels with airborne digital cameras and estimating energy efficiency levels was composed of the following stages:

•
Calibration of the digital camera using light patterns of known luminance.This calibration must be carried out in the final working conditions.

•
Capture of nocturnal images (orthoimages) of illuminated streets/roads.The previously calibrated airborne digital camera measures the light reflected by the pavement (luminance of the pavement).
• Calculation of the average values of the lighting parameters in the streets/roads with image processing tools.

•
Calculation of the electrical power consumed by the lighting installations on each street, using the smart meters located in the public lighting control boxes.To carry out this calculation, it was necessary to have previously audited the elements of the installation (lamps, auxiliary equipment, etc.).Generally speaking, this work is carried out by the public administration that manages the installation.

•
Implementation of the lighting levels, luminaire locations, electrical characteristics of the lighting systems, and power consumed on each street into GIS.With all this information, GIS can automatically calculate the energy efficiency of each street.In the GIS software, equations are used to obtain the energy efficiency levels that must be implemented.
Aerial images (orthoimages) were captured with an airborne digital camera with a 4056 × 3040 pixels CMOS (Complementary Metal-Oxide-Semiconductor) sensor, ISO (ISO is a photographic film's sensitivity to light and acronym of International Organization for Standardization) range of 100-1600/3200 (auto/manual mode) and shutter speed ranging from 8 to 1/8000 s.Regarding optics, the camera has a lens with 85 0 Field of View (FOV) and f/2.8.
Even though this camera is not an instrument that measures luminance magnitude, it is possible to transform it into a photometer [12,18].The information obtained in each pixel of its sensor can thus be related to the real luminance value of luminance captured in an image.To detect the luminance through any image (object image), we used a standard image of a luminous source of known luminance.Both images (object and standard images) had to be taken under the same conditions (exposure time, ISO value, aperture, camera-object distance, etc.).The luminous source consisted of a system of 15 halogen lamps arranged inside a box and covered by a diffusing screen.As shown in Figure 1, the lamps are connected in parallel to a variable power supply, which provided different luminance values.To ascertain the luminance emitted by the luminous source as a function of electrical power, we used a photometer that measures luminance (see Figure 2) and a wattmeter that measures electrical power.


Calculation of the average values of the lighting parameters in the streets/roads with image processing tools. Calculation of the electrical power consumed by the lighting installations on each street, using the smart meters located in the public lighting control boxes.To carry out this calculation, it was necessary to have previously audited the elements of the installation (lamps, auxiliary equipment, etc.).Generally speaking, this work is carried out by the public administration that manages the installation.


Implementation of the lighting levels, luminaire locations, electrical characteristics of the lighting systems, and power consumed on each street into GIS.With all this information, GIS can automatically calculate the energy efficiency of each street.In the GIS software, equations are used to obtain the energy efficiency levels that must be implemented.
Aerial images (orthoimages) were captured with an airborne digital camera with a 4056 × 3040 pixels CMOS (Complementary Metal-Oxide-Semiconductor) sensor, ISO (ISO is a photographic film's sensitivity to light and acronym of International Organization for Standardization) range of 100-1600/3200 (auto/manual mode) and shutter speed ranging from 8 to 1/8000 s.Regarding optics, the camera has a lens with 85 0 Field of View (FOV) and f/2.8.
Even though this camera is not an instrument that measures luminance magnitude, it is possible to transform it into a photometer [12,18].The information obtained in each pixel of its sensor can thus be related to the real luminance value of luminance captured in an image.To detect the luminance through any image (object image), we used a standard image of a luminous source of known luminance.Both images (object and standard images) had to be taken under the same conditions (exposure time, ISO value, aperture, camera-object distance, etc.).The luminous source consisted of a system of 15 halogen lamps arranged inside a box and covered by a diffusing screen.As shown in Figure 1, the lamps are connected in parallel to a variable power supply, which provided different luminance values.To ascertain the luminance emitted by the luminous source as a function of electrical power, we used a photometer that measures luminance (see Figure 2) and a wattmeter that measures electrical power.

Camera Calibration Procedure
The average luminance values in street lighting range from 0.2 to 5 cd/m 2 , depending on the lighting class of the road.This is thus the luminance range of the pattern.To obtain this range of luminance, the lighting source is connected to a variable voltage source.Accordingly, for each voltage or power consumed (measured with a wattmeter), the system emits a certain luminance value.Figure 3 shows the relationship between the luminance emitted and the electrical power consumed.All measurements were carried out in the laboratory, after which a polynomial was formulated to fit them.
The exposure time of the camera can be adapted to the luminance level of the road, so as not to saturate the detector.For this same reason, it is also necessary to adapt the luminance of the light source (lighting pattern) to the illumination level of the road.To do this, the voltage of the source is modified where the pattern is connected.The luminance is obtained by reading the wattmeter and applying the polynomial adjustment in Figure 3.
The luminance value in cd/m 2 from RGB (RGB refers to additive primary colors Red, Green and Blue, a color model used in digital cameras) images is calculated with the following expression [12,15]: where fs is the aperture of the camera; t is the exposure time in seconds; SISO is the ISO value; K is the calibration constant; and Y is the photopic luminance value [19] calculated from the RGB color space [20] as follows: Accordingly, the calibration procedure involves obtaining the constant K.For this purpose, we employed an image in RAW (RAW format refers to digital natives) format of the luminous pattern.The values R, G and B of each pixel were used to obtain the Y value, and the camera parameters and the known luminance of the pattern were used to deduce the calibration constant.The image processing tool for the treatment of the digital images was IRIS, a software for astrophotography [21].This software is free for non-commercial usage and is able to process images of different formats, including photographic ones.

Camera Calibration Procedure
The average luminance values in street lighting range from 0.2 to 5 cd/m 2 , depending on the lighting class of the road.This is thus the luminance range of the pattern.To obtain this range of luminance, the lighting source is connected to a variable voltage source.Accordingly, for each voltage or power consumed (measured with a wattmeter), the system emits a certain luminance value.Figure 3 shows the relationship between the luminance emitted and the electrical power consumed.All measurements were carried out in the laboratory, after which a polynomial was formulated to fit them.

Method for Measuring Road Lighting
According to European standard EN 13201-3 [22,23], the average luminance of a surface must be calculated as shown in Figures 4 and 5.A photometer is used to measure luminance at several points located in an area delimited by two consecutive street lights.The photometer must be at a distance of 60 m from the calculation area and at a height above the ground of 1.5 m.In our case, instead of a photometer we used the airborne camera, calibrated as described in the previous section.However, the procedure followed was the one indicated in the European standard.The exposure time of the camera can be adapted to the luminance level of the road, so as not to saturate the detector.For this same reason, it is also necessary to adapt the luminance of the light source (lighting pattern) to the illumination level of the road.To do this, the voltage of the source is modified where the pattern is connected.The luminance is obtained by reading the wattmeter and applying the polynomial adjustment in Figure 3.
The luminance value in cd/m 2 from RGB (RGB refers to additive primary colors Red, Green and Blue, a color model used in digital cameras) images is calculated with the following expression [12,15]: where f s is the aperture of the camera; t is the exposure time in seconds; S ISO is the ISO value; K is the calibration constant; and Y is the photopic luminance value [19] calculated from the RGB color space [20] as follows: Accordingly, the calibration procedure involves obtaining the constant K.For this purpose, we employed an image in RAW (RAW format refers to digital natives) format of the luminous pattern.The values R, G and B of each pixel were used to obtain the Y value, and the camera parameters and the known luminance of the pattern were used to deduce the calibration constant.The image processing tool for the treatment of the digital images was IRIS, a software for astrophotography [21].This software is free for non-commercial usage and is able to process images of different formats, including photographic ones.

Method for Measuring Road Lighting
According to European standard EN 13201-3 [22,23], the average luminance of a surface must be calculated as shown in Figures 4 and 5.A photometer is used to measure luminance at several points located in an area delimited by two consecutive street lights.The photometer must be at a distance of 60 m from the calculation area and at a height above the ground of 1.5 m.In our case, instead of a photometer we used the airborne camera, calibrated as described in the previous section.However, the procedure followed was the one indicated in the European standard.

Method for Measuring Road Lighting
According to European standard EN 13201-3 [22,23], the average luminance of a surface must be calculated as shown in Figures 4 and 5.A photometer is used to measure luminance at several points located in an area delimited by two consecutive street lights.The photometer must be at a distance of 60 m from the calculation area and at a height above the ground of 1.5 m.In our case, instead of a photometer we used the airborne camera, calibrated as described in the previous section.However, the procedure followed was the one indicated in the European standard.According to the standard procedure the camera is located at a distance of 60 m from the calculation area and at a height of 1.5 m.

Energy Efficiency of Street Lighting Installation
The energy efficiency of the lighting installation can be defined as follows: where AT is the total illuminated surface in m 2 of the street; PT is the total electrical power in watts installed, including the light sources or lamps and electrical auxiliary devices; and Xav is the average value (luminance, in cd/m 2 , or illuminance, in lx) on the ground.Depending on the road type, the lighting class must be based on the luminance or illuminance magnitude.
A common approach to the energy classification of public lighting installations is the use of the SLEEC (street lighting energy efficiency criterion) [5,22] as a whole system indicator, based on the efficiency of the lamp, ballast (when used) and luminaire.The formula for the SLEEC indicator (or power density indicator) depends on the photometric measurement (illuminance or luminance) used to calculate street lighting for specific road classes and is the following: where εX is the energy efficiency of the street lighting installation; and X refers to the type of luminous parameter, based on illuminance (E) or luminance (L).
Although the definition of this indicator is still a topic of debate [24], various compatible approaches are currently available (see Table 1), in which SLEEC values are combined with the energy labelling system based on the European standard EN 13201-5.As can be observed in Table 1, the lower the consumption is, the better the energy class of the lighting installation.Therefore, the inverse of energy efficiency is a reasonable indicator that can be used to allocate an energy class to the installation.
Lighting engineering software applications base their calculations on data specifications of the street to be illuminated (i.e., dimensions, desired average illuminance, luminaire height in relation to building height, etc.).Another aspect considered is the configuration or arrangement of the installation (one-sided, two-side staggered, two-sided coupled, etc.).The main parameters obtained are the spacing between luminaires and overall uniformity.According to the standard procedure the camera is located at a distance of 60 m from the calculation area and at a height of 1.5 m.

Energy Efficiency of Street Lighting Installation
The energy efficiency of the lighting installation can be defined as follows: where A T is the total illuminated surface in m 2 of the street; P T is the total electrical power in watts installed, including the light sources or lamps and electrical auxiliary devices; and X av is the average value (luminance, in cd/m 2 , or illuminance, in lx) on the ground.Depending on the road type, the lighting class must be based on the luminance or illuminance magnitude.
A common approach to the energy classification of public lighting installations is the use of the SLEEC (street lighting energy efficiency criterion) [5,22] as a whole system indicator, based on the efficiency of the lamp, ballast (when used) and luminaire.The formula for the SLEEC indicator (or power density indicator) depends on the photometric measurement (illuminance or luminance) used to calculate street lighting for specific road classes and is the following: where ε X is the energy efficiency of the street lighting installation; and X refers to the type of luminous parameter, based on illuminance (E) or luminance (L).
Although the definition of this indicator is still a topic of debate [24], various compatible approaches are currently available (see Table 1), in which SLEEC values are combined with the energy labelling system based on the European standard EN 13201-5.As can be observed in Table 1, the lower the consumption is, the better the energy class of the lighting installation.Therefore, the inverse of energy efficiency is a reasonable indicator that can be used to allocate an energy class to the installation.
Lighting engineering software applications base their calculations on data specifications of the street to be illuminated (i.e., dimensions, desired average illuminance, luminaire height in relation to building height, etc.).Another aspect considered is the configuration or arrangement of the installation (one-sided, two-side staggered, two-sided coupled, etc.).The main parameters obtained are the spacing between luminaires and overall uniformity.Notwithstanding, energy efficiency has become an increasingly important topic.Indeed, in many countries (e.g., the 28 European Union countries), the classification of lighting installations is based on this parameter [5,6].It is also used in others, such as Australia and New Zealand [26].

Geographic Information System
The geographic information system used in our research was QGIS [27], a free and open source software.We used QGIS to show different layers with several georeferenced attributes related to the public lighting installation.For each street or road, each layer showed the average luminance or illuminance value, uniformity (ratio of the minimum and average magnitude), position of luminaries, electrical energy consumed by luminaries and along the street, energy efficiency for each street or road, and the corresponding energy class (A, B, C, etc.). Figure 6 shows an example of one of the aerial images georeferenced with the QGIS software.

Calibration Constant K
All images had to be captured without saturating the pixels of the camera detector.With this in mind and after several tests, we found that a good compromise was to take images with a maximum exposure time t = 1 s and ISO 1600.The luminance of the light source had to have the same order of magnitude as the lighting levels of the road.The luminance of the source when the tests were performed with the photometer (see Figure 2) was L = 1.22 cd/m 2 (the light source consumed an electric power of 47 W).When Equation (1) was applied, the calibration constant of the airborne camera was K = 0.964.
As a demonstration of the consistency of the camera calibration, in Figure 7 we can see the luminance value of the light source.Figure 7 shows the relative coordinates of the position in pixels of the light source in the image and the magnitude of its luminance in mCd/m 2 .0.000-0.0140.00-0.210.015-0.0240.22-0.360.025-0.0340.37-0.510.035-0.0440.52-0.660.045-0.0540.67-0.810.055-0.0640.82-0.960.065-0.0740.97-1.11 Notwithstanding, energy efficiency has become an increasingly important topic.Indeed, in many countries (e.g., the 28 European Union countries), the classification of lighting installations is based on this parameter [5,6].It is also used in others, such as Australia and New Zealand [26].

Geographic Information System
The geographic information system used in our research was QGIS [27], a free and open source software.We used QGIS to show different layers with several georeferenced attributes related to the public lighting installation.For each street or road, each layer showed the average luminance or illuminance value, uniformity (ratio of the minimum and average magnitude), position of luminaries, electrical energy consumed by luminaries and along the street, energy efficiency for each street or road, and the corresponding energy class (A, B, C, etc.). Figure 6 shows an example of one of the aerial images georeferenced with the QGIS software.Notwithstanding, energy efficiency has become an increasingly important topic.Indeed, in many countries (e.g., the 28 European Union countries), the classification of lighting installations is based on this parameter [5,6].It is also used in others, such as Australia and New Zealand [26].

Geographic Information System
The geographic information system used in our research was QGIS [27], a free and open source software.We used QGIS to show different layers with several georeferenced attributes related to the public lighting installation.For each street or road, each layer showed the average luminance or illuminance value, uniformity (ratio of the minimum and average magnitude), position of luminaries, electrical energy consumed by luminaries and along the street, energy efficiency for each street or road, and the corresponding energy class (A, B, C, etc.). Figure 6 shows an example of one of the aerial images georeferenced with the QGIS software.

Calibration Constant K
All images had to be captured without saturating the pixels of the camera detector.With this in mind and after several tests, we found that a good compromise was to take images with a maximum exposure time t = 1 s and ISO 1600.The luminance of the light source had to have the same order of magnitude as the lighting levels of the road.The luminance of the source when the tests were performed with the photometer (see Figure 2) was L = 1.22 cd/m 2 (the light source consumed an electric power of 47 W).When Equation (1) was applied, the calibration constant of the airborne camera was K = 0.964.
As a demonstration of the consistency of the camera calibration, in Figure 7 we can see the luminance value of the light source.Figure 7 shows the relative coordinates of the position in pixels of the light source in the image and the magnitude of its luminance in mCd/m 2 .

Calibration Constant K
All images had to be captured without saturating the pixels of the camera detector.With this in mind and after several tests, we found that a good compromise was to take images with a maximum exposure time t = 1 s and ISO 1600.The luminance of the light source had to have the same order of magnitude as the lighting levels of the road.The luminance of the source when the tests were performed with the photometer (see Figure 2) was L = 1.22 cd/m 2 (the light source consumed an electric power of 47 W).When Equation (1) was applied, the calibration constant of the airborne camera was K = 0.964.
As a demonstration of the consistency of the camera calibration, in Figure 7 we can see the luminance value of the light source.Figure 7 shows the relative coordinates of the position in pixels of the light source in the image and the magnitude of its luminance in mCd/m 2 .

Luminance Measures from Orthoimages
As mentioned in Section 2.2, the standard procedure for measuring the luminance of the road is not to place the photometer in a vertical position perpendicular to the road surface, but rather to place it horizontally 60 m from the area to be measured, and at a height of 1.5 m.Both methods do not give exactly the same result.Since the surface of the asphalt is not perfectly Lambertian [28], the reflection of the light is a combination of specular and diffuse reflection.This signifies that the light is reflected on the asphalt differently, depending on the direction.
Based on this argument, we calculated the relationship between the measurement from above using an orthoimage (Figure 8) and the measurement obtained with the standard procedure (photometer in an almost horizontal position).For this purpose and as shown in Figure 9, we calculated the average luminance of all the pixels enclosed in the red box.In each image (ortho and horizontal), the statistical analysis of the calculation surface showed that that there was an approximate ratio of 1.06 between the average luminance obtained with the horizontal image and the average luminance obtained with the ortho image.This means that the luminance of ortho images had to be multiplied by a factor of 1.06 to obtain the luminance value, according to the standard road measurement procedure.

Luminance Measures from Orthoimages
As mentioned in Section 2.2, the standard procedure for measuring the luminance of the road is not to place the photometer in a vertical position perpendicular to the road surface, but rather to place it horizontally 60 m from the area to be measured, and at a height of 1.5 m.Both methods do not give exactly the same result.Since the surface of the asphalt is not perfectly Lambertian [28], the reflection of the light is a combination of specular and diffuse reflection.This signifies that the light is reflected on the asphalt differently, depending on the direction.
Based on this argument, we calculated the relationship between the measurement from above using an orthoimage (Figure 8) and the measurement obtained with the standard procedure (photometer in an almost horizontal position).For this purpose and as shown in Figure 9, we calculated the average luminance of all the pixels enclosed in the red box.In each image (ortho and horizontal), the statistical analysis of the calculation surface showed that that there was an approximate ratio of 1.06 between the average luminance obtained with the horizontal image and the average luminance obtained with the ortho image.This means that the luminance of ortho images had to be multiplied by a factor of 1.06 to obtain the luminance value, according to the standard road measurement procedure.

Examples of Application
The application examples were the study of lighting and energy efficiency of various streets in Deifontes, a town in southern Spain.Specifically, we studied the level of lighting, uniformity, energy consumption, energy efficiency, and energy class (A, B, C, etc.).The results indicated which improvements should be addressed to make the installation more sustainable while maintaining its functional requirements.
As a first step, the image processing software IRIS was used to transform an image in RAW format (Figure 10) into another that showed the reflected light (luminance) of the pavement, due to

Examples of Application
The application examples were the study of lighting and energy efficiency of various streets in Deifontes, a town in southern Spain.Specifically, we studied the level of lighting, uniformity, energy consumption, energy efficiency, and energy class (A, B, C, etc.).The results indicated which improvements should be addressed to make the installation more sustainable while maintaining its functional requirements.
As a first step, the image processing software IRIS was used to transform an image in RAW format (Figure 10) into another that showed the reflected light (luminance) of the pavement, due to

Examples of Application
The application examples were the study of lighting and energy efficiency of various streets in Deifontes, a town in southern Spain.Specifically, we studied the level of lighting, uniformity, energy consumption, energy efficiency, and energy class (A, B, C, etc.).The results indicated which improvements should be addressed to make the installation more sustainable while maintaining its functional requirements.
As a first step, the image processing software IRIS was used to transform an image in RAW format (Figure 10) into another that showed the reflected light (luminance) of the pavement, due to the information stored in each pixel.The transformation process involved obtaining the value Y for each pixel.Accordingly, Equation (2) was applied, followed by Equation ( 1) to obtain the vertical luminance value for each pixel.The next step involved multiplication by the correction factor 1.06 to obtain the real luminance value, according to the measurement process in the standard (Figure 11). the information stored in each pixel.The transformation process involved obtaining the value Y for each pixel.Accordingly, Equation (2) was applied, followed by Equation ( 1) to obtain the vertical luminance value for each pixel.The next step involved multiplication by the correction factor 1.06 to obtain the real luminance value, according to the measurement process in the standard (Figure 11).Any astronomical image viewer, such as IRIS or DS9 [29], can give the value of the magnitude in each pixel of the image, as well as a statistical result for all pixels in a large area.These statistical values provide average luminance or illuminance values as well as others that help to calculate lighting quality parameters, such as uniformity in a street or highway.
An example of this is depicted in Figure 11, where the minimum luminance (Lmin = 0.11 cd/m 2 ) and the average luminance (Lave = 0.52 cd/m 2 ) are obtained.These data made it possible to deduce that the luminance uniformity ( Lmin/Lave) in the street sector was 0.22.Obviously these results are not significant because the magnitude values must be calculated for the whole street and not only for one section, but in this case it is an example of the procedure described above.the information stored in each pixel.The transformation process involved obtaining the value Y for each pixel.Accordingly, Equation (2) was applied, followed by Equation ( 1) to obtain the vertical luminance value for each pixel.The next step involved multiplication by the correction factor 1.06 to obtain the real luminance value, according to the measurement process in the standard (Figure 11).Any astronomical image viewer, such as IRIS or DS9 [29], can give the value of the magnitude in each pixel of the image, as well as a statistical result for all pixels in a large area.These statistical values provide average luminance or illuminance values as well as others that help to calculate lighting quality parameters, such as uniformity in a street or highway.
An example of this is depicted in Figure 11, where the minimum luminance (Lmin = 0.11 cd/m 2 ) and the average luminance (Lave = 0.52 cd/m 2 ) are obtained.These data made it possible to deduce that the luminance uniformity ( Lmin/Lave) in the street sector was 0.22.Obviously these results are not significant because the magnitude values must be calculated for the whole street and not only for one section, but in this case it is an example of the procedure described above.Any astronomical image viewer, such as IRIS or DS9 [29], can give the value of the magnitude in each pixel of the image, as well as a statistical result for all pixels in a large area.These statistical values provide average luminance or illuminance values as well as others that help to calculate lighting quality parameters, such as uniformity in a street or highway.
An example of this is depicted in Figure 11, where the minimum luminance (L min = 0.11 cd/m 2 ) and the average luminance (L ave = 0.52 cd/m 2 ) are obtained.These data made it possible to deduce that the luminance uniformity ( L min /L ave ) in the street sector was 0.22.Obviously these results are not significant because the magnitude values must be calculated for the whole street and not only for one section, but in this case it is an example of the procedure described above.
There are other kinds of lighting whose magnitude of illumination is illuminance.Although luminance and illuminance are two different concepts (light emitted in one direction and light received from all directions), it is possible to relate them by taking certain margins of error into account because, in most cases, pavement characteristics are not known.However, such errors are acceptable in the field of lighting.The relationship between luminance and illuminance is shown in the following equation [15]: where L ave and E ave are the average magnitudes in cd/m 2 ; and lx respectively, and q 0 is the average luminance coefficient.If nothing is known about the reflection properties of the pavement, a coefficient q 0 = 0.07 cd/m 2 /lx can be applied [15].
In the following example, the procedure was simultaneously performed on several streets, captured in a single image (Figure 12).Using the previously described procedure, we calculated the luminance values in each pixel and averaged them to obtain the lighting levels of each street.There are other kinds of lighting whose magnitude of illumination is illuminance.Although luminance and illuminance are two different concepts (light emitted in one direction and light received from all directions), it is possible to relate them by taking certain margins of error into account because, in most cases, pavement characteristics are not known.However, such errors are acceptable in the field of lighting.The relationship between luminance and illuminance is shown in the following equation [15]: where Lave and Eave are the average magnitudes in cd/m 2 ; and lx respectively, and q0 is the average luminance coefficient.If nothing is known about the reflection properties of the pavement, a coefficient q0 = 0.07 cd/m 2 /lx can be applied [15].
In the following example, the procedure was simultaneously performed on several streets, captured in a single image (Figure 12).Using the previously described procedure, we calculated the luminance values in each pixel and averaged them to obtain the lighting levels of each street.With the luminance values in each pixel, it was easy to calculate the average luminance reflected by the pavement of each street.Equation ( 5) was applied to obtain the average illuminance value (see Figure 13).Another parameter obtained, which is directly related to the quality of street lighting, was the uniformity of the illuminance.This was possible because we knew the minimum illuminance in each street.Figure 14 shows this parameter represented in QGIS together with the position and electrical power of the luminaires.With the luminance values in each pixel, it was easy to calculate the average luminance reflected by the pavement of each street.Equation ( 5) was applied to obtain the average illuminance value (see Figure 13).There are other kinds of lighting whose magnitude of illumination is illuminance.Although luminance and illuminance are two different concepts (light emitted in one direction and light received from all directions), it is possible to relate them by taking certain margins of error into account because, in most cases, pavement characteristics are not known.However, such errors are acceptable in the field of lighting.The relationship between luminance and illuminance is shown in the following equation [15]: where Lave and Eave are the average magnitudes in cd/m 2 ; and lx respectively, and q0 is the average luminance coefficient.If nothing is known about the reflection properties of the pavement, a coefficient q0 = 0.07 cd/m 2 /lx can be applied [15].
In the following example, the procedure was simultaneously performed on several streets, captured in a single image (Figure 12).Using the previously described procedure, we calculated the luminance values in each pixel and averaged them to obtain the lighting levels of each street.With the luminance values in each pixel, it was easy to calculate the average luminance reflected by the pavement of each street.Equation ( 5) was applied to obtain the average illuminance value (see Figure 13).Another parameter obtained, which is directly related to the quality of street lighting, was the uniformity of the illuminance.This was possible because we knew the minimum illuminance in each street.Figure 14 shows this parameter represented in QGIS together with the position and electrical power of the luminaires.Another parameter obtained, which is directly related to the quality of street lighting, was the uniformity of the illuminance.This was possible because we knew the minimum illuminance in each street.Figure 14 shows this parameter represented in QGIS together with the position and electrical power of the luminaires.With respect to the energy parameters, Table 2 shows the electricity consumption, the surface to be illuminated, and the average illuminance levels.Equations ( 3) and ( 4) were used to calculate the energy efficiency of the installation in each street.The electricity consumption data were obtained from the smart electric meters located in the streetlight control boxes.
Since we knew the electric power installed in a particular street, it was then possible to calculate its real electricity consumption (from data provided by the smart electric meter).This was done by applying the following equation: where PMT is the measure of the total electrical power (provided by the smart electric meter); Pj is the known installed power in the "j" street; PT is the known installed power in all the streets connected to the smart electric meter; and PMj is the real electrical power calculated in the "j" street.This real electrical power includes the losses of the distribution lines and the actual electricity consumption of lamps and auxiliary equipment of all street lights.

Discussion
The standard procedure to obtain illumination levels of a street or road consists of measuring luminance or illuminance with photometers at street level at a few discrete points on the pavement.The standard procedure would be more precise if the number of measurement points was greater.However, this would obviously be a great deal more work.The methodology proposed (see Figure 15) allowed us to obtain the same parameters but with a greater number of measurement points (all pixels of an image or large surfaces such as roads, streets, etc.).This was accomplished by covering a larger area with a single image captured with an airborne camera.In addition, decision-making capability was improved because geographical information systems were used to implement the levels of lighting and uniformity in addition to the electrical consumption of the installation.This allowed us to calculate the energy efficiency of the installation and its energy class.With respect to the energy parameters, Table 2 shows the electricity consumption, the surface to be illuminated, and the average illuminance levels.Equations ( 3) and ( 4) were used to calculate the energy efficiency of the installation in each street.The electricity consumption data were obtained from the smart electric meters located in the streetlight control boxes.Since we knew the electric power installed in a particular street, it was then possible to calculate its real electricity consumption (from data provided by the smart electric meter).This was done by applying the following equation: where P MT is the measure of the total electrical power (provided by the smart electric meter); P j is the known installed power in the "j" street; P T is the known installed power in all the streets connected to the smart electric meter; and P Mj is the real electrical power calculated in the "j" street.This real electrical power includes the losses of the distribution lines and the actual electricity consumption of lamps and auxiliary equipment of all street lights.

Discussion
The standard procedure to obtain illumination levels of a street or road consists of measuring luminance or illuminance with photometers at street level at a few discrete points on the pavement.The standard procedure would be more precise if the number of measurement points was greater.However, this would obviously be a great deal more work.The methodology proposed (see Figure 15) allowed us to obtain the same parameters but with a greater number of measurement points (all pixels of an image or large surfaces such as roads, streets, etc.).This was accomplished by covering a larger area with a single image captured with an airborne camera.In addition, decision-making capability was improved because geographical information systems were used to implement the levels of lighting and uniformity in addition to the electrical consumption of the installation.This allowed us to calculate the energy efficiency of the installation and its energy class.In the first example, the proposed method was applied to a small section of a street after calibrating the camera.The only information obtained was the luminance (through each pixel of the image) of the pavement.With these data we were able to calculate illuminance and uniformity.In addition, knowledge of the electrical consumption of the luminaires, the electrical energy lost by the distribution lines (electrical energy lost by the distribution lines is calculated by Boucherot's theorem, where PLines = PTotal − PLamps.The PLamps is obtained through the manufacturer's data sheet and PTotal through the smart electric meters located in the street light control box) and the area of the surface to be illuminated made it possible to calculate the energy efficiency of the installation.All of this information was used to ascertain whether lighting levels were optimal or whether there was an excessive consumption of electrical energy.
The second example in Figure 12 focused on pedestrian streets and streets with slow traffic in a residential area.Based on these characteristics, we deduced that the lighting class according to the CIE (CIE refers to Commission Internationale de l´Eclairage, in english International Commission of Illumination.)was P [15] (formerly known as S class).More specifically, it was P2, where the recommended illuminance level is 10-15 lx and the recommended uniformity greater than 0.3.
The information provided by the GIS showed that two of the four streets were correctly lit, whereas one of them (street number 2) was overlit.This clearly indicated the need to reduce either the lighting points or the electrical power of the luminaries.Of these two options, the most successful would be to reduce the electrical power of the luminaires, because removing points of light would lessen uniformity.As shown in Figure 14, the uniformity is at the limit of what is recommended by the standard.Still another reason to reduce the electrical power is the energy efficiency of the installation in that street.Figure 16 shows that its efficiency corresponds to energy class D, which means that there is room for improvement.
In contrast, street number 4 was under illuminated.Figures 13 and 14 show that even though the uniformity is correct, it is very close to the minimum because there is only one luminary on the street.The energy efficiency is low but still acceptable.In this case it would be necessary to redesign the street lighting by adding one more luminaire with slightly lower electrical power.This action would improve the level of lighting and uniformity, while maintaining the same energy classification.In the first example, the proposed method was applied to a small section of a street after calibrating the camera.The only information obtained was the luminance (through each pixel of the image) of the pavement.With these data we were able to calculate illuminance and uniformity.In addition, knowledge of the electrical consumption of the luminaires, the electrical energy lost by the distribution lines (electrical energy lost by the distribution lines is calculated by Boucherot's theorem, where P Lines = P Total − P Lamps .The P Lamps is obtained through the manufacturer's data sheet and P Total through the smart electric meters located in the street light control box) and the area of the surface to be illuminated made it possible to calculate the energy efficiency of the installation.All of this information was used to ascertain whether lighting levels were optimal or whether there was an excessive consumption of electrical energy.
The second example in Figure 12 focused on pedestrian streets and streets with slow traffic in a residential area.Based on these characteristics, we deduced that the lighting class according to the CIE (CIE refers to Commission Internationale de l´Eclairage, in english International Commission of Illumination.)was P [15] (formerly known as S class).More specifically, it was P2, where the recommended illuminance level is 10-15 lx and the recommended uniformity greater than 0.3.
The information provided by the GIS showed that two of the four streets were correctly lit, whereas one of them (street number 2) was overlit.This clearly indicated the need to reduce either the lighting points or the electrical power of the luminaries.Of these two options, the most successful would be to reduce the electrical power of the luminaires, because removing points of light would lessen uniformity.As shown in Figure 14, the uniformity is at the limit of what is recommended by the standard.Still another reason to reduce the electrical power is the energy efficiency of the installation in that street.Figure 16 shows that its efficiency corresponds to energy class D, which means that there is room for improvement.

Conclusions
This research has demonstrated the viability of a method for calculating the energy efficiency of public lighting installations.It also provides a very useful tool that can be used to show their electrical and lighting properties in geographic information systems.
The electricity consumption data were obtained from smart electric meters in the streetlight control box.These meters provide information regarding the entire installation in real time.These consumption data take into account the energy consumed by lamps, auxiliary equipment, and energy losses due to the Joule effect of the distribution lines.
The geometrical distribution of the luminaires, as well as the streetlight control box, were easily georeferenced through the aerial images provided by the camera.Finally, the luminous properties were obtained by calculating the luminance emitted by the surface of the road.For this purpose, it was necessary to calibrate the airborne camera by using the image of a light source of known luminance.The calculation of the energy efficiency is almost immediate based on the electricity consumption, luminance of the road surface, and road surface dimensions.
Another important aspect is the scalability of the method.This procedure can be easily extrapolated to entire neighborhoods or cities because the only difference is the number of images needed to cover the entire metropolitan area.However, the methodology is always the same because each image is analyzed individually.In contrast, street number 4 was under illuminated.Figures 13 and 14 show that even though the uniformity is correct, it is very close to the minimum because there is only one luminary on the street.The energy efficiency is low but still acceptable.In this case it would be necessary to redesign the street lighting by adding one more luminaire with slightly lower electrical power.This action would improve the level of lighting and uniformity, while maintaining the same energy classification.

Conclusions
This research has demonstrated the viability of a method for calculating the energy efficiency of public lighting installations.It also provides a very useful tool that can be used to show their electrical and lighting properties in geographic information systems.
The electricity consumption data were obtained from smart electric meters in the streetlight control box.These meters provide information regarding the entire installation in real time.These consumption data take into account the energy consumed by lamps, auxiliary equipment, and energy losses due to the Joule effect of the distribution lines.
The geometrical distribution of the luminaires, as well as the streetlight control box, were easily georeferenced through the aerial images provided by the camera.Finally, the luminous properties were obtained by calculating the luminance emitted by the surface of the road.For this purpose, it was necessary to calibrate the airborne camera by using the image of a light source of known luminance.The calculation of the energy efficiency is almost immediate based on the electricity consumption, luminance of the road surface, and road surface dimensions.
Another important aspect is the scalability of the method.This procedure can be easily extrapolated to entire neighborhoods or cities because the only difference is the number of images needed to cover the entire metropolitan area.However, the methodology is always the same because each image is analyzed individually.

Figure 1 .
Figure 1.Source used as a luminance pattern.The left image shows the lamp distribution inside the box connected to the wattmeter and a variable power supply.The right image shows the screen diffuser over the box.

Figure 1 .
Figure 1.Source used as a luminance pattern.The left image shows the lamp distribution inside the box connected to the wattmeter and a variable power supply.The right image shows the screen diffuser over the box.

Figure 3 .
Figure 3. Relationship between the luminance emitted by the standard luminous source as a function of the electrical power consumed and the coefficients of a second-order polynomial (ax 2 + bx + c) fit to the measured values.

Figure 3 .
Figure 3. Relationship between the luminance emitted by the standard luminous source as a function of the electrical power consumed and the coefficients of a second-order polynomial (ax 2 + bx + c) fit to the measured values.

Figure 3 .
Figure 3. Relationship between the luminance emitted by the standard luminous source as a function of the electrical power consumed and the coefficients of a second-order polynomial (ax 2 + bx + c) fit to the measured values.

Figure 4 .
Figure 4. Field of calculation for carriage luminance, where (a) is the side-view and (b) the top-view.Figure 4. Field of calculation for carriage luminance, where (a) is the side-view and (b) the top-view.

Figure 4 .
Figure 4. Field of calculation for carriage luminance, where (a) is the side-view and (b) the top-view.Figure 4. Field of calculation for carriage luminance, where (a) is the side-view and (b) the top-view.

Figure 5 .
Figure 5. Digital image in which the calculation area of average luminance is indicated by a red frame.According to the standard procedure the camera is located at a distance of 60 m from the calculation area and at a height of 1.5 m.

Figure 5 .
Figure 5. Digital image in which the calculation area of average luminance is indicated by a red frame.According to the standard procedure the camera is located at a distance of 60 m from the calculation area and at a height of 1.5 m.

Figure 6 .
Figure 6.Aerial image taken with an airborne camera.The image was georeferenced with QGIS.

Table 1 .
Energy efficiency classification of street lighting installations according to the street lighting energy efficiency criterion (SLEEC) indicator[25].Energy Class SE (W/lx•m 2 ) SL (W/cd)

Figure 6 .
Figure 6.Aerial image taken with an airborne camera.The image was georeferenced with QGIS.

Figure 6 .
Figure 6.Aerial image taken with an airborne camera.The image was georeferenced with QGIS.

Sustainability 2018 , 15 Figure 7 .
Figure 7.The image processing tool IRIS gives the luminance values at mCd/m 2 emitted by the ground surface.The red circle depicts the position of the light source and the arrow shows the relative coordinates in pixels (X = 2121, Y = 1547) and the luminance value L = 1215 mCd/m 2 .

Figure 7 .
Figure 7.The image processing tool IRIS gives the luminance values at mCd/m 2 emitted by the ground surface.The red circle depicts the position of the light source and the arrow shows the relative coordinates in pixels (X = 2121, Y = 1547) and the luminance value L = 1215 mCd/m 2 .

Figure 8 .
Figure 8. Aerial photo image of the area where the light source and the wattmeter were placed.Depending on the electrical power demanded by the source, we were able to deduce the luminance emitted.

Figure 9 .
Figure 9. Average luminance and other statistical values (at mCd/m 2 ) of the calculation area from the aerial image or orthoimage (a) and the image where the standard procedure was applied (b).

Figure 8 .
Figure 8. Aerial photo image of the area where the light source and the wattmeter were placed.Depending on the electrical power demanded by the source, we were able to deduce the luminance emitted.

Figure 8 .
Figure 8. Aerial photo image of the area where the light source and the wattmeter were placed.Depending on the electrical power demanded by the source, we were able to deduce the luminance emitted.

Figure 9 .
Figure 9. Average luminance and other statistical values (at mCd/m 2 ) of the calculation area from the aerial image or orthoimage (a) and the image where the standard procedure was applied (b).

Figure 9 .
Figure 9. Average luminance and other statistical values (at mCd/m 2 ) of the calculation area from the aerial image or orthoimage (a) and the image where the standard procedure was applied (b).

Figure 10 .
Figure 10.Orthoimage of a street obtained by the airborne camera.The image is in RAW format and had not yet been treated with the image processing software.

Figure 11 .
Figure 11.Orthoimage treated with IRIS software and visualized with DS9.The figure shows the luminance values for each pixel and a statistical analysis of the corresponding lighting values of the road (only for the calculation area in the red polygon).

Figure 10 .
Figure 10.Orthoimage of a street obtained by the airborne camera.The image is in RAW format and had not yet been treated with the image processing software.

Figure 10 .
Figure 10.Orthoimage of a street obtained by the airborne camera.The image is in RAW format and had not yet been treated with the image processing software.

Figure 11 .
Figure 11.Orthoimage treated with IRIS software and visualized with DS9.The figure shows the luminance values for each pixel and a statistical analysis of the corresponding lighting values of the road (only for the calculation area in the red polygon).

Figure 11 .
Figure 11.Orthoimage treated with IRIS software and visualized with DS9.The figure shows the luminance values for each pixel and a statistical analysis of the corresponding lighting values of the road (only for the calculation area in the red polygon).

Figure 12 .
Figure 12.Aerial image in RAW (left) and georeferenced (right) format

Figure 12 .
Figure 12.Aerial image in RAW (left) and georeferenced (right) format

Figure 12 .
Figure 12.Aerial image in RAW (left) and georeferenced (right) format

Sustainability 2018 , 15 Figure 15 .
Figure 15.Diagram of the stages of the methodology.The blue boxes indicate the information provided by the local city council.

Figure 15 .
Figure 15.Diagram of the stages of the methodology.The blue boxes indicate the information provided by the local city council.

Figure 16 .
Figure 16.Power consumed in each street (left) and energy class (right).

Figure 16 .
Figure 16.Power consumed in each street (left) and energy class (right).

Table 1 .
[25]gy efficiency classification of street lighting installations according to the street lighting energy efficiency criterion (SLEEC) indicator[25].

Table 1 .
[25]gy efficiency classification of street lighting installations according to the street lighting energy efficiency criterion (SLEEC) indicator[25].

Table 2 .
Lighting and electrical parameters of each street used to calculate the energy efficiency of the installation.

Table 2 .
Lighting and electrical parameters of each street used to calculate the energy efficiency of the installation.