Packages

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

    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

    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

    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

    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

    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

    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

    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

    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

    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

    Spatial within

    Spatial within

    prop

    property to evaluate

    geometry

    geometry to compare with property value

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(query: String): GeoJsonQuery

    Parse a query string

    Parse a query string

    query

    query string

  5. def apply(jsonValue: JValue): GeoJsonQuery

    Parse a query string

    Parse a query string

    jsonValue

    json query value

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def checkJsonPaths(str: String): String
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. object Bbox extends Serializable
  24. object Contains extends Serializable
  25. object Dwithin extends Serializable
  26. object Include extends GeoJsonQuery with Product with Serializable

    All features

  27. object Intersects extends Serializable
  28. object Within extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped