Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GSC Zero balance layer
Zero balance layer
The “Zero-balance” layer will be the result of a “difference” operation between the amount of potential energy estimated by the “Solar potential” service and the estimated consumption (for electricity only), with operation to be performed as a WPS interface.
The WPS will receive as input parameter the two layers to be considered (e.g. buildings) and the attributes containing the energy values to be compared. It should be possible to manually enter estimated values for other sources of renewable energy other than solar, for instance, wind. In some cases the layer could also be a unique one, containing both attributes (solar potential, and estimated electricity consumption). The output will be a map to be made available as WMS and WFS layer, with predefined SLD styles.
Deployment on hub.geosmartcity.eu as Geoserver WPS service
The service is provided using the WPS standard. The implementation is based on the geoserver WPS extensions.
The estimation will be performed using the standard wps request. The request takes as input the following information:
- solarPotential: the raster for solar potential (not required, if the layer is unique and cotain both attributes (solar potential, and estimated electricity consumption).
- buildings: The vector layer for buildings with energy consumption [Required]
- paramElectricityConsumption: The name of parameter for electricity energy consumption [Required]
- paramSolarPotential: The name of parameter for solar potential (if the layer are unique and containing both attributes)
As result of the computation a getMap request is returned with the url for the raster. The layer is uploaded on Geoserver