Methods
-
module:ol/format/filter~and(conditions){module:ol/format/filter/And~And}
format/filter.js, line 30 -
Create a logical
<And>operator between two or more filter conditions.Name Type Description conditionsmodule:ol/format/filter/Filter~Filter Filter conditions.
Returns:
<And>operator.
-
module:ol/format/filter~bbox(geometryName, extent, opt_srsName){module:ol/format/filter/Bbox~Bbox}
format/filter.js, line 72 -
Create a
<BBOX>operator to test whether a geometry-valued property intersects a fixed bounding boxName Type Description geometryNamestring Geometry name to use.
extentmodule:ol/extent~Extent Extent.
srsNamestring SRS name. No srsName attribute will be set on geometries when this is not provided.
Returns:
<BBOX>operator.
-
module:ol/format/filter~between(propertyName, lowerBoundary, upperBoundary){module:ol/format/filter/IsBetween~IsBetween}
format/filter.js, line 225 -
Creates a
<PropertyIsBetween>comparison operator to test whether an expression value lies within a range given by a lower and upper bound (inclusive).Name Type Description propertyNamestring Name of the context property to compare.
lowerBoundarynumber The lower bound of the range.
upperBoundarynumber The upper bound of the range.
Returns:
<PropertyIsBetween>operator.
-
module:ol/format/filter~contains(geometryName, geometry, opt_srsName){module:ol/format/filter/Contains~Contains}
format/filter.js, line 87 -
Create a
<Contains>operator to test whether a geometry-valued property contains a given geometry.Name Type Description geometryNamestring Geometry name to use.
geometrymodule:ol/geom/Geometry~Geometry Geometry.
srsNamestring SRS name. No srsName attribute will be set on geometries when this is not provided.
Returns:
<Contains>operator.
-
module:ol/format/filter~during(propertyName, begin, end){module:ol/format/filter/During~During}
format/filter.js, line 262 -
Create a
<During>temporal operator.Name Type Description propertyNamestring Name of the context property to compare.
beginstring The begin date in ISO-8601 format.
endstring The end date in ISO-8601 format.
Returns:
<During>operator.
-
module:ol/format/filter~equalTo(propertyName, expression, opt_matchCase){module:ol/format/filter/EqualTo~EqualTo}
format/filter.js, line 131 -
Creates a
<PropertyIsEqualTo>comparison operator.Name Type Description propertyNamestring Name of the context property to compare.
expressionstring | number The value to compare.
matchCaseboolean Case-sensitive?
Returns:
<PropertyIsEqualTo>operator.
-
module:ol/format/filter~greaterThan(propertyName, expression){module:ol/format/filter/GreaterThan~GreaterThan}
format/filter.js, line 184 -
Creates a
<PropertyIsGreaterThan>comparison operator.Name Type Description propertyNamestring Name of the context property to compare.
expressionnumber The value to compare.
Returns:
<PropertyIsGreaterThan>operator.
-
module:ol/format/filter~greaterThanOrEqualTo(propertyName, expression){module:ol/format/filter/GreaterThanOrEqualTo~GreaterThanOrEqualTo}
format/filter.js, line 197 -
Creates a
<PropertyIsGreaterThanOrEqualTo>comparison operator.Name Type Description propertyNamestring Name of the context property to compare.
expressionnumber The value to compare.
Returns:
<PropertyIsGreaterThanOrEqualTo>operator.
-
module:ol/format/filter~intersects(geometryName, geometry, opt_srsName){module:ol/format/filter/Intersects~Intersects}
format/filter.js, line 102 -
Create a
<Intersects>operator to test whether a geometry-valued property intersects a given geometry.Name Type Description geometryNamestring Geometry name to use.
geometrymodule:ol/geom/Geometry~Geometry Geometry.
srsNamestring SRS name. No srsName attribute will be set on geometries when this is not provided.
Returns:
<Intersects>operator.
-
module:ol/format/filter~isNull(propertyName){module:ol/format/filter/IsNull~IsNull}
format/filter.js, line 210 -
Creates a
<PropertyIsNull>comparison operator to test whether a property value is null.Name Type Description propertyNamestring Name of the context property to compare.
Returns:
<PropertyIsNull>operator.
-
module:ol/format/filter~lessThan(propertyName, expression){module:ol/format/filter/LessThan~LessThan}
format/filter.js, line 158 -
Creates a
<PropertyIsLessThan>comparison operator.Name Type Description propertyNamestring Name of the context property to compare.
expressionnumber The value to compare.
Returns:
<PropertyIsLessThan>operator.
-
module:ol/format/filter~lessThanOrEqualTo(propertyName, expression){module:ol/format/filter/LessThanOrEqualTo~LessThanOrEqualTo}
format/filter.js, line 171 -
Creates a
<PropertyIsLessThanOrEqualTo>comparison operator.Name Type Description propertyNamestring Name of the context property to compare.
expressionnumber The value to compare.
Returns:
<PropertyIsLessThanOrEqualTo>operator.
-
module:ol/format/filter~like(propertyName, pattern, opt_wildCard, opt_singleChar, opt_escapeChar, opt_matchCase){module:ol/format/filter/IsLike~IsLike}
format/filter.js, line 246 -
Represents a
<PropertyIsLike>comparison operator that matches a string property value against a text pattern.Name Type Description propertyNamestring Name of the context property to compare.
patternstring Text pattern.
wildCardstring Pattern character which matches any sequence of zero or more string characters. Default is '*'.
singleCharstring pattern character which matches any single string character. Default is '.'.
escapeCharstring Escape character which can be used to escape the pattern characters. Default is '!'.
matchCaseboolean Case-sensitive?
Returns:
<PropertyIsLike>operator.
-
Represents a logical
<Not>operator for a filter condition.Name Type Description conditionmodule:ol/format/filter/Filter~Filter Filter condition.
Returns:
<Not>operator.
-
module:ol/format/filter~notEqualTo(propertyName, expression, opt_matchCase){module:ol/format/filter/NotEqualTo~NotEqualTo}
format/filter.js, line 145 -
Creates a
<PropertyIsNotEqualTo>comparison operator.Name Type Description propertyNamestring Name of the context property to compare.
expressionstring | number The value to compare.
matchCaseboolean Case-sensitive?
Returns:
<PropertyIsNotEqualTo>operator.
-
Create a logical
<Or>operator between two or more filter conditions.Name Type Description conditionsmodule:ol/format/filter/Filter~Filter Filter conditions.
Returns:
<Or>operator.
-
module:ol/format/filter~within(geometryName, geometry, opt_srsName){module:ol/format/filter/Within~Within}
format/filter.js, line 117 -
Create a
<Within>operator to test whether a geometry-valued property is within a given geometry.Name Type Description geometryNamestring Geometry name to use.
geometrymodule:ol/geom/Geometry~Geometry Geometry.
srsNamestring SRS name. No srsName attribute will be set on geometries when this is not provided.
Returns:
<Within>operator.
OpenLayers