Thanks for the link! Maybe I have already read this paper, I don't
fully remember. I think there are two solutions:
A) Write a mechanism that uses the regular b-tree index (for example
something like the MultiDimension tool that is included in H2).
B) Implement an R-Tree indexing mechanism. Probably it makes sense to
write a first implementation first outside the database in pure Java
(maybe there are some free implementations available, I didn't check),
and if this is done integrate that into H2.
Some code will have to be written for both scenarios (helper
functions, test cases and so on). Just now, I think we should do both
A) and B) up to some point, and decide later which way to go, for
example based on performance or based on problems found or
implementation complexity.
Regards,
Thomas