BUG: Distance Query on PostGreSQL
Trying to do a distance query in Semantic Maps running on PostGreSQL (I know we PG people are a thorn in the developers' sides :-) ). When the query executes, it throws a syntax error. The problem appears to be that you are tying the bounding box criteria together with "&&" and PostGreSQL wants "AND". I went into SM_AreaValueDescription.php line 149 and changed && and || to AND and OR, and it works fine. Not sure if that is a global fix, but it worked for me.