Download List

Project Description

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

System Requirements

System requirement is not defined

Released at 2011-02-04 14:43
daruma daruma-20110204 (1 files Hide)

Release Notes

daruma-20110204:

* supported client timeout setting (standalone version only).
If client doesn't send message in a fixed time, DaRuMa will close the
client's connection.


* supported servlet container `jetty'. Now it works without `tomcat'.

% ./run-jetty

Usage: run-jetty [options]
Possible options are:
--help
--version
--port PORT (default: 8080)
--http-local-part (default: "/daruma")

For exapmle, you can run DaRuMa with jetty as follows.
./run-jetty --port 9000 --http-local-part /foo
The URL waiting for is as follows.
http://localhost:9000/foo


* updated servlet API from 2.4 to 2.5.
replaced some jar files related to servlet API to Jetty based jar files.


* fixed setup script for PostGIS.


* supported PropertyIsLike directive.

You can retrieve matched data by specifing pattern using wildcard.
Here is a sample to specify.

<Filter xmlns="http://www.infosharp.org/misp">
<PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
<PropertyName>ns:prop</PropertyName>
<Literal>b*</Literal>
</PropertyIsLike>
</Filter>

The wildCard, singleChar, escapeChar attributes should occur as attrubutes.
Note: In this implementation, singleChar matching not work with multibyte
character.

You can find some samples in directory test/test-PropertyIsLike/.


* added misp:RollPitchYawAnglesZYXType type.
It can express posture of moving agents.

Here are samples.
-- Schema ==
<xsd:schema>
...
<xsd:element name="posture" type="misp:RollPitchYawAnglesZYXType"/>
...
</xsd:schema>

== Data ==
<posture srsName="foo" xmlns="..." xmlns:misp="http://www.infosharp.org/misp">
<misp:roll>10.0</misp:roll>
<misp:pitch>20.0</misp:pitch>
<misp:yaw>30.0</misp:yaw>
</posture>

The roll, pitch, yaw values are expressed in degrees.
The rotaion order is X-axis, Y-axis, X-axis

The angles will be automatically converted using coordinate conversion
descriptions same as coordinates.


* added a feature that replaces time data automatically.
You can specify "now" as a time slot in data, it shall be replaced to
current real time.

For example, you can specify time to (2) instead of (1).

(1) <foo>2010-01-01T00:00:00Z</foo>
(2) <foo>now</foo>

Note: Current time means connection establisheda time,
all of "now" shall be replaced to this time.


* Now restores account information to know who insert the data.
Backend db tables are changed, so If you upgrade to this version,
you should following.
* dump current data
* uninstall old version of DaRuMa
* install this version of DaRuMa and initialize
* restore data

daruma-20110204:

○ サーブレットコンテナ Jetty に対応し、tomcat 無しで単独でも動作するように
なった。

% ./run-jetty

Usage: run-jetty [options]
Possible options are:
--help
--version
--port PORT (default: 8080)
--http-local-part (default: "/daruma")

例えば、
./run-jetty --port 9000 --http-local-part /foo
として起動すると、待ち受けるアドレスは
http://localhost:9000/foo
となる。


○ サーブレット API を 2.4 から 2.5 に変更し、使用する jar を
Jetty 由来のものに置き換えた。


○ PostGIS 用のセットアップスクリプトの不備を修正した。


○ PropertyIsLike に対応した。

ワイルドカード等でパターンを用意してそのパターンにマッチするものだけを
取り出すことが可能。

以下のようにして使用する。

<Filter xmlns="http://www.infosharp.org/misp">
<PropertyIsLike wildCard="*" singleChar="#" escapeChar="!">
<PropertyName>ns:prop</PropertyName>
<Literal>b*</Literal>
</PropertyIsLike>
</Filter>

wildCard, singleChar, escapeChar は省略不可。

現状では一文字マッチは ascii 文字以外ではうまくいかないので注意。

test/test-PropertyIsLike/ 以下にサンプルが入っている。


○ misp:RollPitchYawAnglesZYXType を追加した。
移動体の姿勢(向き)を表現できる。
以下に使用例を示す。

・スキーマ
<xsd:schema>
...
<xsd:element name="posture" type="misp:RollPitchYawAnglesZYXType"/>
...
</xsd:schema>

・データ
<posture srsName="foo" xmlns="..." xmlns:misp="http://www.infosharp.org/misp">
<misp:roll>10.0</misp:roll>
<misp:pitch>20.0</misp:pitch>
<misp:yaw>30.0</misp:yaw>
</posture>

roll, pitch, yaw の値はラジアンではなく度で指定する。
回転順は、Z軸まわり, Y軸まわり, X軸まわりの順。

位置と同様、srsName を記述することで自動で座標系変換結果が反映される。


○ Insert 時の時刻指定で現在時刻を指定することができるようになった。

"now"という文字列を指定すると現在の時刻に置換されて登録される。

例えば、
<foo>2010-01-01T00:00:00Z</foo>
等の代わりに
<foo>now</foo>
と指定する。

ここでの現在時刻とは、サーバに接続が確立された時点の時刻であり、
処理が待たされた場合等であっても、データ内の全ての "now" はこの時刻に
置換される。


○ データ登録時に認証されたアカウント情報を保存するようにした。
バックエンドDBのテーブルが変更されているため、アップグレードするためには
以下の手続きが必要になります。
* 現在のデータをダンプ
* 古いバージョンの DaRuMa のアンインストール
* このバージョンの DaRuMa のインストールと初期化
* データのリストア

Changelog

No Changelogs