|
||||
[maplab-users] Query questionWilliam A. Bronsema, C.E.T. bronsema@dmsolutions.caFri, 17 Oct 2003 07:36:25 -0400
|
Hi Richard, I'm not sure if this will help or not, but FYI - There is a constant defined in the globprefs.php file for your gmapFactory application that should look something like this ( In my version it is on line 65): define( "MIN_RECT", 5 ); This constant controls the difference between a "point click" and "rectangle select". Essentially all interactions with the map are "rectangle selects". This constant tells the application the threshold at which the user was intending to perform a "point click" (i.e. a tiny rectangle) instead of a "rectangle select". In the case of querying, if the value is too small then more often than not a tiny rectangle query will be performed instead of a point query which can lead to confusing results. HTH. Regards, Bill -- William A. Bronsema, C.E.T. Applications Developer DM Solutions Group Inc. http://www.dmsolutions.ca ____________________________________ Post,Richard [NCR] wrote: > Hello, > > I have a small problem with my gmapfactory application. The application > uses the query function to select points from a shape file. The problem > is that the query only works when you drag a box over the points (ie. > Doing a rectangular query). When you simply click on the point nothing > is selected (ie. The layer does not return any results). I have already > tried changing the TOLERANCE and TOLERANCEUNITS in the map file, which > does not seem to have any effect. > > Any suggestions would be welcome. > > Thanks, > > Richard Post > Environment Canada >
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |