Hello all,

I've written a query script that gets called from a form on the resultwin 
page.  In the script I call postGIS with a query using the native php pg_* 
functions to get geometry and results.

The query selects all of the features that intersect or are contained in a 
buffer around a feature I selected from the infowin page (info.phtml).

I added the javascript for the zoom links and the zoom2extent js with the 
proper geometry to zoom to my results set or the individual features  All 
that works.

What I need is to be able to call map.phtml or understand what I need to set 
to get map.phtml to clear the original highlighting and run the highlighting 
code for my new results.

There seems to be a lot happening when all of this stuff is run between 
SESSION vars, hidden inputs, and javascript building the urls plus what php 
is doing.

I've tried to set the resulttileindexes session variable, all of the JS 
variables that I've found by modeling the select, search, and identify code 
paths.

If its not a matter of calling map.phtml and inserting my query into 
query.php or squery.php, some pointers to where that might best be done 
would be helpful as well.

Any assistance would be appreciated and would be a HUGE help.

pmapper version 1.0.8 (printing modules somewhat modified)
mapserver 4.6
mapscript from the 4.6 MS release
Slackware Linux 10.2
using both IE and Firefox browsers
--
Things are only difficult while you don't understand them.



Reply via email to