Download List

项目描述

地理データ等を集約するXMLデータベースシステム

系统要求

System requirement is not defined

发布: 2009-02-25 11:59
daruma daruma-20090225 (1 files 隐藏)

发布版本通知

Added two predicates <PropertyIsMax> and <PropertyIsMin> for GetFeature
to get a feature where concreate property is maximum/minimum.
(tentative specification)

You can get features where concreate property is maximum/minimum in group
specified by <UniqueGroupBy> block inside <PropertyIsMax>/<PropertyIsMin>.

This is an example to get a features that u:measurementDate is
biggest(or latest) in features that has same u:personID.

<Filter>
<PropertyIsMax>
<PropertyName>u:measurementDate</PropertyName>
<UniqueGroupBy>
<PropertyName>u:personID</PropertyName>
</UniqueGroupBy>
</PropertyIsMax>
</Filter>

You can try some samples in test/test-PropertyIsMaxOrMin/.

GetFeature で、あるプロパティが最大値/最小値である述語
<PropertyIsMax>/<PropertyIsMin> を追加した。(仮仕様)

内部に、<UniqueGroupBy> ブロックを置くことでグループ化して、
それぞれのグループであるプロパティが最大値である Feature を取得出来る。

例えば以下のようにすると u:personID が同じもののうち u:measurementDate が
最大(最近)のものだけを取り出す。

<Filter>
<PropertyIsMax>
<PropertyName>u:measurementDate</PropertyName>
<UniqueGroupBy>
<PropertyName>u:personID</PropertyName>
</UniqueGroupBy>
</PropertyIsMax>
</Filter>

サンプルが test/test-PropertyIsMaxOrMin/ に入っている。

变更日志

No Changelogs