what the highlight does is create dynamically a new layer and add all
the features with the id's from the queried layer to this new layer. For
polygon layers it uses a LINE highlight layer, but you can easily change
this in map.php in function 'pmap_addResultLayer' by uncommenting
##$newResLaye
you need to clear the session var $_SESSION["resultlayers"] and then
create it for your data in the required structure. You can also pass
that via the URL. 'resulttileindexes' are only needed for tileindex
shapefiles (that I never use), otherwise this value can be -1 or 0 or
so. Check the code
Your script sounds very useful, I hope that Armin will consider it to
integrate into pmapper
Unfortunately I'm not much able to advise you on your question but let
us know about your progress.
bye
luca
On 5/10/06, Gail Long wrote:
> Hello all,
>
> I've written a query script that gets called fr
Problem 2 is solved (not the same with problem 1)
It's related to encoding. (Have to be in UTF? Something like this)
I replaced "?" with the 2 chars used in languageIT.php for this letter.
Now it's ok.
- Original Message -
From: toni
To: pmapper mailing list
Sent: Friday, May 05, 2006 5:
Problem solved!
It's not related to a function of Mapserver/Mapscript.
Query result are outputted in HTML, this is why carriage return doesn't
work.
Just use the HTML tag as separator and strings appear in multple lines.
e.g.:
if input data is:
StringA StringB StringC
output would be:
StringA
Getting much closer I think!
I have the javascript function that refreshes the map.
I've set my $_SESSION['resultlayers'] appropriately to real values (I've
tried both -1 and 0 for the type)
The map refresh calls map.phtml but now as it loads I get a failure at this
line:
$newResLayer->addFe
After a little bit more consideration:
Maybe the easier question is where would I insert custom queries into the
existing structure if I wanted to call them?
--
Things are only difficult while you don't understand them.
>From: "Gail Long"
>To: armin.burger at gmx.net
>CC: pmapper-users at
Armin,
Thank you for the quick response. Please forgive me but I don't entirely
understand what to do.
I've cleared the resultlayers session variable and added the new values in
what I believe is the correct structure:
array(1) { ["adapar"]=> array(31) { [991740]=> int(-1) [991511]=> int(-
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 feat