Nfhl Query
nfhl_queryQuery any layer of the FEMA National Flood Hazard Layer with an ArcGIS WHERE clause and optional bounding box — flood hazard zones, base flood elevations, floodways, LOMRs and LOMAs, FIRM panels with their effective dates, levees, cross-sections, political jurisdictions. Use for area questions ("every floodway polygon in this county", "LOMRs issued on this DFIRM"). Layer ids come from nfhl_layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | Optional "xmin,ymin,xmax,ymax" WGS84 envelope to restrict the query (longitude first) | |
| limit | No | Max rows, 1-500 (default 50) | |
| where | No | ArcGIS WHERE clause, default "1=1". Id fields are strings: DFIRM_ID='48201C'. | |
| offset | No | Row offset for paging | |
| layer_id | Yes | NFHL layer id — 28 is Flood Hazard Zones, 16 Base Flood Elevations, 1 LOMRs, 3 FIRM Panels | |
| order_by | No | Comma-separated order-by fields | |
| out_fields | No | Comma-separated field names, or "*" for all (default "*") | |
| return_geometry | No | Include geometry. Default false — flood polygons are very large. |