AbstractSTRtree::createParentBoundables cheats on sorting, using a fake comparator function to do it (compareAbsBoundables). JTS uses a subclass-defined comparator obtained with a call to getComparator. This thing seems to be not-so-easy to do in C++. Does anyone have hints on the topic ? --strk;