[Geoserver-jp] CQL and double-byte characters
Mario Basa
mario.basa @ gmail.com
2010年 9月 26日 (日) 20:47:55 EDT
Hello,
One of the very good features of Geoserver is the addition of CQL,
which makes it possible to add both attribute AND spatial queries to a
WxS request. With MapServer, it is usually necessary to write a php
program + PostGIS to do the same thing.
Unfortunately though, the OGC standard prevents CQL from using
double-byte (漢字) characters and only allows Latin [a-z][A-Z]
characters. Please see the Lexical Rules here:
http://docs.codehaus.org/display/GEOTOOLS/CQL+Parser+Design#CQLParserDesign-
So, something like 住所=杉並区 in the CQL statement will not be possible.
Fortunately though, this is being fixed in the ECQL (Extended-CQL)
right now in GeoTools. What is being planned is that anything between
" " quotes will not go through the Lexical Rules, so "住所"="杉並区" should
now be ok. ECQL is also being planned to replace the CQL engine in
GeoServer in newer versions, so this should benefit us over here.
FYI.
Mario.
geoserver-jp メーリングリストの案内