Skip to content

Get a wind profile

Get the EN 1991-1-4 site inputs for a location, per wind direction, under the generic Eurocode or a national annex.

For any location, Shapemaker derives the site inputs of EN 1991-1-4 from terrain, land cover and coastline data, one wind direction at a time. One call returns them. A second, optional call turns them into wind values at each height up the structure.

You need an access token. See Authenticate as an app.

Send the location, the design standard, the height of the structure and the directions to assess:

Terminal window
curl -X POST https://api.shapemaker.io/v1/site/eurocode-site-assessment \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"latitude": 53.4,
"longitude": -2.98,
"designStandardKey": "BS_EN_01",
"windProfileHeightM": 30,
"globalWindDirections": [0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330]
}'
Field Description
latitude, longitude The site in decimal degrees (WGS 84).
designStandardKey The Eurocode or national annex. See Design standards.
windProfileHeightM The height of the structure in metres. Greater than 0.
globalWindDirections The directions to assess, in degrees clockwise from north (0 to under 360), as the direction the wind blows from. At least one.
siteAltitudeM Optional. The site altitude in metres. When left out, the annexes that require one (UK, Irish, German, Finnish, Polish, Bulgarian and Italian) look it up from terrain data, and the others use 0.
radiusOfScannedTopographyM Optional. How far upwind to look for hills, ridges and escarpments, in metres. Defaults to 3220. The UK and Irish annexes always look 8 km upwind.

The response has the same shape for every design standard, with one assessment per direction. Two of the twelve:

{
"designStandardKey": "BS_EN_01",
"siteAltitudeM": 19.35,
"v_b0_MS": 23.4,
"v_b_map_MS": 23.0,
"directionalAssessments": [
{
"globalWindDirection": 0.0,
"terrainCategory": "EN_BS_TOWN",
"orographyData": null,
"cDir": 0.78,
"distanceUpwindShorelineKm": 26.6,
"distanceInsideTownKm": 10.17
},
{
"globalWindDirection": 150.0,
"terrainCategory": "EN_BS_COUNTRY",
"orographyData": null,
"cDir": 0.8,
"distanceUpwindShorelineKm": 2.66,
"distanceInsideTownKm": null
}
]
}
Field Description
siteAltitudeM The site altitude used, in metres. A location without terrain data reports 0.
v_b0_MS The fundamental value of the basic wind velocity in m/s. See Basic wind velocity for what it includes.
v_b_map_MS UK and Irish annexes only. The map value of the basic wind velocity in m/s, before the altitude factor.
terrainCategory The terrain category in the annex’s own categories. See Terrain categories.
cDir The directional factor.
orographyData The hill, ridge or escarpment upwind. null when orography isn’t significant for that direction. See Orography.
distanceUpwindShorelineKm UK and Irish annexes only. Distance upwind to the shoreline, in km.
distanceInsideTownKm UK and Irish annexes only. Distance upwind to the edge of town, in km. null for country terrain.

This step is optional. Send each direction from step 1 back with v_b0_MS and the same designStandardKey. Note that cDir goes back as c_dir, and orographyData goes back exactly as step 1 returned it:

Terminal window
curl -X POST https://api.shapemaker.io/v1/site/eurocode-multi-directional-wind-on-elevations \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"windProfileHeightM": 30,
"designStandardKey": "BS_EN_01",
"eurocodeWindOnElevationsInputs": [
{
"globalWindDirection": 0,
"v_b0_MS": 23.4,
"terrainCategory": "EN_BS_TOWN",
"orographyData": null,
"c_dir": 0.78,
"distanceUpwindShorelineKm": 26.6,
"distanceInsideTownKm": 10.17
}
]
}'

The response has one entry per direction, with values every 0.1 m up the structure. The first and last for one direction:

[
{
"globalWindDirection": 0.0,
"data": [
{
"elevationM": 0.1,
"meanWindVelocityMS": 7.51,
"turbulenceIntensity": 0.21,
"orographyFactor": 1.0
},
{
"elevationM": 29.9,
"meanWindVelocityMS": 18.406,
"turbulenceIntensity": 0.1519,
"orographyFactor": 1.0
}
]
}
]
Field Description
meanWindVelocityMS The mean wind velocity vm in m/s.
turbulenceIntensity The turbulence intensity Iv.
orographyFactor The orography factor co.

