Environment Agency: Importing Flood Map for Planning Flood Zones
System Category | Flood Zones |
|---|---|
Source | Environment Agency |
Available since | 2025 |
Organisation |
|
The Flood Map for Planning Flood Zones data is a very large national dataset. It can be challenging to import this data for a particular area but this guide will demonstrate how the data can be imported easily into PostGIS.
Step-by-step guide
If the data is to be loaded into PostGIS first ensure that a suitable schema exists in the database.
Copy the WFS URL from https://environment.data.gov.uk/dataset/04532375-a198-476e-985e-0579a0a11b47
Create a Workflow WFS Connection using the URL.
Identify the bounding box required. It should be in this format: minx miny maxx maxy.
Create a Spatial Data Transformation task.
Select the WFS as the source and specify a destination schema and table name.
Add the following to the additional parameters in Expert mode: “-spat <minx> <miny> <maxx> <maxy> --config OGR_WFS_PAGING_ALLOWED ON”.
Set the geometry type to MULTIPOLYGON
Once loaded configure a layer in Studio for iShare GIS. Be aware that in this example the geometry was stored in a ‘shape’ field, not ‘wkb_geometry’. Under the advanced button in the Layer Configuration dialog it is possible to select a custom geometry field.
Related articles
Filter by label
There are no items with the selected labels at this time.