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.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"limit": 5,
"where": "DFIRM_ID='48201C' AND FLD_ZONE='AE'",
"layer_id": 28,
"out_fields": "FLD_ZONE,ZONE_SUBTY,SFHA_TF,STATIC_BFE,DFIRM_ID"
},
"name": "nfhl_query"
}
}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. |