The API returns data, not a chart. Plot meanWindVelocityMS against elevationM to draw the profile.

This step works from v_b0_MS alone and doesn’t apply an altitude adjustment of its own. See Basic wind velocity.

designStandardKey Standard
EN_01 EN 1991-1-4, no annex
BS_EN_01 UK National Annex
IS_EN_01 Irish National Annex
BDS_EN_01 Bulgarian National Annex
DIN_EN_01 German National Annex
MSZ_EN_01 Hungarian National Annex
NF_EN_01 French National Annex
NS_EN_01 Norwegian National Annex
PN_EN_01 Polish National Annex
SFS_EN_01 Finnish National Annex
SS_EN_01 Swedish National Annex
UNI_EN_01 Italian National Annex

The site assessment needs a basic wind velocity for the site, so it only works in these countries, under any design standard:

Country Basic wind velocity
Bulgaria, France, Germany, Ireland, Italy, Norway, Poland, Spain, Sweden and the United Kingdom The national wind map
Finland 21 m/s, country-wide
Hungary 23.6 m/s, country-wide

Elsewhere, step 1 returns a 400. Two annexes are narrower: the UK and Irish annexes need the site to be in the UK or Ireland, and the Italian annex needs it to be in Italy.

v_b0_MS comes from the country the site is in (see Coverage), whatever designStandardKey you send. A site in Poland gets the Polish map under EN_01 too.

Whether it includes altitude depends on the site and the annex:

  • UK and Irish annexes: vb,map × calt. v_b_map_MS holds the value before calt.
  • Sites in Poland and Italy: the national altitude adjustment is included, using the altitude in siteAltitudeM. Under a design standard that doesn’t look the altitude up (see siteAltitudeM in step 1), send it, or the adjustment uses 0.
  • Everything else: no altitude adjustment. The German, Finnish and Bulgarian annexes require an altitude, but neither v_b0_MS nor step 2 includes it. Apply their altitude rules yourself.

terrainCategory uses each annex’s own category codes. To list them with their names, send the design standard to /v1/site/options:

Terminal window
curl -X POST https://api.shapemaker.io/v1/site/options \
-H "Authorization: Bearer ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "designStandardKey": "EN_01" }'
{
"terrainCategories": [
{
"category": "EN_0",
"name": "0 - Sea",
"description": "Sea or coastal area exposed to the open sea"
},
{
"category": "EN_1",
"name": "I - Lakes or sparse vegetation",
"description": "..."
}
]
}

/v1/site/options only accepts the design standards your organization has enabled in Shapemaker, while the site assessment accepts all of them.

For the generic Eurocode, Shapemaker assesses 13 overlapping 30° sectors across ±45° of each wind direction, 5° apart, and takes the smoothest category among them. Each sector is category 0 when water covers at least 10% of it within 2 km and at least 50% within 5 km. Otherwise it’s category I to IV, from the land cover within 1 km.

When a direction has a significant hill, ridge or escarpment upwind, orographyData describes it, in metres:

{
"feature": "hill",
"H": 12.83,
"X": 1107.68,
"L_up": 103.04,
"L_down": 3116.96,
"construction_points": { "upwind_slope": { "...": "..." }, "downwind_slope": { "...": "..." } }
}
Field Description
feature hill, ridge or escarpment.
H, X, L_up, L_down The EN 1991-1-4 Annex A dimensions of the feature.
construction_points Where the slopes start and end on the terrain profile. Step 2 needs it unchanged.
Status detail Cause
400 BS EN 1991-1-4 is only available for locations in the UK and Ireland. A UK or Irish annex request for a site outside the UK and Ireland.
400 Failed to determine wind zone for coordinates. An Italian annex request for a site outside Italy.
400 Failed to get fundamental basic wind velocity for the given coordinates. The site is outside the countries in Coverage.
400 The design standard and/or annex provided is currently not supported. designStandardKey is a TIA or AS/NZS key. Use one of the design standards.
400 Something went wrong Step 2 rejected the request, for example an unknown designStandardKey or a terrain category from another annex.
422 A validation error naming the field A step 1 field is missing or out of range, or designStandardKey is unknown.