Class GeorepoFeature


  • @Deprecated
    public class GeorepoFeature
    extends Object
    Deprecated.
    Class representing features within a GeorepoLayer This class allows CRUD operations to features and thus should be only allowed to use for extended api users. Actually, this is only a wrapper to the geoserver api. Would be nice feature to support add, update, delete within one as this is atomic and will leave layer unaltered, if single operation fails see http://docs.geoserver.org/latest/en/user/services/wfs/reference.html#transaction TODO: ensure correct axis ordering when inserting feature coordinates!!
    Author:
    Ulrich Mann
    • Constructor Detail

      • GeorepoFeature

        public GeorepoFeature​(String geoserverUrl,
                              Map<String,​String> connectionHeaders,
                              String geoserverAdmin,
                              String geoserverPass)
        Deprecated.
    • Method Detail

      • getFeatureTypes

        public List<GeoserverFeatureType> getFeatureTypes​(String geoserverRestUrl,
                                                          String workspace,
                                                          String datasource)
                                                   throws Exception
        Deprecated.
        use GeoserverWorkspace.getWorkspaceFeatureTypes()
        Can handle multiple featuretypes per datasource.
        Parameters:
        geoserverRestUrl -
        workspace -
        datasource -
        Returns:
        Throws:
        Exception