Re: difference between overlap and intersect using geometric types of postgresql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: dhoubrechts <dhoubrechts(at)cybernet(dot)be>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: difference between overlap and intersect using geometric types of postgresql
Date: 2003-03-03 01:27:39
Message-ID: 24345.1046654859@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

dhoubrechts <dhoubrechts(at)cybernet(dot)be> writes:
> Can somebody help me. I can't understand the difference between overlap
> of polygon and intersect of path.

A little looking in the code finds:

/*-----------------------------------------------------------------
* Determine if polygon A overlaps polygon B by determining if
* their bounding boxes overlap.
*
* XXX ought to do a more correct check?
*-----------------------------------------------------------------*/
Datum
poly_overlap(PG_FUNCTION_ARGS)

Feel free to submit a better implementation ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mark Jones 2003-03-03 01:33:55 Re: Postgresql performace question
Previous Message Bruno Wolff III 2003-03-03 01:26:15 Re: transparent use of pre-aggregated value for very large datasets