GeoServer problems with russian
Добавлено: 08 мар 2013, 16:58
Hi,
hopefully You don't mind I write in (bad) english. I'm from Estonia, learned russian over 12 years and unfortunately not speak it at all. Well, let it be...
I hope, that someone have run into weird problems related with russian letters and GeoServer. I tried to set up WMS services with GeoServer on top of database (PostGIS) where all field names and values are in cyrillic. Everything seems to work, but when I try to create CQL filters from OpenLayers in russian, then it do not work.
For example works well, but don't.
WMS gives following error:
Also, WFS do not work with filters:
Weird is that with combination GeoServer 2.2.2 in Windows, WFS do not work at all with cyrillic fieldnames, but with version 2.1.3 in Debian, WFS works (without filters). Also, If filters are OGC filters (posted xml), it works.
Is anybody run into this behavior? Any help or quidelines are more than appreciated.
Mihkel
GIS developer from Estonia.
hopefully You don't mind I write in (bad) english. I'm from Estonia, learned russian over 12 years and unfortunately not speak it at all. Well, let it be...
I hope, that someone have run into weird problems related with russian letters and GeoServer. I tried to set up WMS services with GeoServer on top of database (PostGIS) where all field names and values are in cyrillic. Everything seems to work, but when I try to create CQL filters from OpenLayers in russian, then it do not work.
For example
Код: Выделить всё
CQL_FILTER=myfield='тому'
Код: Выделить всё
CQL_FITLER=тому='myvalue'
WMS gives following error:
Код: Выделить всё
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE ServiceExceptionReport SYSTEM ...>
<ServiceExceptionReport version="1.1.1" >
<ServiceException>Could not parse CQL filter list. Lexical error at line 1, column 1. Encountered: "\u0442" (1090), after : "" Parsing : ????=1.
</ServiceException>
</ServiceExceptionReport>
Код: Выделить всё
<ows:ExceptionReport xmlns:ows=...>
<ows:Exception exceptionCode="NoApplicableCode">
<ows:ExceptionText>java.lang.RuntimeException: Failed to get property:{http://www.opengis.net/wfs/2.0}boundedBy Failed to get property: {http://www.opengis.net/wfs/2.0}boundedBy java.io.IOException null ERROR: column " " does not exist Position: 80
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>
Is anybody run into this behavior? Any help or quidelines are more than appreciated.
Mihkel
GIS developer from Estonia.