Class: Spatial


Abstract class; normally only used for creating subclasses and not instantiated in apps. Represents a spatial operator to test whether a geometry-valued property relates to a given geometry.

deprecated: This class will no longer be exported starting from the next major version.

new ol.format.filter.Spatial(tagName, geometryName, geometry, opt_srsName)

src/ol/format/filter/spatial.js, line 25
Name Type Description
tagName string

The XML tag name for this filter.

geometryName string

Geometry name to use.

geometry ol.geom.Geometry


srsName string

SRS name. No srsName attribute will be set on geometries when this is not provided.