<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:409890535;
        mso-list-type:hybrid;
        mso-list-template-ids:899341438 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>A couple of thoughts:-<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><span
style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>Try changing the layer status from ON to DEFAULT (STATUS DEFAULT).
Does it make a diffrerence?<o:p></o:p></span></p>

<p class=MsoListParagraph style='text-indent:-18.0pt;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1F497D'><span
style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'>What happens if you run the following directly from your
browser:  <a
href="http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&amp;layers=all&amp;mode=map">http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&amp;layers=all&amp;mode=map</a><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:18.0pt'><span style='font-size:9.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>Or <a
href="http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&amp;layers=county&amp;mode=map">http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&amp;layers=county&amp;mode=map</a><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:18.0pt'><span style='font-size:9.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>Or <a
href="http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&amp;mode=map">http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&amp;mode=map</a>
(this will only apply if you set the layer status to DEFAULT)<o:p></o:p></span></p>

<p class=MsoListParagraph><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoListParagraph><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoListParagraph style='margin-left:0cm'><span style='font-size:9.0pt;
font-family:"Tahoma","sans-serif";color:#1F497D'>Pano<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> ms4w-users-bounces@lists.maptools.org
[mailto:ms4w-users-bounces@lists.maptools.org] <b>On Behalf Of </b>Rangga
Negara<br>
<b>Sent:</b> 02 September 2009 19:42<br>
<b>To:</b> David Martinez Morata<br>
<b>Cc:</b> ms4w-users@lists.maptools.org<br>
<b>Subject:</b> [MS4W-Users] Bls: Bls: Trs: cannot render image<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
24.0pt;margin-left:36.0pt'><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>oh
sorry about text, but still nothing change<br>
<br>
<br>
<br>
<br>
</span><span style='font-size:24.0pt'><o:p></o:p></span></p>

<div>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=1 width="100%" align=center>

