Class DataExtractionTransformer

    • Constructor Detail

      • DataExtractionTransformer

        public DataExtractionTransformer​(boolean isContributionsLatestEndpoint,
                                         boolean isContributionsEndpoint,
                                         ExecutionUtils exeUtils,
                                         boolean clipGeometries,
                                         String startTimestamp,
                                         InputProcessingUtils utils,
                                         Set<SimpleFeatureType> simpleFeatureTypes,
                                         org.heigit.ohsome.filter.FilterExpression filter,
                                         Set<Integer> keysInt,
                                         boolean includeTags,
                                         boolean includeOSMMetadata,
                                         ElementsGeometry elementsGeometry,
                                         String endTimestamp,
                                         boolean isContainingSimpleFeatureTypes)
    • Method Detail

      • buildChangedFeatures

        public List<org.wololo.geojson.Feature> buildChangedFeatures​(List<org.heigit.bigspatialdata.oshdb.api.object.OSMContribution> contributions)
      • buildUnchangedFeatures

        public List<org.wololo.geojson.Feature> buildUnchangedFeatures​(org.heigit.bigspatialdata.oshdb.api.object.OSMEntitySnapshot snapshot)
      • addEntityToOutput

        public boolean addEntityToOutput​(org.heigit.bigspatialdata.oshdb.osm.OSMEntity currentEntity,
                                         org.locationtech.jts.geom.Geometry currentGeom)
        Checks whether the given entity should be added to the output (true) or not (false).