layers provided that intersect the polygon specified in the geometry at the H3 resolution indicated. In simple terms, get the H3 cells that have the given layers in it.geometry that is input in the request to generate a risk surface based on the risk of each layer. Risk is an integer that defines the level of avoidance or preference of a given layer. An integer greater than 0 will define a risk that leads to avoiding routing in that area. An integer less than 0 will define a preference that leads to routes that prefer that area.fields, and you canwhere.| Parameter | Type | Description |
|---|---|---|
code | string | A metadata source. |
fields | string[] | The fields of the metadata source you'd like to return. Setting "fields": ["*"] will return all valid fields for supported data types. |
where | <where> | A pseudo-SQL expression tree. Click here for information on how to generate one. |
risk | float64 | An optional risk value to assign to the layer. Only relevant when requesting risk surfaces. |
Backus-Naur Form
Simple comparisons
Logical operators
| Operator | Arity | Description |
|---|---|---|
AND | Binary or greater | A standard logical AND. All the arguments provided to the AND will be nested. |
OR | Binary or greater | A standard logical OR. All the arguments provided to the OR will be nested. |
| Operator | Arity | Description |
|---|---|---|
= | Binary | = does an equality check on the field and the passed value. Type coercion may be performed if the types are different. |
> | Binary | > checks the field is greater than the passed value. Type coercion may be performed if the types are different. |
< | Binary | < checks the field is less than the passed value. Type coercion may be performed if the types are different. |
<= | Binary | <= checks the field is less than or equal to the passed value. Type coercion may be performed if the types are different. |
>= | Binary | >= checks the field is greater than or equal to the passed value. Type coercion may be performed if the types are different. |
!= | Binary | != checks the field is not equal to the passed value. Type coercion may be performed if the types are different. |