Project

General

Profile

« Previous | Next » 

Revision 13896

schemas/util.sql: contained_within(): renamed to contained_within_approx() because the latitude lines of geography type bounding boxes bulge outward, creating false positives above and below the bounding box

View differences:

trunk/schemas/util.sql
2346 2346
    AS $_$
2347 2347
/* use function rather than operator+search_path to allow inlining, which
2348 2348
enables util.new_world() to only be evaluated once */
2349
SELECT util.contained_within(util.geometry(($1, $2)), util.new_world())
2349
SELECT util.contained_within_approx(util.geometry(($1, $2)), util.new_world())
2350 2350
$_$;
2351 2351

  
2352 2352

  

Also available in: Unified diff