If you are using geoserver, make sure that distance is in the units of native projection. Geoserver doesnt honour distance units (it doesnt even honour SRS in CQL filters). Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.