Log in Sign up

Terrain and elevation data

In brief

PV-GlareCheck needs the height of the ground at every object, the ground level (GL). In many countries it obtains it automatically from official data once you have set the project area, otherwise from Google. If hills or embankments lie between the installation and the observers, also load a terrain model. Only then can the terrain block the view and shade the installation (terrain occlusion).

Why elevations matter. The GL is the height of the ground above sea level at a given spot. PV-GlareCheck adds the heights you enter to it, for example the eye height of an observation point: GL 420 m + 4.5 m eye height = 424.5 m. Even small elevation errors shift the direction from which an observer sees the installation. An error of 1 m at an observation point 100 m away changes the viewing angle onto the area by about 0.6°, more than the solar disc (0.53°); at 500 m it is still about 0.1°. All objects therefore carry a GL: the corner and support points of ground-mounted areas, the reference height of roof and facade areas, obstacles and observation points.

Two kinds of elevation data. A point query provides the elevation exactly at an object. A terrain model is a raster, that is a grid of equal cells with one height value each. It provides the elevation across the whole area, including between the objects.

Elevation per point Terrain model in the project
what it provides the elevation exactly at an object the elevation area-wide, also between the objects
sources "Official data", "Google Elevation API" "Load official terrain model" or your own file
sufficient for the position of the objects in space additionally terrain occlusion, terrain view and cross tilt in zones

6.1 The usual route: elevations obtained automatically

You usually do not need to enter anything for the elevations of the objects. Proceed as follows:

  1. Set the project area. In the main menu, click "Project area and time zone" and then "Set project area" (Ch. 5). Place the centre so that the houses or roads to be checked also lie within the circle; terrain can only be loaded inside the project area, and the area cannot be changed later. If official elevations are available at its centre, PV-GlareCheck switches on "Official data". Otherwise the elevations come from Google.
  2. Create objects. Draw PV areas, observation points and obstacles. As long as "Calculate ground level automatically" is switched on, PV-GlareCheck obtains the elevation at each object itself. When it is switched off, enter the elevation by hand.
  3. Compare samples. If you have known elevations from surveying, official maps or site measurement, compare individual values with them. This matters especially where the terrain was changed after the last survey flight, for example by fills, excavations or spoil heaps. No source is guaranteed to provide correct elevation data (Ch. VII).

Official elevations are connected for Germany, Austria, Switzerland and further European countries. Which countries and regions these are, with provider, grid spacing and licence, is listed in Ch. F.

When you need a terrain model. The automatic elevations apply only exactly at the objects. PV-GlareCheck knows the terrain in between only with a terrain model. Add one if

  • hills, slopes or embankments lie between the installation and the observers (terrain occlusion, section 6.8),
  • you want to calculate the cross tilt of a ground-mounted area in zones (Ch. 7.6),
  • you want to see the terrain on the map in the terrain view (section 6.9).

Without a terrain model, the terrain neither blocks nor shades in the calculation.

For hilly terrain, work in this order:

  1. Set the project area (step 1 above).
  2. Load the terrain model. In Germany, Austria, Switzerland and other countries (Ch. F), click "Load official terrain model" in the "Elevation data" menu (section 6.5). Draw the rectangle large enough to contain the installation, the places to be checked and the terrain in between. If no official model exists, upload a file of your own (sections 6.6 and 6.7).
  3. Then draw PV areas, observation points and obstacles. Their elevations now come from the model.

If you drew objects before the model was loaded, "Elevation data changed" appears. Click "Recalculate now" so that all objects take their elevations from the model. You do not need to switch terrain occlusion on yourself: it applies as soon as a terrain model is loaded (section 6.8).

6.2 Where the elevations come from

The "Elevation data" menu lists the sources in an order called the source chain. PV-GlareCheck queries the switched-on sources from top to bottom. The first one that has a value at a point provides the GL. If a point lies outside a terrain model or the official coverage, the next source takes over.

Source Type Note
Terrain model in the project raster stored with the project each model is a separate level; a new one is added switched on at the top
"Official data" query per point official terrain models without buildings and vegetation; choose the country in the country selection of this level; products by country in Ch. F
"Google Elevation API" query per point worldwide, always last and always switched on; without grid spacing and data date, accuracy varies by region

Change the order with the handle; it is saved with the project version. The terrain models themselves belong to the project and apply to all versions.

Menu “Elevation data” with three levels: 1 terrain model in the project “DGM1 (4 km²).tif”, 2 official data Germany DGM1, 3 Google Elevation API; on the map the frame of the terrain model around the PV areas
Source chain with an official terrain model at the top, below it the official point query and Google. The yellow frame on the map shows the extent of the model. Aerial image: © Bayerische Vermessungsverwaltung (2026), CC BY 4.0.

