After some trials I verifed that you can use either %2F or '/' in the query string because the problem is in map file: always don't use as "UNIQUE geometry id" a field with special characters
>----Messaggio originale---- >Da: [EMAIL PROTECTED] >Data: 30/05/2008 19.34 >A: "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> >Cc: "pmapper-users"<[email protected]> >Ogg: Re: [pmapper-users] zoomQuery with a value using slashes > >fiorenontaglio, > >the slash '/' is a reserved character for URI's and needs to be encoded, >otherwise you will get strange results for the interpretation of the >URI. See eg. here > http://en.wikipedia.org/wiki/Percent-encoding >for some details of the encoding. > >Just define the search part like > >[EMAIL PROTECTED]@[EMAIL PROTECTED]@0 > >and it should work ok. > >armin > >On 30/05/2008 11:39, [EMAIL PROTECTED] wrote: >> Using pmapper 3.2 on postgis layer >> >> Problem with a zoomQuery string made like this: >> [EMAIL PROTECTED]@1/[EMAIL PROTECTED]@0 >> >> It seems the query value variable has got problems with values using slashes. I think misunderstood as a path. >> I turned on the error logging in initmap.php (line 561) and this is what I get: >> >> pratiche = '1/images/cursors/zoomin.cur' >> PHP Fatal error: [MapServer Error]: setExtent(): Given map extent is invalid. >> in /var/www/pmapper-3.2/incphp/map.php on line 174 >> >> >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> pmapper-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
