PHP/MapScript processQueryTemplate Help
Mario H. Basa
mhbasa at YAHOO.COM
Wed Dec 15 02:59:36 PST 2004
Hello,
In my case, processQueryTemplate works fine, but I am
having problems with processtemplate. Tags like [map]
does not get processed, [layers] always returns "",and
the extents ([minx][miny][maxx][maxy]) return values
that are a little bit off (i.e. 55791.80240616297,
-115384.4500609421, 58256.76106400836,
-113553.979622542 => 55595.914369,
-115384.450061, 58452.648831, -113553.979623).
This happens in both Java and PHP Mapscripts. I
wondering now if anybody else is experiencing this.
mario.
-- Daniel Morissette <dmorissette at DMSOLUTIONS.CA>
wrote:
> Rene Teniere wrote:
> > Hi,
> >
> > Just trying to get info functionality working in
> our site using
> > PHP/Mapscript. It seems to get stalled while
> processing the template. Am
> > I doing this wrong?
> >
>
> Which version of MapServer are you using? There was
> bug 569 that was
> fixed in v4.2 (quite a while ago) that was causing
> problems if you had
> TEMPLATE set only at the layer level and not inside
> classes like you
> have done. If you are using a version older than
> 4.2.0 then you should
> either upgrade or try adding the TEMPLATE inside the
> CLASS as well.
>
> Other than that, I can't see what's wrong based on
> the information that
> you provided. If you are using version 4.4 and the
> problem persists then
> you could maybe file a bug with a small testcase to
> reproduce.
>
> Daniel
> --
>
------------------------------------------------------------
> Daniel Morissette
> dmorissette at dmsolutions.ca
> DM Solutions Group
> http://www.dmsolutions.ca/
>
------------------------------------------------------------
>
__________________________________
Do you Yahoo!?
Send holiday email and support a worthy cause. Do good.
http://celebrity.mail.yahoo.com
More information about the MapServer-users
mailing list