Planned terrain changes. If the terrain is altered for the installation, for example by levelling or embankments, the planned elevations can apply. To do so, correct the elevations of the affected objects by hand ("Calculate ground level automatically" off) or upload the plan as your own terrain model (section 6.7). It only needs to cover the affected area: at the top of the chain it supplies the values there, elsewhere the next source applies. This also holds for terrain occlusion and the terrain view. Then update elevations already obtained with "Recalculate" (section 6.4).

Different height systems. Each source measures the height above sea level from its own zero surface, the height system, in Germany for example standard elevation zero (NHN). If you mix sources with different height systems, for example at a national border or with your own file, small steps can occur between them. The height systems by country are listed in Ch. F.

6.3 Source markers

Every automatically obtained elevation value shows with a superscript marker in the editor and in the report where it comes from. The tooltip names the source, authority and data date.

Marker Source
A, A1, A2 … official point query; numbered if several authorities or data dates occur
E, E1, E2 … terrain model in the project
G Google Elevation API
none entered by hand, imported, moved after retrieval or source not recorded

The report appendix "Elevation data sources" lists every source that occurs once in full (Ch. 14).

6.4 When sources change or fail

Sources changed. If you switch, reorder, add or delete sources, elevations already obtained initially remain unchanged. If the project already contains objects, the notice "Elevation data changed" appears at the top right. "Recalculate now" fetches the ground levels of PV areas, observation points and obstacles again. The notice stays until this succeeds or you close it. For a single object, fetch new values with "Recalculate" on the object. For ground-mounted areas, the terrain menu shows whether the elevation data have changed since the calculation (Ch. 7.5).

A source does not respond. Then the next source takes over. PV-GlareCheck reports this, and the value carries the marker of its actual source, e.g. G instead of A. You can only simulate an affected ground-mounted area after the values have been obtained again. If Google does not return a value either, retrieval is aborted and existing values remain.

6.5 Terrain model in the project

What a terrain model is. A digital terrain model (DTM, German DGM) describes the elevation of the bare ground area-wide as a raster, one height value per cell, without buildings and vegetation. The grid spacing states how large the cells are; in Germany, for example, a model with 1 m × 1 m cells is called "DGM1". "Official data" queries the same official models point by point. With the model as a file in the project, PV-GlareCheck also knows the terrain between the points, and the values stay the same as long as the file remains in the project.

Use a terrain model, not a surface model (DSM, German DOM). A surface model contains roofs and treetops: objects would stand on them, and forest edges would occlude like terrain edges. PV-GlareCheck does not detect this itself; roofs and forest edges in the terrain view indicate it (section 6.9). A terrain model is also not the same as the elevation grid of a ground-mounted area, which samples the terrain at support points (Ch. 7.5).

What a terrain model brings. In the covered area:

Feature with terrain model without terrain model
Terrain occlusion (section 6.8) hills and embankments occlude and shade terrain neither occludes nor shades
Terrain view and contour lines (section 6.9) available not available
Differentiated cross tilt (Ch. 7.6) zones from the terrain one value per area

You can only load and upload terrain models within the project area (Ch. 5). For observation points outside it, the terrain at the point and on part of the way to the PV area is missing (section 6.8). If you delete a model, PV-GlareCheck removes it from all versions; elevations already obtained remain.

Load an official terrain model. This route exists in the countries and regions listed in Ch. F with "load official" or "official data store". Otherwise upload a file of your own (sections 6.6 and 6.7).

  1. Open "Elevation data" in the main menu and click "Load official terrain model", then "Define area". PV-GlareCheck suggests a yellow rectangle around all PV areas and observation points with a 250 m margin. Data is loaded up to the edge of the project area at most.
  2. Drag the rectangle by its corners and edges or move it as a whole. Terrain occlusion only works within this area. If observation points lie outside, the dialog warns before loading.
  3. Click "Confirm area".
  4. The preview shows the estimated download volume, the storage required and the account usage afterwards. Click "Load".

The model is then switched on at the top of the source chain (section 6.2). Name and description (source, data date, load date) are written by the loading process; you cannot change the description. In Germany, the name includes the municipality at the centre of the area, for example "DGM1 Freising (4 km², 2022).tif". Tiles without data (water, border areas) remain as gaps. If the official service is disrupted, loading stops with a message instead of leaving out tiles. Points specific to individual countries, such as gaps under buildings, are listed in Ch. F.

Details: how accurate official terrain models are

