01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.filter;
17:
18: /**
19: * Encodes a filter into a SQL WHERE statement for postgis. With geos
20: * installed.
21: *
22: * @deprecated use SQLEncoderPostgis with setSupportsGEOS(true)
23: * @author Chris Holmes, TOPP
24: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/plugin/postgis/src/main/java/org/geotools/filter/SQLEncoderPostgisGeos.java $
25: * @version $Id: SQLEncoderPostgisGeos.java 22226 2006-10-18 20:06:40Z acuster $
26: */
27: public class SQLEncoderPostgisGeos extends SQLEncoderPostgis implements
28: org.geotools.filter.FilterVisitor {
29:
30: /**
31: * Constructor for SQLEncoderPostgis with GEOS support
32: *
33: * @deprecated use SQLEncoderPostgis with setSupportsGEOS(true)
34: *
35: */
36: public SQLEncoderPostgisGeos() {
37: super ();
38: setSupportsGEOS(true);
39: setLooseBbox(false);
40: }
41:
42: /**
43: * Constructor for SQLEncoderPostgis with GEOS support
44: *
45: * @deprecated use SQLEncoderPostgis with setSupportsGEOS(true)
46: * @param srid
47: */
48: public SQLEncoderPostgisGeos(int srid) {
49: super (srid);
50: setSupportsGEOS(true);
51: setLooseBbox(false);
52: }
53:
54: }
|