Open nmco opened 5 years ago
Iurie Maxim 21/4/2017: We did not encounter issues related to use of SLDs for WMS, but for WMS we used only simple features (based on flat data) for increasing the speed of rendering the images from the data. We used both Geoserver and ArcGIS Server for WMS and each has some advantages and disatvantages related to SLDs and filtering the data. We do not see any reason of using complex features in WMS and we do not see any requirement or reccomandation to do so. The link between WMS and WFS features can be ensured trough short URL, such as for example http://inspire.teamnet.ro/ENV/PADS/psPS/RONPA0022
GetMap requests for complex features from AppSchema store layers fails when the layer is using a SLD style containing filter expressions based on attribute names. Error message: "The requested Style can not be used with this layer. The style specifies an attribute of geometry and the layer is: ps:ProtectedSite".
Workaround Use SLDs without references to feature attribute values. This makes SLD use very difficult when the features contain varying geometry types.