Select gridavg (TQL): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Select TQL|suppresscategory=true|allowselflinks=true| | {{Select TQL|suppresscategory=true|allowselflinks=true|<onlyinclude> | ||
{{Select TQL| | {{Select TQL|tabletype=row|attribute=GRIDAVG|unit=decimal|description=Returns the average grid value for the query polygons an a specified [[Grid]]|fixed=No|polygon=true|}}</onlyinclude> | ||
}} | }} | ||
| Line 9: | Line 9: | ||
{{: Grid with attribute (TQL Param)}} | {{: Grid with attribute (TQL Param)}} | ||
{{: Gridtype (TQL Param)}} | {{: Gridtype (TQL Param)}} | ||
{{: Gridvalue (TQL Param)}} | |||
{{: Iteration (TQL Param)}} | |||
{{: Map (TQL Param)}} | {{: Map (TQL Param)}} | ||
{{: Maxgridvalue (TQL Param)}} | |||
{{: Mingridvalue (TQL Param)}} | |||
{{: Neighborhood (TQL Param)}} | {{: Neighborhood (TQL Param)}} | ||
{{: Neighborhood with attribute (TQL Param)}} | {{: Neighborhood with attribute (TQL Param)}} | ||
{{: Resulttype (TQL Param)}} | |||
{{: Terrain (TQL Param)}} | {{: Terrain (TQL Param)}} | ||
{{: Terrain with attribute (TQL Param)}} | {{: Terrain with attribute (TQL Param)}} | ||
| Line 17: | Line 22: | ||
{{: Zone (TQL Param)}} | {{: Zone (TQL Param)}} | ||
{{: Zone with attribute (TQL Param)}} | {{: Zone with attribute (TQL Param)}} | ||
}} | }} | ||
Latest revision as of 09:29, 2 June 2026
| Select | Unit | Description | Fixed clause amount | Polygon based |
|---|---|---|---|---|
| GRIDAVG | decimal | Returns the average grid value for the query polygons an a specified Grid | No | true |
Allowed clause parameters
| Param | Value | Description | Limits search polygon |
|---|---|---|---|
| AREA |
Item ID, X, Y, XC, YC XA, YA, XK or YK |
Area with ID | true |
| AREA_WITH_ATTRIBUTE | Attribute | Area with non zero Attribute value | true |
| GRID |
Item ID, X, Y, XC, YC XA, YA, XK or YK |
Grid of Grid Overlay with ID | false |
| GRID_WITH_ATTRIBUTE | Attribute | Grid of Grid Overlay with non zero Attribute value | false |
| GRIDTYPE |
Grid Type X, Y, XA, YA |
Grid of Grid Overlay with specified type | true |
| GRIDVALUE | decimal | Only include Grid Overlay cells that have a value equal to the one specified | true |
| ITERATION | positive integer | Query only executes when the current Iteration matches this value | false |
| MAP |
Map Type X, Y, XA, YA |
Only Items present in this Map Type | true |
| MAXGRIDVALUE | decimal | Only include Grid Overlay cells that have a value smaller than the one specified | true |
| MINGRIDVALUE | decimal | Only include Grid Overlay cells that have a value larger than or equal to the one specified | true |
| NEIGHBORHOOD |
Item ID, X, Y, XC, YC XA, YA, XK or YK |
Neighborhood with ID | true |
| NEIGHBORHOOD_WITH_ATTRIBUTE | Attribute | Neighborhood with non zero Attribute value | true |
| RESULTTYPE |
Grid Type X, Y, XA, YA |
Grid of Grid Overlay with specified Result type | true |
| TERRAIN |
Item ID, X, Y, XC, YC XA, YA, XK or YK |
Terrain of Terrain Type with ID | true |
| TERRAIN_WITH_ATTRIBUTE | Attribute | Terrain is of Terrain Type with non zero Attribute value | true |
| TIMEFRAME |
timeframe X, Y, XA, YA |
Specifies which Timeframe to select when processing a particular Grid | false |
| ZONE |
Item ID, X, Y, XC, YC XA, YA, XK or YK |
Zone with ID | true |
| ZONE_WITH_ATTRIBUTE | Attribute | Zone with non zero Attribute value | true |
Notes
- The Grid should be specified with the Grid (TQL Param) or Grid with attribute (TQL Param)