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 } ] }
- Alphabetic
- By Inheritance
- GeoJsonQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
And(children: GeoJsonQuery*) extends GeoJsonQuery with Product with Serializable
Intersection of multiple filters
Intersection of multiple filters
- children
filters to intersect
-
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
-
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
-
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)
-
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
-
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
-
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
-
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
-
case class
Or(children: GeoJsonQuery*) extends GeoJsonQuery with Product with Serializable
Union of multiple filters
Union of multiple filters
- children
filters to union
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(query: String): GeoJsonQuery
Parse a query string
Parse a query string
- query
query string
-
def
apply(jsonValue: JValue): GeoJsonQuery
Parse a query string
Parse a query string
- jsonValue
json query value
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def checkJsonPaths(str: String): String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object Bbox extends Serializable
- object Contains extends Serializable
- object Dwithin extends Serializable
-
object
Include extends GeoJsonQuery with Product with Serializable
All features
- object Intersects extends Serializable
- object Within extends Serializable