</span></div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Dari:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> David Martinez
Morata &lt;damarmo@gmail.com&gt;vdsvfefe<br>
<b>Kepada:</b> Rangga Negara &lt;rkn2003@yahoo.co.id&gt;<br>
<b>Cc:</b> Jeff McKenna &lt;jmckenna@gatewaygeomatics.com&gt;;
ms4w-users@lists.maptools.org<br>
<b>Terkirim:</b> Rabu, 2 September, 2009 21:34:55<br>
<b>Judul:</b> Re: [MS4W-Users] Bls: Trs: cannot render image<br>
</span><br>
<span style='font-size:24.0pt'>TRY to write with a smaller text Please!</span><br>
<br>
And try to comment (add &quot;#&quot; character) at the start of the
&quot;IMAGECOLOR&nbsp; 255 255 255&quot; line<br>
<br>
<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:36.0pt'>2009/9/2 Rangga Negara &lt;<a
href="mailto:rkn2003@yahoo.co.id" target="_blank">rkn2003@yahoo.co.id</a>&gt;<o:p></o:p></p>

<div>

<div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:24.0pt'>i
already with shp2img and i got the picture, <br>
but still in browser just white colour it the image box <o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><span style='font-size:24.0pt'><o:p>&nbsp;</o:p></span></p>

<div>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=1 width="100%" align=center>

</span></div>

<p class=MsoNormal style='margin-left:36.0pt'><b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>Dari:</span></b><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> Jeff McKenna &lt;<a
href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>&gt;<br>
<b>Kepada:</b> <a href="mailto:ms4w-users@lists.maptools.org" target="_blank">ms4w-users@lists.maptools.org</a><br>
<b>Terkirim:</b> Rabu, 2 September, 2009 20:29:27<br>
<b>Judul:</b> Re: [MS4W-Users] Trs: cannot render image<br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
Rangga Negara wrote:<br>
&gt; hi, i just not understand why the map cannot render<br>
&gt; this is my mapfile<br>
&gt; <br>
&gt; name &quot;b&quot;<br>
&gt; SIZE 600 500<br>
&gt; UNITS DD<br>
&gt; IMAGETYPE JPEG<br>
&gt; IMAGECOLOR&nbsp; 255 255 255<br>
&gt; SHAPEPATH &quot;C:/ms4w/home/mapdata/&quot;<br>
&gt; EXTENT -77.119900 38.791513&nbsp; -76.909396 38.995109<br>
&gt; STATUS ON<br>
&gt; <br>
&gt; #<br>
&gt; #&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Start of web interface definition<br>
&gt; #<br>
&gt; <br>
&gt; WEB<br>
&gt;&nbsp; &nbsp; TEMPLATE '/ms4w/apache/htdocs/b.html'<br>
&gt;&nbsp; &nbsp; IMAGEPATH '/ms4w/tmp/ms_tmp/'<br>
&gt;&nbsp; &nbsp; IMAGEURL '/ms_tmp/'<br>
&gt; END # WEB Section<br>
&gt; <br>
&gt; #<br>
&gt; #&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Start of Layer definition<br>
&gt; #<br>
&gt; LAYER<br>
&gt;&nbsp; &nbsp; NAME&nbsp; county<br>
&gt;&nbsp; &nbsp; TYPE polygon<br>
&gt;&nbsp; &nbsp; STATUS ON<br>
&gt;&nbsp; &nbsp; CONNECTIONTYPE OGR<br>
&gt;&nbsp; &nbsp; CONNECTION &quot;c:/ms4w/home/mapdata/county.TAB&quot;<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLASS<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NAME &quot;county&quot;<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STYLE<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLOR 254 222 212<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OUTLINECOLOR 0 0 0<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; END<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; END # Class section<br>
&gt; END # LAYER Section<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; <br>
&gt; END # MapFile<br>
&gt; <br>
&gt; <br>
&gt; ------and this is my html--------------------------------------------<br>
&gt; &lt;html&gt;<br>
&gt; &lt;head&gt; &lt;title&gt;MapServer First Map&lt;/title&gt;&lt;/head&gt;<br>
&gt; &lt;body&gt;<br>
&gt;&nbsp; &nbsp; &lt;form method=POST
action=&quot;/cgi-bin/mapserv.exe?&quot;&gt;<br>
&gt;&nbsp; &nbsp; &nbsp; &lt;input type=&quot;submit&quot; value=&quot;Click
Me&quot;&gt;<br>
&gt;&nbsp; &nbsp; &nbsp; &lt;input type=&quot;hidden&quot; name=&quot;map&quot;
<br>
&gt;
value=&quot;C:/ms4w/home/mapdata/b.map&amp;layers=all&amp;mode=map&quot;&gt;<br>
&gt;&nbsp; &nbsp; &nbsp; &lt;input type=&quot;hidden&quot;
name=&quot;map_web&quot;<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value=&quot;imagepath
/ms4w/tmp/ms_tmp/&quot;&gt;<br>
&gt;&nbsp; &nbsp; &lt;/form&gt;<br>
&gt;&nbsp; &nbsp; &lt;IMG SRC=&quot;[img]&quot; width=600 height=500
border=0&gt;<br>
&gt; &lt;/body&gt;<br>
&gt; &lt;/html&gt;<br>
&gt; -------------------------------------------------------------------------<br>
&gt; <br>
&gt; output just white colour on the image box?<br>
<br>
Hello,<br>
<br>
Here are my thoughts:<br>
<br>
- use the ogrinfo commandline utility to get the extents of the TAB file <br>
(also included in MS4W)<br>
- use the extents from ogrinfo in the EXTENT parameter of your mapfile<br>
- test your mapfile using the shp2img commandline utility <br>
(<a href="http://www.mapserver.org/utilities/shp2img.html" target="_blank">http://www.mapserver.org/utilities/shp2img.html</a>),
which is included in MS4W<br>
<br>
-jeff<br>
<br>
<br>
-- <br>
Jeff McKenna<br>
FOSS4G Consulting and Training Services<br>
<a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
MS4W-Users mailing list<br>
<a href="mailto:MS4W-Users@lists.maptools.org" target="_blank">MS4W-Users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ms4w-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ms4w-users</a><o:p></o:p></span></p>

</div>

</div>

</div>

<div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'>

<hr size=1 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><a
href="http://sg.rd.yahoo.com/sg/messenger/maxwell/*http:/id.messenger.yahoo.com/"
target="_blank">Coba Yahoo! Messenger 9.0 baru </a>Akhirnya datang juga!<o:p></o:p></p>

</div>

</div>

<p class=MsoNormal style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><br>
_______________________________________________<br>
MS4W-Users mailing list<br>
<a href="mailto:MS4W-Users@lists.maptools.org" target="_blank">MS4W-Users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ms4w-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ms4w-users</a><o:p></o:p></p>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><br>
<br clear=all>
<br>
-- <br>
Martinez Morata David<br>
Thinking GIS<o:p></o:p></p>

</div>

</div>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><o:p>&nbsp;</o:p></p>

<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'>

<hr size=1 width="100%" align=center>

</div>

<p class=MsoNormal style='margin-left:36.0pt'><a
href="http://sg.rd.yahoo.com/id/messenger/trueswitch/mailtagline/*http:/id.messenger.yahoo.com/invite/">Selalu
bersama teman-teman di Yahoo! Messenger</a><br>
Tambahkan mereka dari email atau jaringan sosial Anda sekarang!<o:p></o:p></p>

</div>

</body>

</html>