Class FilterUtil

java.lang.Object
org.heigit.ohsome.ohsomeapi.utils.FilterUtil

public class FilterUtil extends Object
Utility functions for OSHDB filters.
  • Method Details

    • filter

      public static String filter(Set<org.heigit.ohsome.oshdb.osm.OSMType> types)
      Creates an OSHDB filter which selects OSM objects by their type.
      Parameters:
      types - the set of allowed OSM types
      Returns:
      a string representing an OSHDB filter matching the given set of OSM types