Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Geoserver CQL Interface Layer

Damon Oehlman edited this page Jul 12, 2011 · 1 revision

Spatial Query Types

Bounding Box

type: 'spatial.bbox',
args: {
	property: '%propname%',
	min: '%lat% %lon%',
	max: '%lat% %lon%'
}

Radius

Corridor

Attribute Query Types

Like

type: 'like',
args: {
	property: '%propname%',
	value: '%val%'
}

Sample Queries

All the Pizza Huts within QLD

[{
	type: 'spatial.bbox',
	args: {
		property: 'TheGeom',
		min: '-28.96 138.08',
		max: '-10.27 153.59'
	}
},
{
	type: 'like',
	args: {
		property: 'name',
		value: 'Pizza Hut'
	}
}]