English
Géorisques
Reads known hazards for an address or a municipality (flood, earthquake, radon, clay, natural disasters). Information only, not the regulatory risk statement.
The Géorisques node reads the known hazards for an address, a point or a municipality, as the French State publishes them on Géorisques: listed risks, natural disaster orders, seismic zone, radon potential and clay shrink-swell. Use it to prepare a letting or sale file, or to answer a buyer who asks whether the property is in a flood zone.
It is an open public API: nothing to connect. An address is first normalised by the Base Adresse Nationale.
This node informs; it does not replace the regulatory risk statement required for a lease or a sale.
At a glance
- Type:
georisques.api· version 1 - Category: Data
- Kind: Step — one stage of a run
- Effect: No external effect (
none) — nothing is written outside Loop & Roll; safe to replay - Needs a carrier email: No
- Connection: None
- Inputs:
main - Outputs:
main
Parameters
action
Action
- Type: One choice (
options) - Required: Yes
- Default:
summary - Options:
summary— Risk overview: Listed risks, natural disasters, seismicity, radon and clay soils, in one step.risks— Listed risks: Natural and technological risks listed for the municipality (GASPAR database).catnat— Natural disaster orders: Official natural disaster declarations, with their dates.seismic— Seismic zoneradon— Radon potential: Per municipality: an address or an INSEE code is required.clay— Clay shrink-swell: Per point: an address or coordinates are required.
address
Address — Geocoded by the Base Adresse Nationale. Leave empty to use the coordinates or the INSEE code.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 300 characters at most
- Example:
8 bd du Port, Amiens - Expressions:
{{ }}accepted
lat
Latitude
- Type: Text (
string) - Required: No
- Default:
""(empty) - 30 characters at most
- Expressions:
{{ }}accepted
lon
Longitude
- Type: Text (
string) - Required: No
- Default:
""(empty) - 30 characters at most
- Expressions:
{{ }}accepted
citycode
Municipality INSEE code — Used when neither the address nor the coordinates are given.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 5 characters at most
- Example:
80021 - Expressions:
{{ }}accepted
limit
Maximum orders to read
- Type: Number (
number) - Required: No
- Default:
10 - Whole number, from 1 to 50
- Shown when:
actionis one ofsummary,catnat
Outputs
main— Taken once the reads have completed.foundis false only when the address cannot be found.
Data produced
What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).
{{ data.<step>.found }}—boolean. false when the Base Adresse Nationale did not find the address (no hazard is then read), true otherwise.{{ data.<step>.address }}—string. The normalised address, when an address was given.{{ data.<step>.citycode }}—string. The INSEE code of the municipality queried, when known.{{ data.<step>.risks }}—array of { code, label }. Overview and Listed risks: the natural and technological risks listed for the municipality (GASPAR database), for example “Inondation”.{{ data.<step>.count }}—number. Overview and Listed risks: the number of listed risks.{{ data.<step>.catnatCount }}—number. Overview and Natural disaster orders: the number of natural disaster orders for the municipality.{{ data.<step>.catnat }}—array of { code, label, startDate, endDate, orderDate, gazetteDate }. Overview and Natural disaster orders: the orders read, up to the number asked. Dates areDD/MM/YYYY, as the API returns them.{{ data.<step>.seismicLabel }}—string. Overview and Seismic zone: the zone, for example “1 - TRES FAIBLE” (seismicZoneholds its number).{{ data.<step>.radonClass }}—string. Overview and Radon potential: the radon potential category of the municipality (1 to 3), empty without a municipality.{{ data.<step>.clayExposure }}—string. Overview and Clay shrink-swell: the exposure at the point, for example “Exposition moyenne” (clayCodeholds its code). Empty outside mapped areas or without a point.{{ data.<step>.summary }}—string. The one-line summary in the member’s language, for example “8 listed risks, 14 natural disaster orders.” (withsummaryKeyandsummaryParams).
Operations
The place is given once for all actions: Address (address) when filled in, otherwise Latitude (lat) and Longitude (lon), otherwise Municipality INSEE code (citycode).
- Risk overview (
summary, the default). The five reads below, in one step. - Listed risks (
risks). The risks of the municipality (GASPAR database). - Natural disaster orders (
catnat). Up to Maximum orders to read (limit, 1 to 50, 10 by default);catnatCountgives the total. - Seismic zone (
seismic). - Radon potential (
radon). Per municipality: an address or an INSEE code is required. - Clay shrink-swell (
clay). Per point: an address or coordinates are required.
Example
A tenant asks whether the flat is exposed to flooding. The node is called “Hazards”:
text
action summary
address {{ data.read.address }}The step data (shortened):
json
{
"found": true,
"address": "8 Boulevard du Port 80000 Amiens",
"citycode": "80021",
"risks": [{ "code": "11", "label": "Inondation" }],
"count": 1,
"catnatCount": 14,
"seismicLabel": "1 - TRES FAIBLE",
"radonClass": "1",
"clayExposure": ""
}An AI compose step can rely on {{ data.hazards.risks }} for a factual reply that points to the official risk statement.
Tips
- Test runs. Every action is a read: they really run in a test run.
- No data. An empty list or field means nothing is published for this place, not that there is no hazard.
- Source. The node uses version 1 of the Géorisques API, open without registration.
- Rate. The overview makes five requests in a row; the node spaces them to stay under the service rate.
- Errors. A missing place fails the step with
node_invalid_param, as does radon without a municipality or clay without a point. See Error handling.