|
From: Lehtonen, M. <mi...@di...> - 2008-12-16 06:39:49
|
GetFeatureInfo returns everything just right, including those scandinavian characters. I also tried OGC-filter. Neither CQL nor OGC filter works with scandinavian characters. Any hint, what would be causing this? If I look into Geoserver log, I can see that scandinavian characters have switched into something else, so in that light I understand why the filters won't work properly. - mika - Lehtonen, Mika kirjoitti: > Hi Justin, > > this one is 1.7.0a. I manage to replicate this problem also with map > preview. Filtered polygons which don't contain any scandinavian > characters appear in the view but those which have them, don't. > > - mika - > > Justin Deoliveira kirjoitti: > >> Hi Mika, >> >> First which version of GeoServer are you using? >> >> If you are using a relatively new version can you try the following: >> >> Go to the map preview tool for the layer in question. Open the >> advanced options tab (upper left hand corner) of the map, and try >> specifying the cql filter there. If the filter works the issue is >> probably how the ol map / layer is being setup. If you see the same >> problem then it is probably an issue on the geoserver side. >> >> I don't have any scandenavian data around but i tried with some other >> extended latin characters and it seemed to work. >> >> Hopefully this will help us narrow it down. >> >> -Justin >> >> Lehtonen, Mika wrote: >> >>> Hi, >>> >>> I don't know if this has anything to do with Geoserver, but maybe >>> someone can help me anyway. >>> >>> I have a GetFeature request in my OpenLayers code and it has a CQL >>> filter like this in it: >>> CQL_FILTER: "kuntanimi like '" + kunta + "'" >>> kunta is a variable. This works fine except when I put some >>> scandinavian characters into that variable. kuntanimi is a field in a >>> PostGis table (utf-8) and it does have scandinavian characters in it. >>> >>> So what should I do to make that comparison also possible with >>> strings containing scands? Is it something I have to do in Javascript >>> (OpenLayers) or can I handle it somehow in Geoserver? I'm not good at >>> these charset issues, sorry.. >>> >>> - mika - >>> >>> ------------------------------------------------------------------------------ >>> >>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, >>> Nevada. >>> The future of the web can't happen without you. Join us at MIX09 to >>> help >>> pave the way to the Next Web now. Learn more and register at >>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ >>> >>> _______________________________________________ >>> Geoserver-users mailing list >>> Geo...@li... >>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >> > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users > |