Hi, A solution could be to use a layer based on SQL View to replace this empty value by something you can use in SLD.
See : https://docs.geoserver.org/latest/en/user/data/database/sqlview.html Alexandre Le mer. 14 oct. 2020 à 13:58, Ярослав Минин via Geoserver-users < [email protected]> a écrit : > Hello! > > I have a DB table I need to publish in geoserver. There are several > featuretypes that I filter with PropertyIsEqualTo. Some features have a > single space in the attribute I use to filter them so I try this one: > > <ogc:PropertyIsEqualTo> > <ogc:PropertyName>naimenovanie</ogc:PropertyName> > <ogc:Literal> </ogc:Literal> > </ogc:PropertyIsEqualTo> > > But it doesn’t seem to work. The problem is I cannot modify original DB to > make a null-value so I’m looking for another workaround. Any help would be > appreciated. > > > -- > Ярослав Минин > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Alexandre Gacon
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
