Martin,
After some thought, the foreach construct might not be needed. It is
challenging to make a complex SQL statement work correctly. So I
sometimes create SQL ResultSets and then use If or Case statements for
finer grain comparisons, even joining Resultsets. This way I'm able to
test each part of the solution while I build it. Maybe I need to
buckle down and learn more about Subqueries, correlated and non-
correlated. The PostGIS Nabble forum & wiki has many geometry
examples.
On Jul 21, 11:51 am, "Martin Davis" <
mtncl...@gmail.com> wrote:
> Keith, can you provide any more details or ideas about how you might use
> looping?
>
> I have a rough design in mind, which I'll write up and post when I can. It
> will help me fine-tune the design to get other input on what looping might
> be used for.
>
> Martin
>