MAP
	SIZE 400 400
	EXTENT  427632.500000 4893613.330000 560300.922104 5015936.680000
	UNITS METERS
	SYMBOLSET '../symbols/symbol.sym'
	STATUS ON

	TRANSPARENT TRUE

	LAYER
		NAME 'points'
		TYPE POINT
		STATUS ON

		CONNECTIONTYPE POSTGIS
		CONNECTION 'host=192.168.52.1 dbname=geomoose_test user=postgres password=postgres'
		DATA 'wkb_geometry from (select id as feature_id, attribute1, attribute2, astext(wkb_geometry) as wkt_geometry, wkb_geometry from test_points) as mytable using unique feature_id'

		CLASS
			SYMBOL 'circle'
			COLOR 255 255 0
			SIZE 10
		END

		METADATA
			'identify_record' 'identify.html'
			'popups'	'popups.html'

			'itemquery'	'itemquery.html'
			'itemquery-filter'	"upper(attribute1) like upper('[qstring]')||'%'"
		END

		TOLERANCE 10000
		TOLERANCEUNITS METERS
	END
END
