summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cab2285)
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]