process-feature.rst (geotools-24.0-project) | : | process-feature.rst (geotools-24.1-project) | ||
---|---|---|---|---|
skipping to change at line 62 | skipping to change at line 62 | |||
* Generate additional attributes using the form: ``area=area( the_geom )``:: | * Generate additional attributes using the form: ``area=area( the_geom )``:: | |||
INPUT Schema DEFINITION OUTPUT Schema | INPUT Schema DEFINITION OUTPUT Schema | |||
the_geom: Polygon the_geom=centriod(the_geom) the_geom: Point | the_geom: Polygon the_geom=centriod(the_geom) the_geom: Point | |||
name: String name name: String | name: String name name: String | |||
id: Long id id: Long | id: Long id id: Long | |||
description: String description description: String | description: String description description: String | |||
area=area( the_geom) area: Double | area=area( the_geom) area: Double | |||
text=concatenate(name,'-',id) text: String | text=concatenate(name,'-',id) text: String | |||
Group candidate selection | ||||
^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
Filters a FeatureCollection according to the aggregate operation chosen (MIN or | ||||
MAX) and the groups defined through attribute names. Given a feature collection, | ||||
groups according to the defined grouping attributes, and returns the feature ha | ||||
ving the MIN or MAX value for the chosen attribute. One feature will be chosen f | ||||
or each group. | ||||
This vector process accepts four parameters: | ||||
* ``data``: the data on which perform the computation. | ||||
* ``aggregation``: the type of operation required to filter data (MIN or MAX). | ||||
* ``operationAttribute``: the xpath to the attribute whose value will be used to | ||||
perform the MIN or MAX operation. | ||||
* ``groupingAttributes``: a lists of xpath pointing to the attirbutes defining t | ||||
he features' groups for which perform the filtering process. | ||||
The process ensures a consistent results only if the FeatureCollection has alrea | ||||
dy been sorted by the feature's attributes passed as the ``groupingAttributes`` | ||||
parameter. | ||||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 0 lines changed or added |