The official models are derived from airborne laser scanning: the ground points are filtered out of the point cloud and condensed into a raster. In open terrain the heights are typically accurate to about ±15 to 30 cm, less accurate under dense forest and at steep edges. The data date is the time of the flight, often some years back; later earthworks are missing. Height system and spatial reference by country are listed in Ch. F.

The elevations enter the calculation in several places: as the position in space (module and eye heights are added to the GL), as the shape of a ground-mounted area via the elevation grid (Ch. 7.5), as the cross tilt from the slope across the orientation (Ch. 7.6) and as occlusion and shading by hilltops and embankments (section 6.8).

6.6 Where to get a terrain model

Where PV-GlareCheck offers "Load official terrain model", you only need a file of your own in special cases, such as a planned topography (section 6.2). In other countries, the national mapping agencies often provide terrain models as open data. Your own survey, e.g. a drone or laser-scan flight exported as a terrain raster, is possible anywhere. Providers, products and licences by country are listed in Ch. F.

Three things matter when choosing:

  • a terrain model (names DGM, DTM, MDT, "bare earth"), not a surface model (DOM, DSM, MDS);
  • a grid spacing of at most 5 m, that is cells of at most 5 m × 5 m;
  • heights above sea level.

Global satellite models such as Copernicus DEM or SRTM are surface models with a grid of about 30 m; PV-GlareCheck rejects them. Enter the provider's licence and attribution in the model's "Description". It appears in the report as the source reference.

6.7 Uploading your own terrain model

  1. Save the project with a project area (Ch. 5).
  2. Open "Elevation data" in the main menu and click "Add your own terrain model".
  3. Click "Select file" or drag one or more files into the window.
  4. If needed, enter a "Description". It is optional, up to 200 characters long and applies to all files you upload together. It appears in the report as the source reference, for example with source and data date. You can add or change it later on the model card via "Add a description" or "Edit description".
  5. Click "Upload".
  6. If a file carries no coordinate system, the window "Specify the coordinate system" asks for it. The coordinate system defines how the positions in the file are to be read. Select it, for example ETRS89 / UTM zone 32N, or enter an EPSG code, the identification number of a coordinate system (details below). Then click "Continue upload". Without an answer the upload is cancelled.

PV-GlareCheck checks and processes the file. The model is then switched on at the top of the source chain (section 6.2). A file that fails remains in the dialog with its message. If you upload the same file again, PV-GlareCheck stores nothing new.

Dialog “Add your own terrain model”: (1) drop area with “Select file”, selected file dgm1_32_704_5380.tif, (2) field “Description (optional)” with “DGM1 Bavaria, Bayerische Vermessungsverwaltung, CC BY 4.0”, (3) “Upload”
(1) Choose the file, (2) enter a description, (3) "Upload". The description names product, provider and licence and appears in the report as it is.

What the file must meet. A terrain model (not a surface model) as GeoTIFF, ASCII grid or XYZ list, with a grid spacing of 0.25 m to 5 m and heights in metres above sea level. The exact requirements and the most common messages are in the details below.

What happens when uploading. PV-GlareCheck crops each file to the project area with a 500 m margin and resamples it to a 1 m raster. The processed file occupies storage in the account (Ch. 3). A coarser model then uses more storage than the file itself; the message after uploading states the storage used. If the heights are given in whole metres only, PV-GlareCheck accepts the file and the model card carries the label "Whole metres". Slopes derived from it are stepped; for cross tilt and terrain occlusion a model with decimal places is preferable.

Details: requirements for the file
Property Requirement
Model terrain model (DTM/DGM), not a surface model
Format GeoTIFF (.tif, .tiff), ASCII grid (.asc), XYZ list (.xyz, .txt) as a regular grid; only the first band is read. No ZIP archives, point clouds (LAS, LAZ), CAD or shape files, contour lines or plans
Grid spacing 0.25 m to 5 m
Height reference metres above sea level (e.g. NHN/DHHN2016, EVRF, LN02); no heights above ground, no pure ellipsoidal heights; −500 m to 5,000 m. Height systems are not converted
Missing values marked as NoData in the file; an unmarked fill value such as −9999 counts as a height and is rejected as implausible
Spatial reference any coordinate system; if the file has none, PV-GlareCheck asks for it (step 6)
Location at least 2 % of the cropped square, about 1 km² for a 3 km radius
Size up to 500 MB per file

Specifying the coordinate system. The options are ETRS89 / UTM 32N (EPSG:25832) and 33N (EPSG:25833), WGS84 (EPSG:4326), Gauss-Krüger zone 3 (EPSG:31467) and 4 (EPSG:31468), and any EPSG code, e.g. EPSG:2056 for Switzerland or EPSG:25830 for Spain (UTM 30N). If PV-GlareCheck then rejects the file because of its grid spacing or location, the message names the specified system and asks whether it matches the data; in that case choose a different system. A system in degrees for data in metres, for example, yields a grid spacing close to 0 m.

