Keywords

1 Introduction

The reduction of greenhouse gas emissions associated with fossil fuel exploitation is crucial for both boosting local economies and combating global warming [1]. As a result, the use of clean and renewable energy sources, such as solar power generated by PV panels, has increased significantly in recent years [2]. According to current estimates, PV systems generate between 500 and 600 GW of electricity per year, albeit its spawning is not uniform over the world: Italy, for example, makes a major contribution by producing around 1,500 to 2,000 kWh per kWp [3]. This is mainly due to that energy production depends on various factors such as location, season, cloud cover, and the type of solar panels used [4]. Moreover, quantifying the real amount of energy generated is challenging due to a lack of geographic data on the number of PV panels installed [5].

This issue may be partially settled by developing automated PV installations detection algorithms based on satellite data, since such approaches allow for the extraction of panel classes over wide areas in a short period of time [6,7,8,9]. However, a global scale analysis might be performed just using free open-source satellite images to save collecting time and cost. Nevertheless, those data cover the whole Earth’s surface, albeit at a resolution insufficient to detect small PV installations [10,11,12].

Collaborative mapping, which is based on a team effort to use digital technologies to generate accurate and detailed maps [13], provides a viable solution that can be used in a variety of contexts, including urban planning, emergency management, environmental protection, and tourism promotion [14,15,16]. Among the many different organizations, Youthmapper, an international network committed to enhancing OpenStreetMap (OSM) information to address social and environmental challenges, deserves special note [17]. OSM, in fact, accepts several satellite image sources, including Bing Maps, DigitalGlobe, MapBoxer, and Maxar [18], which may be changed or updated using online tools like Java OpenStreetMap (JOSM) [19]. JOSM is one of the most popular since it has an assortment of complex features that make it suited for both expert and beginner users [20].

For instance, it allows for the development of complicated roads and buildings and the modification of several elements simultaneously [21]. Additionally, JOSM enables users to create customized presets that comprise all of the elements required for mapping a given theme. In previous works, for example, a setup for mapping deforestation in the Amazon was created, and factors such as grasslands, roads, and cultivated areas were incorporated so that a deforestation risk model could be established later [13].

The primary goal of this research was to create a new JOSM preset for mapping small PV panel installations on various types of structures. This tool was designed to facilitate detailed information collection and dissemination concerning PV panels’ location and energy production capacities.

2 JOSM

JOSM is a Java 8-based editor for creating, editing, visualizing, uploading, and downloading OSM maps [22]. Because it is an offline editor, any changes made are only visible until they are submitted to the server [23]. This enables users to experiment with and practice altering operations like adding, removing, or labeling items without changing the real map data [19, 24]. In the editing process, the first step involves nodes or ways in addition to the OSM data. Such elements, however, are useless unless they are labeled to indicate what they represent. Tags, which are made up of key-value pairs, give information on the meaning of each node, path, and connection [24]. Keys, such as “Highway” or “Land Use”, identify the larger category, while values indicate individual aspects, such as “Main Road” or “Residential Road,” or land uses such as “Residential” or “Retail” [23]. Tags can be inserted manually or automatically using presets.

2.1 JOSM Presets

Presets in JOSM are default options that allow users to create primitive geometries and easily label them with common OSM tags [25]. They provide a user-friendly interface for modifying multiple items at once, as well as suggestions for new keys and values that may be added to these objects [24]. In this way, users can avoid manually entering keys and values, saving time and effort [22].

JOSM offers three types of presets: i) pre-installed default presets, ii) presets created by the OSM community that can be enabled via the Tagging Presets register in Preferences, and iii) custom presets created by users themselves using Extensible Markup Language (XML) code by OSM guidelines [25].

3 Methodology

In this study, an XML code was developed by following the hierarchical sequence illustrated in Fig. 1 to construct a preset suited for mapping PV panels on rooftops.

The initial segment of the code involves the <preset/> component, which plays a crucial role in establishing a connection with OSM and utilizing its tags in the preset. Following that, the <groups/> component was incorporated within the <preset/> element. This section featured the “Solar Set” preset designation and a variety of <items/> were embedded inside it. More specifically, the group contained four <item/> designations, namely “Urban Buildings”, “Farm Buildings”, “Industrial Buildings”, and “Country House”. The aforementioned groups were carefully chosen to cover all possible buildings that may support solar panel installation.

Fig. 1.
figure 1

Solar Set hierarchical scheme

