trying to get dbox working...

piero.cavalieri@gmail.com piero.cavalieri at GMAIL.COM
Sun Apr 23 00:54:16 PDT 2006


I never see [BOX], which should be "true" or "false" (it was so in  the 
older version and hardcoding "true" should work).
I never see [DRAG] (as it's not documented, as [BOX]).
[PROGRAM] it's not documented, but I fell to remember I saw it in itasca 
demo application last year (when I set up it)
[map_web_imagepath] and [map_web_imageurl] are right, see "Changing map 
file parameters via a form or a URL" (MAP object in .map file has WEB 
child object, which has IMAGEPATH child object; u colud specifiy 
everything in map file in tis manner, for example MAP_LEGEND_SIZE= 140 
130, passing it to cgi u can change legend size dinamically).
[ZOOMSIZE] is correct, it's the last parameter before "ROSA-Applet 
specific".


Personally I think cgi reference it's not too much well documented, 
especially for a beginner. I had basic cgi working (less or more) with:
-to cgi ("input"): IMGEXT, IMGXY, IMGBOX
-output (in template tag): MAPEXT wich value become that of IMGEXT when 
you give to the url the next time, and so on.

Other paramters are intuitive, but I had to do a lot of try and error to 
have something working and I'm still a bit confused. Then one ask 
himself why there is not BBOX for example (among others), which is OGC 
(I think)...
I repeat myself: cgi reference should be documented well, specifiing 
that in reference there are only Mapserver specific (if so) and not OGC 
variables, and doing at the reference end, a bit of examples for most 
common situations (it should be only one or two pages more...)

Cheers
     Piero


Date:    Fri, 21 Apr 2006 09:38:30 -0500
From:    John Cole <john.cole at UAI.COM>
Subject: trying to get dbox working...
MIME-Version: 1.0
Content-Type: text/plain

I'm trying to get the dbox demo working on my data, but the page from
http://www.greenwoodmap.com/mapserver/Ottawa-workshop/presentation/demo3_dBo
x-src.html seems to use some template tags that aren't working (and are not
in the template file reference).

Among these are [box], [drag], [program], [map_web_imagepath],
[map_web_imageurl], and [zoomsize].

Is there a working dbox demo I could download? :-) or get some hints as to
how to get this one to work?

I'm using mapserver 4.8.1. I think I have all of the js files needed, but
I'm getting a js error, box is not defined, on
        main.box = [box];

Thanks,

John Cole
<DIV><FONT size=1 face="Verdana">This email and any files transmitted 
with it are confidential and intended solely for the use of the 
individual or entity to whom they are addressed. If you have received 
this email in error please notify the sender. This message contains 
confidential information and is intended only for the individual named. 
If you are not the named addressee you should not disseminate, 
distribute or copy this e-mail. </FONT></DIV>



More information about the MapServer-users mailing list