No subject


Tue Oct 7 10:08:30 PDT 2008


the info for the grid square in which my click is contained, its speed
should be constant, no matter how much I am zoomed in or out. After
all, the mouse can have only one click x,y, and that click can only be
contained within one grid square, no matter what my zoom level. Of
course, when I am zoomed out, then the precision of which grid square
my click falls within is very coarse, and I may not get the correct
grid square back, however, when I am zoomed in, I should be able to
more accurately click within the grid square I desire. So, actually,
zooming in is, from the user's perspective, a desired state.

I am not sure which technology here is at fault. I have OpenLayers,
MapServer and PostGIS in play, and something is failing to work as
intuited.

Any suggestions?




> On Sun, Sep 20, 2009 at 7:15 AM, P Kishor <punk.kish at gmail.com> wrote:
>> I am trying to understand the mechanics of a getfeatureinfo query. My
>> setup is data in Pg/PostGIS, served by MapServer via WMS, with
>> OpenLayers in the front. When I click on a map and send a
>> GetFeatureInfo query, MapServer grabs the x,y sent in the URL, and,
>> for the layer (also sent in the URL), finds the row in the table which
>> contains the x,y of my click.
>>
>> How does MapServer do that?
>>
>> Does it run a Pg/PostGIS query for this?
>> How can I find out the syntax of this query?
>>
>> If a GetFeatureInfo takes too long, what can I do to speed it up?
>>
>>
>> --
>> Puneet Kishor
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>
>
>
> --
> http://iap.md, The future is open
>



-- 
Puneet Kishor http://www.punkish.org
Carbon Model http://carbonmodel.org
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org
Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor
Nelson Institute, UW-Madison http://www.nelson.wisc.edu
-----------------------------------------------------------------------
Assertions are politics; backing up assertions with evidence is science
=======================================================================
Sent from Madison, WI, United States