Each object has its own “Name”, “type”, “icon”, “key”, and “value”. The parameter “type” specifies the geometric element category to which the preset can be applied. The categories “closedway” and “relation” were chosen for all four items in this scenario, implying that the object can represent either a closed area, such as a solar panel, or a collection of geographic objects, such as nodes, segments, and polygons, that together express portions of a single concept. [26]. The “icon” function is used to insert Scalable Vector Graphics (SVG) images for each items’ visual appearance. The “key” in the preset introduces a predefined tag for OSM elements. In OSM, the term “key” refers to the initial component of a tag that identifies the category or type of the described feature. On the other hand, the “value” represents the specific attribute or characteristic associated with that feature. It is crucial to maintain a consistent set of keys and values in OSM as it enables consistent structuring and querying of data [26]. In this case, the key “generator:source”, which is the OSM tag designated for energy generation, was chosen. The value solar denotes that energy generation is renewable, specifically solar [26]. This tag makes it easier for users to build new items on the map by automatically adding the “generator:source” tag with the matching value of solar to the newly formed element. Furthermore, each preconfigured element contains a variety of text labels and input boxes that mappers may fill out with the necessary data. The data has been divided into three categories: i) general information, ii) panels information, and iii) building information.

3.1 General Information Category

Users may submit information about panel location, province, and municipality in the code’s general information section (Fig. 2). The “delete_if_empty” command removes an element or attribute only if it is empty. This command is frequently used during XML data manipulation to eliminate empty elements or attributes and improve the XML document structure.

Fig. 2.
figure 2

General Information section

3.2 Panels Information Section

This part of the code was designed to allow users to provide technical information regarding PV panels. Figure 3 shows two text boxes where the user may enter the installed power of the panel in kW and the year of installation. The form was then enhanced with two combo boxes, the first of which allowed the user to select panel orientation from three options: “North-South Axis,” “East-West Axis,” and “Other,” and the second of which allows the user to select panel material, with monocrystalline and polycrystalline panels available.

Fig. 3.
figure 3

Panels Information section

3.3 Building Information Item

In this final section of the code, text and combo elements were incorporated to input information on the buildings where the PV panels are installed (Fig. 4). Aside from a text area for entering the number of floors, three distinct combination components were offered: the first enables users to define if a raised floor is present, the second one indicates if panels are installed on slope or slab, and, lastly, the third one allows inserting the information concerning building’s ownership.

Fig. 4.
figure 4

Building Information section

3.4 Code entry within JOSM

When the code was finished, it was added to the “Preset Labels”, portion of the Presets menu, and to “Preset Preferences” section.

4 Results and Discussion

Once the “Solar Set” preset has been successfully installed in JOSM, the user can commence the mapping process. After downloading the OSM data for the desired area, the user can choose suitable aerial photography sources for mapping solar panels, such as Bing or Maxar Premium Imagery. Subsequently, the drawing tools within the software can be utilized to create a geometric representation of the solar panel, as depicted in Fig. 5. The user can then apply the “Solar Set” preset to tag the geometry and specify the type of building where the solar panel is installed by selecting the appropriate option from the pre-setting menu in JOSM.

Fig. 5.
figure 5

Geometry creation in JOSM

By selecting the proper building type, a form will appear (as shown in Fig. 6) where the user can provide accurate information about the building and solar panel to be added to OpenStreetMap. It is crucial to ensure the accuracy and reliability of the data submitted during this step of the mapping process. If customer information is missing or unknown, it is advisable to leave the corresponding field blank rather than submitting inaccurate data. To gather additional information, such as the public or private status of the solar panels and their angle, the Mapillary plug-in in JOSM can be utilized. Mapillary is a Web 2.0 service that allows users to contribute street-level images from various locations worldwide.

Fig. 6.
figure 6

Preset form in JOSM

5 Conclusions

Even though the usage of solar energy has grown significantly in recent years, accurately measuring the amount of energy generated by PV systems is challenging since it is affected by several factors such as location, season, and cloud cover. Although free open-source satellite data has contributed to the improvement of automated sensing techniques for mapping PV systems, surveying small-scale installations remains tough due to their limited spatial resolution.

Creating a customized preset for mapping rooftop solar panel installations in JOSM has shown to be a great technique to improve the mapping process’s efficiency and accuracy. This allows users to utilize high-resolution images and enter other sorts of panel information, which is a departure from past work. The data collected through this method can be stored in a geodatabase accessible to local governments, communities, industries, and scientists. This allows for the compilation of a worldwide overview of PV panel installations as well as the tracking of their progress over time, resulting in a better knowledge of the potential of renewable energy sources in different areas and the promotion of future sustainable energy practices.

The preset might be improved in the future by integrating new building types or machine learning techniques to automate some elements of the mapping process. In conclusion, the development of a tailored preset for mapping rooftop solar panel installations contributes significantly to the promotion of renewable energy sources and the reduction of the environmental effect of human activities. It may be improved further by developing unique solutions.