[mapserver-users] No variable resolution
Steve Rollins
srollins@descinc.com
Fri, 4 Oct 2002 16:16:01 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0073_01C26BC1.558D02C0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Trying to get the Itasca demo up and running but when I look at the html
code in the
demo.html file, all the variables are unresolved such as [img]
[scalebar] etc. Should
these be converted to something by mapserv.exe? I can run it from the
address bar in
my browser, for example <http://localhost/scripts/mapserv.exe>
http://localhost/scripts/mapserv.exe gives me the appropriate
error, such as nothing to decode - query string not set.
If I hit the "Refresh/Query" button I get "msLoadMap(): Unable to access
file. Illegal mapfile name."
With a url like this
<http://localhost/scripts/mapserv.exe?mode=browse&zoomsize=%5Bzoomsize..
..>
http://localhost/scripts/mapserv.exe?mode=browse&zoomsize=%5Bzoomsize...
.
Which would seem to tell me that it's finding the mapserv.exe okay.
Any ideas? Thanks.
Steve Rollins
------=_NextPart_000_0073_01C26BC1.558D02C0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"cid:filelist.xml@01C26BC1.54EAF660">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:Zoom>BestFit</w:Zoom>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:DrawingGridHorizontalSpacing>5 pt</w:DrawingGridHorizontalSpacing>
<w:DrawingGridVerticalSpacing>6.8 pt</w:DrawingGridVerticalSpacing>
=
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEve=
ry>
=
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
{margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
span.EmailStyle18
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
mso-style-noshow:yes;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-hansi-font-family:Arial;
mso-bidi-font-family:Arial;
color:navy;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
@page Section1
{size:8.5in 11.0in;
margin:.5in 1.0in .5in 1.0in;
mso-header-margin:1.0in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */=20
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple =
style=3D'tab-interval:.5in'>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial'>Trying to get the </span></font><st1:place><font =
size=3D1
face=3DArial><span =
style=3D'font-size:9.0pt;font-family:Arial'>Itasca</span></font></st1:pla=
ce><font
size=3D1 face=3DArial><span style=3D'font-size:9.0pt;font-family:Arial'> =
demo up and
running but when I look at the html code in the =
<o:p></o:p></span></font></p>
<p class=3DMsoNormal><span class=3DGramE><font size=3D1 =
face=3DArial><span
style=3D'font-size:9.0pt;font-family:Arial'>demo.html</span></font></span=
><font
size=3D1 face=3DArial><span style=3D'font-size:9.0pt;font-family:Arial'> =
file, all
the variables are unresolved such as [img] [scalebar] etc. Should =
<o:p></o:p></span></font></p>
<p class=3DMsoNormal><span class=3DGramE><font size=3D1 =
face=3DArial><span
style=3D'font-size:9.0pt;font-family:Arial'>these</span></font></span><fo=
nt
size=3D1 face=3DArial><span style=3D'font-size:9.0pt;font-family:Arial'> =
be converted
to something by mapserv.exe? I can run it from the address bar in =
<o:p></o:p></span></font></p>
<p class=3DMsoNormal><span class=3DGramE><font size=3D1 =
face=3DArial><span
style=3D'font-size:9.0pt;font-family:Arial'>my</span></font></span><font =
size=3D1
face=3DArial><span style=3D'font-size:9.0pt;font-family:Arial'> browser, =
for
example <a href=3D"http://localhost/scripts/mapserv.exe"><font =
color=3Dblack><span
style=3D'color:windowtext;text-decoration:none;text-underline:none'>http:=
//localhost/scripts/mapserv.exe</span></font></a>
gives me the appropriate <o:p></o:p></span></font></p>
<p class=3DMsoNormal><span class=3DGramE><font size=3D1 =
face=3DArial><span
style=3D'font-size:9.0pt;font-family:Arial'>error</span></font></span><fo=
nt
size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;font-family:Arial'>, such as
nothing to decode - query string not set.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial'>If I hit the “Refresh/Query” button I get
“</span></font><span class=3DGramE><font size=3D1 =
face=3DArial><span
style=3D'font-size:9.0pt;font-family:Arial;mso-bidi-font-family:"Times =
New Roman"'>msLoadMap(</span></font></span><font
size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;font-family:Arial;mso-bidi-font-family:
"Times New Roman"'>): Unable to access file. <span class=3DGramE>Illegal =
mapfile
name.”</span><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial;mso-bidi-font-family:"Times New Roman"'>With a <span
class=3DGramE>url</span> like this <a
href=3D"http://localhost/scripts/mapserv.exe?mode=3Dbrowse&zoomsize=3D=
%5Bzoomsize...."><font
color=3Dblack><span =
style=3D'color:windowtext;text-decoration:none;text-underline:
none'>http://localhost/scripts/mapserv.exe?mode=3Dbrowse&zoomsize=3D%=
5Bzoomsize....</span></font></a><o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial;mso-bidi-font-family:"Times New Roman"'>Which would =
seem to
tell me that it’s finding the mapserv.exe =
okay.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial;mso-bidi-font-family:"Times New =
Roman"'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><span class=3DGramE><font size=3D1 =
face=3DArial><span
style=3D'font-size:9.0pt;font-family:Arial'>Any =
ideas?</span></font></span><font
size=3D1 face=3DArial><span style=3D'font-size:9.0pt;font-family:Arial'> =
Thanks.<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoAutoSig><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial;mso-bidi-font-family:"Courier =
New";mso-no-proof:yes'>Steve
Rollins<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:9.0pt;
font-family:Arial;mso-bidi-font-family:"Times New =
Roman"'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0073_01C26BC1.558D02C0--