Retrieve Shapes for Known loc_ids
get_shapeLook up shape availability, centroid, and bounding box for exact existing loc_ids; optionally include GeoJSON polygon geometry.
Instructions
Shape lookup for exact existing loc_ids only. The default returns shape availability, centroid, and bounding box; include_polygon=true adds GeoJSON coordinates. Obtain any descendant IDs before this call. Historical geometry is returned first and successors are never substituted automatically. Year selection is not yet supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loc_id | No | DaedalMap loc_id, such as USA-CA-037, USA-Z-00601, USA-NWSFZ-AKZ317, EEZ-USA, or IHO1953-240001002. | |
| loc_ids | No | Exact DaedalMap loc_ids to fetch in one call. Default public cap is deployment-configurable and lower when include_polygon is true. | |
| batch_id | No | Optional caller-supplied batch id for tracing. | |
| request_id | No | Optional caller-supplied request id for tracing. | |
| include_polygon | No | When true, include the full GeoJSON geometry. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| error | No | ||
| items | No | ||
| reason | No | ||
| missing | No | ||
| batch_id | No | ||
| guidance | No | ||
| warnings | No | ||
| available | No | ||
| next_step | No | ||
| requested | No | ||
| selection | No | ||
| request_id | No | ||
| clarification | No | ||
| meter_receipt | No | ||
| include_polygon | No | ||
| settlement_receipt | No |