While making several GetPropertyValue WFS requests on complex features (INSPIRE) in order to be used for linking data, it was found that all of them are working except for retrieving the geometry. The request http://gmlid.eu/RO/ENV/PADS/WFS?service=wfs&version=2.0.0&request=GetPropertyValue&typeNames=ps:ProtectedSite&valueReference=ps:geometry&featureID=RO.ENV.PADS.PS.RONPA0001 provides the following error "java.lang.ClassCastException: org.geotools.gml3.v3_2.GMLSchema$179 cannot be cast to org.opengis.feature.type.ComplexType org.geotools.gml3.v3_2.GMLSchema$179 cannot be cast to org.opengis.feature.type.ComplexType" Any other GetPropertyValue request to an element of a complex feature type that is not the geometry is not providing the java error, as for example: http://gmlid.eu/RO/ENV/PADS/WFS?service=wfs&version=2.0.0&request=GetPropertyValue&typeNames=ps:ProtectedSite&valueReference=ps:siteName&featureID=RO.ENV.PADS.PS.RONPA0001 The WFS is providing a result (with null values returned as namespace prefixes of the complex features as described in the GEOS-8108 bug) but is not providing a java error as in the case of geometries. Best regards, Iurie Maxim |