Project

General

Profile

« Previous | Next » 

Revision 13897

schemas/util.sql: OPERATOR (postgis.geography, postgis.geography): renamed to ~ because it's approximate

View differences:

trunk/schemas/util.sql
4835 4835
--
4836 4836

  
4837 4837
CREATE OPERATOR @ (
4838
    PROCEDURE = contained_within_approx,
4839
    LEFTARG = postgis.geography,
4840
    RIGHTARG = postgis.geography
4841
);
4842

  
4843

  
4844
--
4845
-- Name: OPERATOR @ (postgis.geography, postgis.geography); Type: COMMENT; Schema: util; Owner: -
4846
--
4847

  
4848
COMMENT ON OPERATOR @ (postgis.geography, postgis.geography) IS '
4849
can''t use && because it only compares 2D bounding boxes (which are geometry
4850
objects that do not support geocoordinate wraparound)
4851
';
4852

  
4853

  
4854
--
4855
-- Name: @; Type: OPERATOR; Schema: util; Owner: -
4856
--
4857

  
4858
CREATE OPERATOR @ (
4859 4838
    PROCEDURE = contained_within__no_dateline,
4860 4839
    LEFTARG = postgis.geometry,
4861 4840
    RIGHTARG = postgis.geometry
......
4893 4872
);
4894 4873

  
4895 4874

  
4875
--
4876
-- Name: ~@; Type: OPERATOR; Schema: util; Owner: -
4877
--
4878

  
4879
CREATE OPERATOR ~@ (
4880
    PROCEDURE = contained_within_approx,
4881
    LEFTARG = postgis.geography,
4882
    RIGHTARG = postgis.geography
4883
);
4884

  
4885

  
4886
--
4887
-- Name: OPERATOR ~@ (postgis.geography, postgis.geography); Type: COMMENT; Schema: util; Owner: -
4888
--
4889

  
4890
COMMENT ON OPERATOR ~@ (postgis.geography, postgis.geography) IS '
4891
can''t use && because it only compares 2D bounding boxes (which are geometry
4892
objects that do not support geocoordinate wraparound)
4893
';
4894

  
4895

  
4896 4896
SET search_path = pg_catalog;
4897 4897

  
4898 4898
--

Also available in: Unified diff