Object/Trait

org.locationtech.geomesa.geojson.query

GeoJsonQuery

Related Docs: trait GeoJsonQuery | package query

Permalink

object GeoJsonQuery

Query constructs for geojson features. Syntax is based on mongodb queries.

Available predicates: Include {} - return all features Equality { "foo" : "bar" } - find all features with an attribute named foo equal to bar Less than, greater than { "foo" : { "$lt" : 10 } } { "foo" : { "$gt" : 10 } } { "foo" : { "$lte" : 10 } } { "foo" : { "$gte" : 10 } } Spatial { geometry : { "$bbox" : [-180, -90, 180, 90] } } { geometry : { "$intersects" : { "$geometry" : { "type" : "Point", "coordinates" : [30, 10] } } } } { geometry : { "$within" : { "$geometry" : { "type" : "Polygon", "coordinates": [ [ [0,0], [3,6], [6,1], [0,0] ] ] } } } } { geometry : { "$contains" : { "$geometry" : { "type" : "Point", "coordinates" : [30, 10] } } } } And/Or { "foo" : "bar", "baz" : 10 } { "$or" : [ { "foo" : "bar" }, { "baz" : 10 } ] }

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GeoJsonQuery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class And(children: GeoJsonQuery*) extends GeoJsonQuery with Product with Serializable

    Permalink

    Intersection of multiple filters

    Intersection of multiple filters

    children

    filters to intersect

  2. case class Bbox(prop: String, xmin: Double, ymin: Double, xmax: Double, ymax: Double) extends GeoJsonQuery with Product with Serializable

    Permalink

    Spatial bounding box

    Spatial bounding box

    prop

    property to evaluate

    xmin

    min x value

    ymin

    min y value

    xmax

    max x value

    ymax

    max y value

  3. case class Contains(prop: String, geometry: Geometry) extends GeoJsonQuery with Product with Serializable

    Permalink

    Spatial contains

    Spatial contains

    prop

    property to evaluate

    geometry

    geometry to compare with property value

  4. case class Dwithin(prop: String, geometry: Geometry, dist: Double, units: String) extends GeoJsonQuery with Product with Serializable

    Permalink

    Spatial dwithin

    Spatial dwithin

    prop

    property to evaluate

    geometry

    geometry to compare with property value

    dist

    the max distance between geometries

    units

    the units of distance (feet, meters, statute miles, kilometers)

  5. case class Equals(prop: String, value: Any) extends GeoJsonQuery with Product with Serializable

    Permalink

    Equality

    Equality

    prop

    property to evaluate

    value

    value to compare with property value

  6. case class GreaterThan(prop: String, value: Any, inclusive: Boolean) extends GeoJsonQuery with Product with Serializable

    Permalink

    Greater than comparison

    Greater than comparison

    prop

    property to evaluate

    value

    value to compare with property value

    inclusive

    inclusive bounds

  7. case class Intersects(prop: String, geometry: Geometry) extends GeoJsonQuery with Product with Serializable

    Permalink

    Spatial intersect

    Spatial intersect

    prop

    property to evaluate

    geometry

    geometry to compare with property value

  8. case class LessThan(prop: String, value: Any, inclusive: Boolean) extends GeoJsonQuery with Product with Serializable

    Permalink

    Less than comparison

    Less than comparison

    prop

    property to evaluate

    value

    value to compare with property value

    inclusive

    inclusive bounds

  9. case class Or(children: GeoJsonQuery*) extends GeoJsonQuery with Product with Serializable

    Permalink

    Union of multiple filters

    Union of multiple filters

    children

    filters to union

  10. case class Within(prop: String, geometry: Geometry) extends GeoJsonQuery with Product with Serializable

    Permalink

    Spatial within

    Spatial within

    prop

    property to evaluate

    geometry

    geometry to compare with property value

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Bbox extends Serializable

    Permalink
  5. object Contains extends Serializable

    Permalink
  6. object Dwithin extends Serializable

    Permalink
  7. object Include extends GeoJsonQuery with Product with Serializable

    Permalink

    All features

  8. object Intersects extends Serializable

    Permalink
  9. object Within extends Serializable

    Permalink
  10. def apply(query: String): GeoJsonQuery

    Permalink

    Parse a query string

    Parse a query string

    query

    query string

  11. def apply(jsonValue: JValue): GeoJsonQuery

    Permalink

    Parse a query string

    Parse a query string

    jsonValue

    json query value

  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def checkJsonPaths(str: String): String

    Permalink
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped