If I have spatial polygons describing thousands of river catchments in a large region, what is the smartest way to define a relational system between catchments? I'm familiar with concepts from computer science such as linked lists and tree directories. I don't want to re-invent the wheel. Has anyone come up with the definitive method to store the relationship between catchments so that, when needed, it's possible to answer questions such as:
> which catchments are within this catchment;
> which catchment does this catchment drain into;
> what is the chain of catchments upstream and downstream of this one.
I think it's an interesting problem probably with multiple solutions. I would appreciate any thoughts/discussion.
Thanks.