Package

org.locationtech.geomesa.geojson

query

Permalink

package query

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait GeoJsonQuery extends AnyRef

    Permalink

    Query trait

  2. trait PropertyTransformer extends AnyRef

    Permalink

Value Members

  1. object GeoJsonQuery

    Permalink

    Query constructs for geojson features.

    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 } ] }

  2. object PropertyTransformer

    Permalink

Ungrouped