Search in sources :

Example 6 with WFSCapabilitiesType

use of net.opengis.wfs.v_1_1_0.WFSCapabilitiesType in project ddf by codice.

the class WfsSource method configureWfsFeatures.

private void configureWfsFeatures() {
    WFSCapabilitiesType capabilities = getCapabilities();
    if (capabilities != null) {
        wfsVersion = capabilities.getVersion();
        List<FeatureTypeType> featureTypes = getFeatureTypes(capabilities);
        List<String> supportedSpatialOperators = getSupportedSpatialOperators(capabilities);
        List<QName> supportedGeometryOperands = getSupportedGeometryOperators(capabilities);
        buildFeatureFilters(featureTypes, supportedSpatialOperators, supportedGeometryOperands);
    } else {
        LOGGER.info("WfsSource {}: WFS Server did not return any capabilities.", getId());
    }
}
Also used : WFSCapabilitiesType(net.opengis.wfs.v_1_1_0.WFSCapabilitiesType) FeatureTypeType(net.opengis.wfs.v_1_1_0.FeatureTypeType) QName(javax.xml.namespace.QName)

Aggregations

UnsupportedQueryException (ddf.catalog.source.UnsupportedQueryException)3 CatalogTransformerException (ddf.catalog.transform.CatalogTransformerException)3 IOException (java.io.IOException)3 ConnectException (java.net.ConnectException)3 SSLHandshakeException (javax.net.ssl.SSLHandshakeException)3 WebApplicationException (javax.ws.rs.WebApplicationException)3 JAXBException (javax.xml.bind.JAXBException)3 WfsException (org.codice.ddf.spatial.ogc.wfs.catalog.common.WfsException)3 InvalidSyntaxException (org.osgi.framework.InvalidSyntaxException)3 WFSCapabilitiesType (net.opengis.wfs.v_1_1_0.WFSCapabilitiesType)2 WFSCapabilitiesType (net.opengis.wfs.v_2_0_0.WFSCapabilitiesType)2 WFSCapabilitiesType (ogc.schema.opengis.wfs_capabilities.v_1_0_0.WFSCapabilitiesType)2 ResourceNotFoundException (ddf.catalog.resource.ResourceNotFoundException)1 ResourceNotSupportedException (ddf.catalog.resource.ResourceNotSupportedException)1 SecurityServiceException (ddf.security.service.SecurityServiceException)1 QName (javax.xml.namespace.QName)1 FeatureTypeType (net.opengis.wfs.v_1_1_0.FeatureTypeType)1 FeatureTypeType (net.opengis.wfs.v_2_0_0.FeatureTypeType)1 FeatureTypeType (ogc.schema.opengis.wfs_capabilities.v_1_0_0.FeatureTypeType)1 GetCapabilitiesRequest (org.codice.ddf.spatial.ogc.wfs.v110.catalog.common.GetCapabilitiesRequest)1