raise webob.exc.HTTPNotFound()
assert subresult.rowcount == 1
row = subresult.fetchone()
raise webob.exc.HTTPNotFound()
assert subresult.rowcount == 1
row = subresult.fetchone()
+ # (2) now we have the border
border_wkb = row['border_wkb'] # border as WKB
where += ' and contains(geomfromwkb(%s), point(position_longitude, position_latitude))'
params += [border_wkb]
border_wkb = row['border_wkb'] # border as WKB
where += ' and contains(geomfromwkb(%s), point(position_longitude, position_latitude))'
params += [border_wkb]