[mapserver-users] Getting mapxy to work with buffer or scale

Marc Weigel mweigel at tempestdg.com
Mon May 14 18:08:55 EDT 2001


Hi,
Newbie alert!  I am having trouble getting mapxy to work with buffer or
scale.  I want the picture to show more of the surrounding stuff, but can't
seem to figure out the trick.  Here are my two <img> tags.  The first one
simply shows the extents of the item found.  The second one should show more
of the surrounding area.  Unfortunately, they seem to do exactly the same
thing.  Using buffer=10 in place of scale=1.1 doesn't seem to do anything
either.  I read somewhere that the mapserv engine "Variable contents are
checked for appropriate data types and magnitude as they are loaded".  Are
my values appropriate?  If not, what are appropriate values?  Does scale=2.0
mean zoom out by 2?  I also tried scale=2000 and buffer = 150 (these values
seem to work in ArcView).  Maybe I have something else wrong in my code, and
this scale/buffer thing is a red herring.  Any help would be appreciated.

<img border="1"
src="/cgi-bin/mapserv.exe?map=c:\inetpub\wwwroot\ms_marc\test.map&item=id&va
lue=1638&mode=itemquerymap&mapext=shapes">
&nbsp;
<img border="1"
src="/cgi-bin/mapserv.exe?map=c:\inetpub\wwwroot\ms_marc\test.map&item=id&va
lue=1638&mode=itemquerymap&mapxy=shapes&scale=1.1">


