<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=ISO-8859-1 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18854"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT face=Arial>Bob, P Kishor, and Dan Little,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Thanks for the responses.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>After reading the article at blooberry.com, it looks like
other stuff needs to be fixed also.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Is there some other means of accessing the
mapserver? some of the documentation seemed to indicate that I should
be generating a request in some kind of XML request.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I'd sure like to know if anyone is using Flash to actually
access a mapserver.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Sincerely,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Ken</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=bob.b@gritechnologies.com href="mailto:bob.b@gritechnologies.com">Bob
Basques</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=ets1@runestone.net
href="mailto:ets1@runestone.net">Ken S. Elvehjem</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, December 19, 2009 8:26
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [mapserver-users] Accessing
mapserver from Flash Script</DIV>
<DIV><BR></DIV>Ken, <BR><BR>You could try to enocde the entire URL from stage
one. Read more here:<BR><BR><A class=moz-txt-link-freetext
href="http://www.blooberry.com/indexdot/html/topics/urlencoding.htm">http://www.blooberry.com/indexdot/html/topics/urlencoding.htm</A><BR><BR>Using
the converter near the bottom of the page, your URL goes from :<BR><BR><FONT
size=2 face=Arial><SPAN style="MARGIN: 0.5em 0pt 0pt -15px"
class=ul-threaded><SPAN class=connect post-id="4193425"><SPAN id=li4193425
class=li-threaded><SPAN class=threaded><SPAN class=post-middle><SPAN
style="DISPLAY: block" id=post4193425
jsurl="/forum/ThreadTree$ViewPostJs.jtp?post=4193425&user=378907&maybePending=true"><A
href="http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:"
rel=nofollow target=_top
moz-do-not-send="true">http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:</A>\ms4w\Apache\htdocs\ND\ND_griggs-wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NAIP2006&STYLES=&SRS=EPSG:4269&BBOX=554649,5245688,557949,5248988&WIDTH=1650&HEIGHT=1650&FORMAT=image/jpeg
<BR><BR>to<BR><BR><TT><A class=moz-txt-link-freetext
href="http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:%5Cms4w%5CApache%5Chtdocs%5CND%5CND_griggs-wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NAIP2006&STYLES=&SRS=EPSG:4269&BBOX=554649%2C5245688%2C557949%2C5248988&WIDTH=1650&HEIGHT=1650&FORMAT=image/jpeg">http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:%5Cms4w%5CApache%5Chtdocs%5CND%5CND_griggs-wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NAIP2006&STYLES=&SRS=EPSG:4269&BBOX=554649%2C5245688%2C557949%2C5248988&WIDTH=1650&HEIGHT=1650&FORMAT=image/jpeg</A></TT><BR></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT><BR>You
can even escape the "&" characters if needed using the same
syntax.<BR><BR>bobb<BR><BR><BR>Ken S. Elvehjem wrote:
<BLOCKQUOTE cite=mid:4E0F9193A97D4F19B80A99510C1B6305@ibmfree type="cite">
<META name=GENERATOR content="MSHTML 8.00.6001.18854">
<STYLE></STYLE>
<DIV><FONT size=2 face=Arial><SPAN style="MARGIN: 0.5em 0pt 0pt -15px"
class=ul-threaded><SPAN class=connect post-id="4193425"><SPAN id=li4193425
class=li-threaded><SPAN class=threaded><SPAN class=post-middle><SPAN
style="DISPLAY: block" id=post4193425
jsurl="/forum/ThreadTree$ViewPostJs.jtp?post=4193425&user=378907&maybePending=true"><BR>Hi,
<BR><BR>I have set up a Mapserver which serves up aerial photography.
Works better than "just great!" <BR><BR>Now, I'm trying to write some
web/flash based software using the OpenLaszlo software. This product
allows me to write a "script" in a kind of XML, which then gets compiled to
a Flash .swf file. <BR><BR>With this tool, I can set an image(JPEG) on my
page from anywhere on the web, simply by using the correct URL.
However, I cannot understand how to create the URL to get a JPG file
from the mapserver. The troubleshooting data suggests that the problem
is with an "unescaped ampersand (&) ... is there a way to escape this
escape madness? <BR><BR>URL: <BR><BR><A
href="http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:"
rel=nofollow target=_top
moz-do-not-send="true">http://mapserver.soilsampling.com/cgi-bin/mapserv.exe?map=c:</A>\ms4w\Apache\htdocs\ND\ND_griggs-wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=NAIP2006&STYLES=&SRS=EPSG:4269&BBOX=554649,5245688,557949,5248988&WIDTH=1650&HEIGHT=1650&FORMAT=image/jpeg
<BR><BR>This URL is also problematic, tho it's not a "MapServer" url:
<BR><BR><A
href="http://cairo.gis.iastate.edu/server.cgi/Aerial.jpg?layer=naip_2007&zoom=1&X0=222375&y0=4744771&pwidth=858&pheight=738&format=jpg"
rel=nofollow target=_top
moz-do-not-send="true">http://cairo.gis.iastate.edu/server.cgi/Aerial.jpg?layer=naip_2007&zoom=1&X0=222375&y0=4744771&pwidth=858&pheight=738&format=jpg</A><BR><BR>Any
ideas would be greatly appreciated! <BR><BR>sincerely, <BR><BR>Ken S.
Elvehjem </SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial>Ken S. Elvehjem<BR>PO Box 37<BR>Lowry MN
56349</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>320.283.5684<BR>320.424.1299 c<BR>320.283.5247
h</FONT></DIV><PRE wrap=""><HR SIZE=4 width="90%">
_______________________________________________
mapserver-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A>
</PRE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>