artemp/tickets2issues — Issue #587: Add tolerance to the features_at_point() query in the PostGIS plugin
Author: artemp
Created: 2011-10-11 15:26:29+00:00
State: open
Labels: PostGIS_Input_Driver

It is very difficult to get results for a GetFeatureInfo request because the features_at_point() has no tolerance parameter:

map.cpp
ds->features_at_point(mapnik::coord2d(x,y));

postgis.cpp:
Envelope box(pt.x,pt.y,pt.x,pt.y);
std::string table_with_bbox = populate_tokens(table_,FMAX,box);