<!--
/**
 * Copyright (c) Codice Foundation
 *
 * This is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License is distributed along with this program and can be found at
 * <http://www.gnu.org/licenses/lgpl.html>.
 *
 **/
 -->

<!--
     NOTE: This features XML file uses the Karaf "install" attribute to specify whether a feature
     is automatically installed when an app's KAR file is hot deployed.

     Description of the install attribute from the Karaf features XSD:

     "Installation mode. Can be either manual or auto. Specifies whether the feature should be
     automatically installed when dropped inside the deploy folder. Note: This attribute doesn't
     affect feature descriptors that are installed from the command line or as part of the
     org.apache.karaf.features.cfg."
-->
<features name="spatial-app-2.29.33"
          xmlns="http://karaf.apache.org/xmlns/features/v1.3.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0">

    <feature name="spatial-kml" version="2.29.33"
             description="KML Transformer transforms metacards and query results into KML and KML Network Link Endpoint generates view-based KML Network Links for dynamic query results in KML viewer.">
        <feature>simple-search-ui</feature>
        <bundle>mvn:ddf.spatial.kml/spatial-kml-transformer/2.29.33</bundle>
        <bundle>mvn:ddf.spatial.kml/spatial-kml-networklinkendpoint/2.29.33</bundle>
        <bundle>mvn:org.apache.commons/commons-math3/3.6.1</bundle>
    </feature>

    <feature name="spatial-common-ogc" version="2.29.33" description="Common ogc">
        <bundle>mvn:org.jvnet.jaxb2_commons/jaxb2-basics-runtime/0.11.0</bundle>
        <bundle>wrap:mvn:org.hisrc.w3c/xlink-v_1_0/1.4.0$Bundle-Name=xlink-v_1_0&amp;Bundle-SymbolicName=xlink-v_1_0&amp;Bundle-Version=1.4.0&amp;Export-Package=*;version="1.4.0"&amp;Import-Package=org.jvnet.jaxb2_commons.*;version="0.11.0",*</bundle>
    </feature>

    <feature name="spatial-wfs-ogc" version="2.29.33"
             description="Web Feature Service (WFS). OGC ">
        <feature>spatial-common-ogc</feature>
        <bundle>wrap:mvn:org.jvnet.ogc/gml-v_3_1_1/2.6.1$Bundle-Name=gml-v_3_1_1&amp;Bundle-SymbolicName=gml-v_3_1_1&amp;Bundle-Version=2.6.1&amp;Export-Package=*;version="2.6.1"&amp;Import-Package=org.jvnet.jaxb2_commons.*;version="0.11.0",net.opengis.*;version="[2.6.1,2.6.1]",*</bundle>
        <bundle>wrap:mvn:org.jvnet.ogc/ows-v_1_0_0/2.6.1$Bundle-Name=ows-v_1_0_0&amp;Bundle-SymbolicName=ows-v_1_0_0&amp;Bundle-Version=2.6.1&amp;Export-Package=*;version="2.6.1"&amp;Import-Package=org.jvnet.jaxb2_commons.*;version="0.11.0",net.opengis.*;version="[2.6.1,2.6.1]",*</bundle>
        <bundle>wrap:mvn:org.jvnet.ogc/filter-v_1_1_0/2.6.1$Bundle-Name=filter-v_1_1_0&amp;Bundle-SymbolicName=filter-v_1_1_0&amp;Bundle-Version=2.6.1&amp;Export-Package=*;version="2.6.1"&amp;Import-Package=org.jvnet.jaxb2_commons.*;version="0.11.0",net.opengis.*;version="[2.6.1,2.6.1]",*</bundle>
        <bundle>wrap:mvn:org.jvnet.ogc/wfs-v_1_1_0/2.6.1$Bundle-Name=wfs-v_1_1_0&amp;Bundle-SymbolicName=wfs-v_1_1_0&amp;Bundle-Version=2.6.1&amp;Export-Package=*;version="2.6.1"&amp;Import-Package=org.jvnet.jaxb2_commons.*;version="0.11.0",net.opengis.*;version="[2.6.1,2.6.1]",*</bundle>
    </feature>

    <feature name="spatial-wfs-feature-transformer-xstream" description="Xstream feature transformer" version="2.29.33">
        <feature>spatial-wfs-core</feature>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-featuretransformer-xstream/2.29.33</bundle>
    </feature>

    <feature name="spatial-wfs-feature-transformer-handlebars" description="handlebars feature transformer" version="2.29.33">
        <feature>spatial-wfs-core</feature>
        <bundle>mvn:ddf.catalog.transformer/catalog-transformer-streaming-api/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-featuretransformer-handlebars/2.29.33</bundle>
        <bundle>mvn:com.google.code.gson/gson/2.13.2</bundle>
    </feature>

    <feature name="spatial-wfs-core" version="2.29.33"
             description="Web Feature Service (WFS).">
        <feature>spatial-wfs-ogc</feature>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-featuretransformer-api/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-metacardtype-registry-api/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-featuretransformer/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-ogc-urlresourcereader/2.29.33</bundle>
        <bundle>
            mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_6
        </bundle>
        <bundle>
            mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/1.4.20_1
        </bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-mapper/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-metacardtype-registry/2.29.33</bundle>
    </feature>

    <feature name="spatial-wfs-v1_1_0" version="2.29.33"
             description="Web Feature Service (WFS) v1.1.0 Source.">
        <feature>spatial-wfs-core</feature>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-v1_1_0-source/2.29.33</bundle>
    </feature>

    <feature name="spatial-wfs-v2_0_0" version="2.29.33"
             description="Web Feature Service (WFS) v2.0.0 Source.">
        <feature>spatial-wfs-core</feature>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-v2_0_0-source/2.29.33</bundle>
    </feature>

    <feature name="spatial-csw" version="2.29.33"
             description="Catalogue Service for Web (CSW) v2.0.2 Source and Endpoint.">
        <feature>catalog-transformer-xml</feature>
        <feature>catalog-core-api</feature>
        <feature>security-core-services</feature>
        <bundle>
            mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xstream/1.4.20_1
        </bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-ogc-api/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-csw-schema-bindings/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-csw-action/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-csw-transformer/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-csw-source/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-csw-endpoint/2.29.33</bundle>
    </feature>

    <feature name="spatial-connected-sources" version="2.29.33"
             description="Spatial Connected Sources included CSW and WFS 2.0.0">
        <feature>spatial-csw</feature>
        <feature>spatial-wfs-core</feature>
        <bundle>mvn:org.codice.ddf.spatial/spatial-csw-connectedsource/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-v2_0_0-connectedsource/2.29.33
        </bundle>
    </feature>

    <feature name="spatial-geocoding-endpoint" version="2.29.33"
             description="Spatial GeoCoding Endpoint.">
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-api/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-geocoder/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-endpoint/2.29.33</bundle>
    </feature>

    <feature name="webservice-gazetteer" version="2.29.33"
             description="Gazetteer service utilizing the Geonames.org web service.">
        <feature>spatial-geocoding-endpoint</feature>
        <feature>security-core-services</feature>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-websearch/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-plugin/2.29.33</bundle>
    </feature>

    <feature name="offline-gazetteer" version="2.29.33"
             description="Offline gazetteer service utilizing a local GeoNames index.">
        <feature>spatial-geocoding-endpoint</feature>
        <feature>catalog-core-plugins</feature>
        <bundle>mvn:commons-digester/commons-digester/1.8.1</bundle>
        <bundle>mvn:commons-beanutils/commons-beanutils/1.11.0</bundle>
        <bundle>mvn:commons-validator/commons-validator/1.6</bundle>
        <bundle>mvn:org.codice.countrycode/converter/0.2.4</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-create/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-extract/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-offline-catalog/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-feature/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-commands/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-plugin/2.29.33</bundle>
    </feature>
    
    <feature name="offline-gazetteer-index" version="2.29.33"
             description="Offline gazetteer index service to build GeoNames index.">
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-offline-index/2.29.33</bundle>
    </feature>

    <feature name="spatial-app" version="2.29.33"
             description="Spatial contains standards-based, geospatial endpoints, sources, and transforms.">
        <feature>catalog-app</feature>
        <feature>catalog-transformer-xml</feature>
        <bundle>mvn:org.codice.ddf.spatial/spatial-ogc-api/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-wfs-api/2.29.33</bundle>
        <bundle>mvn:org.codice.ddf.spatial/spatial-geocoding-api/2.29.33</bundle>
        <bundle>mvn:org.codice.countrycode/converter/0.2.4</bundle>
        <feature>spatial-kml</feature>
        <feature>spatial-wfs-core</feature>
        <feature>spatial-csw</feature>
        <feature>offline-gazetteer</feature>
        <feature>spatial-wfs-feature-transformer-xstream</feature>
        <feature>spatial-wfs-feature-transformer-handlebars</feature>
        <feature>spatial-wfs-v1_1_0</feature>
        <feature>spatial-wfs-v2_0_0</feature>
    </feature>

    <feature name="spatial-all" version="2.29.33"
             description="Installs all spatial app features">
        <feature>spatial-app</feature>
        <feature>spatial-connected-sources</feature>
        <feature>webservice-gazetteer</feature>
        <feature>offline-gazetteer-index</feature>
    </feature>

</features>