Details: common messages when uploading
Message (meaning) Cause and remedy
file format not supported archive or point cloud: unpack, or obtain GeoTIFF or ASCII grid from the provider
file carries no coordinate system specify the system (step 6); it is given in the metadata or on the provider's download page
raster too coarse use a model with a grid spacing of at most 5 m. If the system was specified by hand, check it
raster finer than 0.25 m resample the file to at least 0.25 m beforehand
data outside the project area, or covers only … % of it load tiles for the area of the project area; if the system was specified by hand, check it
elevations implausible fill value without NoData marking, elevations in centimetres, or heights above ground
no elevation values in the project area the file only has missing values there
file could not be read as a raster not a raster file: export it as GeoTIFF, ASCII grid or XYZ list
file damaged or incomplete export or download the file again
file is already in the project the same file has already been uploaded; nothing to do

6.8 Terrain occlusion

Terrain occlusion accounts for hilltops, embankments and slopes on two paths: they can block the view from the observation point to the PV area, and they can shade the PV area when the sun is behind them. Drawn obstacles act in addition (Ch. 10.1). For distant mountains outside the terrain model there is far-field shading (Ch. 10.2).

Switching on. Switch terrain occlusion on in the "Terrain occlusion" menu with the "Terrain occlusion" switch. Without an explicit choice, it is on as soon as a terrain model is activated. PV-GlareCheck calculates with the switched-on terrain models; if they overlap, the one higher up in the source chain takes precedence.

Where it works. Only with the terrain contained in the model. You can only load terrain models within the project area (Ch. 5). For observation points outside it, only the terrain in the model between point and PV area occludes. Where a piece of terrain between observation point and PV area is missing, it cannot occlude there; glare is then rather overstated. The model should therefore cover the terrain between PV areas and observation points and around the PV areas. The "Start simulation" dialog shows whether terrain occlusion is on and with how many models, and warns if observation points lie outside the terrain models. The report states this per point.

At the start. PV-GlareCheck calculates the horizons from the terrain model and saves them with the simulation; later changes to the model do not affect this simulation. The simulation does not start and uses no token if terrain occlusion is switched on but no terrain model is activated (menu: "On, but no terrain model is activated"). The same applies if the eye of an observation point would lie below the model terrain, for example after a manually entered height that is too low. The calculation is described in Ch. V.

In the report. Terrain occlusion appears in the overview and in a separate appendix (Ch. 14). The appendix states the "source grid", i.e. the grid spacing of the models used, and the "computation grid" of the horizon calculation.

6.9 Terrain view and contour lines

The "Terrain" button on the map opens the "Terrain view": colouring by "Slope", "Relief" or "Elevation", the "Opacity" slider and the "Contour lines" checkbox. The line interval depends on the elevation range in the visible extent.

The view shows only the enabled terrain models in the project, not the surface the simulation calculates with. That is shown by the elevation map in the terrain menu of the ground-mounted area (Ch. 7.5). House roofs and forest edges in the view indicate a surface model.

6.10 Points to note

  • Choose the project area with the observation points in mind: You cannot load terrain outside the project area, not even as your own model, and you cannot change the project area afterwards (Ch. 4). When creating a project, therefore choose the centre so that the observation points also lie within the project area (Ch. 5). If they only lie outside the loaded area, enlarge the area.
  • Queries per point can change: A later request can return different values, for example after a new survey flight or with a changed service.
  • Deviating GL: The horizon is measured from the same GL of the observation point as the simulation. A manually set height, for example on a bridge, therefore applies here as well. If it deviates by more than 0.5 m from the model, the appendix states the deviation.
  • PV areas: PV-GlareCheck does not check their heights against the model. A mound in the model can therefore occlude part of an area.
  • Pre-analysis: The pre-analysis does not take terrain occlusion into account (Ch. 11).
Details: messages for observation points outside, official coverage

Messages. When loading, the dialog reports "… of … observation points lie outside the area. There and on the way to them the terrain is missing; terrain occlusion does not apply there." or "… lie outside the project area; no terrain can be loaded there.", and the start dialog "… lie outside the terrain models; they are calculated without terrain occlusion." If the radius of the project area is missing for a project, "Load official terrain model" stops with "The radius of the project area is missing for this project. Please set the project area again."

Official coverage. PV-GlareCheck checks at the centre of the project area whether the official source can be used. If the service does not respond during this check, the level remains switched off; switch it on by hand later in the "Elevation data" menu. PV-GlareCheck keeps using official values that have already been queried; a new survey flight therefore does not become visible immediately.