* do not use joins on punbb_posts when that isn't necessary
* factorize functions for retrieving #comments of a adoc
gpx files should have at least two points