begin 600 winmail.dat
M>)\^(C at 6`0:0"``$```````!``$``0>0!@`(````Y`0```````#H``$(@`<`
M&````$E032Y-:6-R;W-O9G0 at 36%I;"Y.;W1E`#$(`06``P`.````T0<%``X`
M#P`(`#<``0`Z`0$@@`,`#@```-$'!0`.``\`"``W``$`.@$!"8`!`"$````W
M,CDW045",#A#-#9$-3$Q03E#,#(P-$,T1C1&-3`R,``2!P$$@`$`*P```$=E
M='1I;F<@;6%P>'D@=&\@=V]R:R!W:71H(&)U9F9E<B!O<B!S8V%L90"F#P$-
M@`0``@````(``@`!`Y`&`$@)```Q`````P`)60,````"`7$``0```!8````!
MP-S"8XRBFS"32(81U9AE`!!:RU/=```#`-X_KV\```,`6H`((`8``````,``
M``````!&`````%*%```G:@$`'@!;@`@@!@``````P````````$8`````5(4`
M``$````$````.2XP``L`7(`((`8``````,````````!&``````:%````````
M`P`.@`@@!@``````P````````$8``````84````````+``"`""`&``````#`
M````````1@`````#A0````````L`7X`((`8``````,````````!&``````Z%
M`````````P!*@`@@!@``````P````````$8`````$(4````````#`&"`""`&
M``````#`````````1@`````1A0````````,`88`((`8``````,````````!&
M`````!B%````````'@!B@`@@!@``````P````````$8`````-H4```$````!
M`````````!X`8X`((`8``````,````````!&`````#>%```!`````0``````
M```>`&2`""`&``````#`````````1@`````XA0```0````$``````````@$)
M$`$```#/`P``RP,``)0%``!,6D9U(=,QP@,`"@!R8W!G,3(U%C(`^`M@;@X0
M,#,S3P'W`J0#XP(`8V@*P'/P970P(`<3`H,`4`-45Q#)!VT"@'T*@78(D'?2
M:PN`9#0,8&,`4`L#X0NU($AI+`JB"H0+,,QS8@]``4!S81=1![(:8 at B0(`=`
M!)!T(2#D($D84&T@$/`4D`\@M"!T`V!U`F`80&<1,$9T&6(`P'!X>1F0;Q0@
M=P6P:QL@:71HV"!B=0$@!)`@!;$$\/4882X8PG<`<`5`&Z`80#IP#>!T"'`8
M0!L!<VA.;P?@!&`=\6]F'5-S;PAP&;$4\!EB<QW0`2`L9QO!!4`<@&XG!4`1
M(&7C&1`;`69I9QWB"&`=1.L9H`W@:QS!2`20&$$=\29M&N$;,"`\!W!G/M$9
MD&%G<QS!5!UQ(;#_$1`%0`(@'T$'<`M0&N`>4J,$(!UB97AT"?!T!"#_'O4;
MD"%1`A`?L23%$2`%H.<4\"6$'F!U;"DP'E\?:N4C<6$<P55N`A``(!^P?F$G
M`"80('`=828A(45D]QL0)N``T'0F$1\C&0`>`;YH&6$L$@"0&7$;U#T/0'<G
MP`.@"U%C*H,<<S"`+KXQ+?$'D"#Z+@$`<'DO0_\FT!N1!)`<PROA*>$#<`?0
M/S01+R(LP!U3&J$1(')V;R;0#R`+@!A`(A'S"_`T_"!6"L`',!GB*0$G!"-R
M>Q#@!9!K"8`H$07`&K!POP- at .>`',"<`+?`LP&$9D+QY<`>1`'`I,`#`9P,`
M_QW0`0`84":#&N`C<@D`-+"_"8`W`175',$'$".3=@=`-PI0.*$YV#\8P2JP
M;F_^="!P-2`UH2-R.<H^=#^1YD0R,3%U,BX14`>``Y&L>F\#<"(38AK@,C^2
M_QA1-.`BDCE10G478!%0.S*A&]4](#$U$5`H'6$_$2`^9B$V&S,PP0<08U:%
M%*$I',%-87EB&$!_&.`9,1]!-/$SA420&$!W_P-@&7$PP2.Q!:`!`"!P.S+[
M+T%"52\;U3.$3,$ZL`EQ;QD@!)`%$"]S03- at 3J%L_G`;(2G"2;$YP at 60.C(H
M8#\6>A:#)"(;P`6P!($](IPQ(AQ at 2.!2\"]C-K#2+1@@;B\V%2XFX#^`81JA
M/6,Z7`Q`):!T]G`9T%5`=U7P`V!``%5`^&US7P#`2.!50"<`("`*+AJA)B?2
M/6ED)L,^<S"`-C,X)@1B5^#U)^%Q"E!R!L!7<1JA)N%&/2H`6@%S(CX6=";@
M;F)S<#M1[U+_5`]_51]6+U<_6$]96QK06E4F+S&'6L86=!11`&8P`!X`<``!
M````*P```$=E='1I;F<@;6%P>'D@=&\@=V]R:R!W:71H(&)U9F9E<B!O<B!S
M8V%L90```P`F```````#`#8```````L``@`!`````P#]/^0$``!``#D`<'1@
M=\+<P`$#`/$_"00``!X`,4`!````"````$U714E'14P``P`:0``````>`#!`
M`0````@```!-5T5)1T5,``,`&4``````"P#R$`$````#`(`0_____P(!1P`!
M````-@```&,]0T$[83T at .W`]6$9)3$531$]-04E..VP]34%)3E-%4E9%4BTP
M,3`U,30R,C`X-35:+3$X`````@'Y/P$```!3`````````-RG0,C`0A`:M+D(
M`"LOX8(!`````````"]//5A&24Q%4T1/34%)3B]/53U-04E.4T525D52+T-.
M/5)%0TE0245.5%,O0TX]35=%24=%3```'@#X/P$````,````36%R8R!796EG
M96P`'@`X0`$````(````35=%24=%3``"`?L_`0```%,`````````W*=`R,!"
M$!JTN0@`*R_A@@$`````````+T\]6$9)3$531$]-04E.+T]5/4U!24Y315)6
M15(O0TX]4D5#25!)14Y44R]#3CU-5T5)1T5,```>`/H_`0````P```!-87)C
M(%=E:6=E;``>`#E``0````@```!-5T5)1T5,`$``!S!@\%YWPMS``4``"#!`
M.&YWPMS``1X`/0`!`````0`````````>`!T.`0```"L```!'971T:6YG(&UA
M<'AY('1O('=O<FL@=VET:"!B=69F97(@;W(@<V-A;&4``!X`-1`!````,@``
M`#PV,#DQ,T,Y04(W0C%$-#$Q03E"-C(P-$,T1C1&-3`R,#<P-D9`34%)3E-%
M4E9%4CX````+`"D```````L`(P```````P`&$$=$C($#``<0T0,```,`$!``
M`````P`1$`$````>``@0`0```&4```!(22Q.15="245!3$525$E!34A!5DE.
M1U123U5"3$5'151424Y'34%06%E43U=/4DM7251(0E5&1D523U)30T%,14E7
M04Y45$A%4$E#5%52151/4TA/5TU/4D5/1E1(15-54E)/``````(!?P`!````
M,@```#PV,#DQ,T,Y04(W0C%$-#$Q03E"-C(P-$,T1C1&-3`R,#<P-D9`34%)
-3E-%4E9%4CX````[,`==
`
end



More information about the mapserver-users mailing list