Class Filters

java.lang.Object
com.geodesk.feature.Filters

@Deprecated(since="0.2") public class Filters extends Object
Deprecated.
  • Constructor Details

    • Filters

      public Filters()
      Deprecated.
  • Method Details

    • slowWithin

      public static Filter slowWithin(Feature f)
      Deprecated.
    • slowWithin

      public static Filter slowWithin(Geometry geom)
      Deprecated.
    • slowWithin

      public static Filter slowWithin(PreparedGeometry prepared)
      Deprecated.
    • slowIntersects

      public static Filter slowIntersects(Feature f)
      Deprecated.
    • slowIntersects

      public static Filter slowIntersects(Geometry geom)
      Deprecated.
    • slowIntersects

      public static Filter slowIntersects(PreparedGeometry prepared)
      Deprecated.
    • slowCrosses

      public static Filter slowCrosses(Feature f)
      Deprecated.
    • connectedTo

      public static Filter connectedTo(Feature f)
      Deprecated.
      Creates a `Filter` that accept features that have at least one common node with the given `Feature`.
      Parameters:
      f - the `Feature` whose nodes to check against
      Returns:
    • connectedTo

      public static Filter connectedTo(Geometry geom)
      Deprecated.
      Creates a `Filter` that accept features that have at least one common vertex with the given `Geometry`. Coordinates of the `Geometry` are rounded to integers.
      Parameters:
      geom - the `Geometry` whose vertexes to check against
      Returns:
    • maxMetersFromXY

      public static Filter maxMetersFromXY(double distance, int x, int y)
      Deprecated.
      Creates a `Filter` that accept features whose closest point lies within a given radius.
      Parameters:
      distance - the maximum distance (in meters)
      x - the X coordinate of the center point
      y - the Y coordinate of the center point
      Returns:
    • maxMetersFromLonLat

      public static Filter maxMetersFromLonLat(double distance, double lon, double lat)
      Deprecated.
      Creates a `Filter` that accept features whose closest point lies within a given radius.
      Parameters:
      distance - the maximum distance (in meters)
      lon - the longitude of the center point
      lat - the latitude of the center point
      Returns:
    • maxMetersFrom

      public static Filter maxMetersFrom(double distance, Geometry geom)
      Deprecated.
      Creates a `Filter` that accept features that lie within a given distance from a `Geometry`. The Filter measures the distance between the closest points of the Geometry and the candidate Feature.
      Parameters:
      distance - the maximum distance (in meters)
      geom - the Geometry from which to measure
      Returns:
    • maxMetersFrom

      public static Filter maxMetersFrom(double distance, Feature feature)
      Deprecated.
      Creates a `Filter` that accept features that lie within a given distance from another `Feature`. The Filter measures the distance between the closest points of the features.
      Parameters:
      distance - the maximum distance (in meters)
      feature - the Feature from which to measure
      Returns:
    • containsXY

      public static Filter containsXY(int x, int y)
      Deprecated.
    • containsLonLat

      public static Filter containsLonLat(double lon, double lat)
      Deprecated.
    • contains

      public static Filter contains(Feature feature)
      Deprecated.
    • contains

      public static Filter contains(Geometry geom)
      Deprecated.
    • contains

      public static Filter contains(PreparedGeometry prepared)
      Deprecated.
    • coveredBy

      public static Filter coveredBy(Feature feature)
      Deprecated.
    • coveredBy

      public static Filter coveredBy(Geometry geom)
      Deprecated.
    • coveredBy

      public static Filter coveredBy(PreparedGeometry prepared)
      Deprecated.
    • crosses

      public static Filter crosses(Feature feature)
      Deprecated.
    • crosses

      public static Filter crosses(Geometry geom)
      Deprecated.
    • crosses

      public static Filter crosses(PreparedGeometry prepared)
      Deprecated.
    • disjoint

      public static Filter disjoint(Feature feature)
      Deprecated.
    • disjoint

      public static Filter disjoint(Geometry geom)
      Deprecated.
    • disjoint

      public static Filter disjoint(PreparedGeometry prepared)
      Deprecated.
    • intersects

      public static Filter intersects(Feature feature)
      Deprecated.
    • intersects

      public static Filter intersects(Geometry geom)
      Deprecated.
    • intersects

      public static Filter intersects(PreparedGeometry prepared)
      Deprecated.
    • overlaps

      public static Filter overlaps(Feature feature)
      Deprecated.
    • overlaps

      public static Filter overlaps(Geometry geom)
      Deprecated.
    • overlaps

      public static Filter overlaps(PreparedGeometry prepared)
      Deprecated.
    • touches

      public static Filter touches(Feature feature)
      Deprecated.
    • touches

      public static Filter touches(Geometry geom)
      Deprecated.
    • touches

      public static Filter touches(PreparedGeometry prepared)
      Deprecated.
    • within

      public static Filter within(Feature feature)
      Deprecated.
    • within

      public static Filter within(Geometry geom)
      Deprecated.
    • within

      public static Filter within(PreparedGeometry prepared)
      Deprecated.