Environment Agency: Importing Flood Map for Planning Flood Zones

Environment Agency: Importing Flood Map for Planning Flood Zones

System Category

Flood Zones

Source

Environment Agency

Available since

2025

Organisation

image-20250918-134022.png

 

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

  1. If the data is to be loaded into PostGIS first ensure that a suitable schema exists in the database.

  2. Copy the WFS URL from https://environment.data.gov.uk/dataset/04532375-a198-476e-985e-0579a0a11b47

  3. Create a Workflow WFS Connection using the URL.

  4. Identify the bounding box required. It should be in this format: minx miny maxx maxy.

  5. Create a Spatial Data Transformation task.

    1. Select the WFS as the source and specify a destination schema and table name.

    2. Add the following to the additional parameters in Expert mode: “-spat <minx> <miny> <maxx> <maxy> --config OGR_WFS_PAGING_ALLOWED ON”.

    3. Set the geometry type to MULTIPOLYGON

      8669e863-837b-4807-bcfc-0d94d5b2f40b.png
  6. 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.

    image-20250918-110816.png

 

 

Related articles

Filter by label

There are no items with the selected labels at this time.