UNOFFICIAL Hi Geoserver users,
We have several layers built using the app-schema extension that are gmlsf:ComplianceLevel = 0, so are simple features, but geoserver incorrectly evaluating them to be complex-valued properties for some functionality. This means that the WFS KML and shapefile outputFormats are not available or throwing the below exception, and DescribeFeatureType is behaving like a complex service and not returning the list of fields - so impacting the general QGIS and ESRI wfs layer imports. <ServiceExceptionReport xmlns=http://www.opengis.net/ogc xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance version="1.2.0" xsi:schemaLocation=http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd<http://www.opengis.net/ogc%20http:/schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd>> <ServiceException> java.lang.ClassCastException: class org.geoserver.wfs.TypeInfoCollectionWrapper$Complex cannot be cast to class org.geotools.data.simple.SimpleFeatureCollection (org.geoserver.wfs.TypeInfoCollectionWrapper$Complex and org.geotools.data.simple.SimpleFeatureCollection are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @21694e53) class org.geoserver.wfs.TypeInfoCollectionWrapper$Complex cannot be cast to class org.geotools.data.simple.SimpleFeatureCollection (org.geoserver.wfs.TypeInfoCollectionWrapper$Complex and org.geotools.data.simple.SimpleFeatureCollection are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @21694e53) </ServiceException> </ServiceExceptionReport> It also looks like the OGC API Features queryables requests are also unsupported Error: response status is 500 { "type": "NoApplicableCode", "title": "Could not find acceptable representation" } These are a couple of the light view SF-0 schemas we are using https://schemas.opengis.net/gsml/4.1/geosciml-lite.xsd https://schemas.geoscience.gov.au/MineralTenementML/1.0/mineraltenementml.xsd Could this be a bug, or have all layers built using the app-schema extension has always interpreted the layers as complex - so new functionality? Kind regards, Ursula
_______________________________________________ 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 Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users