<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:8pt"><div>HI, thaks for mr. Pano , it work. and can you explain why this happen ?<br>and for all i very appreciate for your attention and helping me. thank all<br><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 8pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">Dari:</span></b> Pano Voudouris &lt;pvoudouris@gaiocorp.com&gt;<br><b><span style="font-weight: bold;">Kepada:</span></b> ms4w-users@lists.maptools.org<br><b><span style="font-weight: bold;">Terkirim:</span></b> Kamis, 3 September, 2009 14:34:00<br><b><span style="font-weight: bold;">Judul:</span></b> Re: [MS4W-Users] Bls:  Bls: Trs: cannot render image<br></font><br>


 
 

<style>
<!--
 
 _filtered {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
 
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
        {color:blue;text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {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
        {font-family:"Tahoma", "sans-serif";color:#1F497D;}
.MsoChpDefault
        {font-size:10.0pt;}
 _filtered {margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {}
 
 _filtered {}
 _filtered {}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>



<div class="Section1">

<p class="MsoNormal"><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Hi,</span></p> 

<p class="MsoNormal"><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">A couple of thoughts:-</span></p> 

<p class="MsoListParagraph" style=""><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"><span style="">1.<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Try changing the layer status from ON to DEFAULT (STATUS DEFAULT).
Does it make a diffrerence?</span></p> 

<p class="MsoListParagraph" style=""><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"><span style="">2.<span style="font-family: &quot;Times New Roman&quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">What happens if you run the following directly from your
browser:&nbsp; <a rel="nofollow" target="_blank" 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></span></p> 

<p class="MsoNormal" style="margin-left: 18pt;"><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Or <a rel="nofollow" target="_blank" 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></span></p> 

<p class="MsoNormal" style="margin-left: 18pt;"><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Or <a rel="nofollow" target="_blank" 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)</span></p> 

<p class="MsoListParagraph"><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<p class="MsoListParagraph"><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<p class="MsoListParagraph" style="margin-left: 0cm;"><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Pano</span></p> 

<p class="MsoNormal"><span style="font-size: 9pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"> &nbsp;</span></p> 

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p class="MsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">From:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;"> 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</span></p> 

</div>

</div>

<p class="MsoNormal" style="margin-left: 36pt;"> &nbsp;</p> 

<div>

<div>

<p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 24pt; margin-left: 36pt;"><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">oh
sorry about text, but still nothing change<br>
<br>
<br>
<br>
<br>
</span><span style="font-size: 24pt;"></span></p> 

<div>

<div class="MsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">

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

</span></div>

<p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Dari:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;"> 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: 24pt;">TRY to write with a smaller text Please!</span><br>
<br>
And try to comment (add "#" character) at the start of the
"IMAGECOLOR&nbsp; 255 255 255" line<br>
<br>
</p> 

<div>

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

<div>

<div>

<div>

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

</div>

<div>

<p class="MsoNormal" style="margin-left: 36pt;"><span style="font-size: 24pt;"> &nbsp;</span></p> 

<div>

<div class="MsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">

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

</span></div>

<p class="MsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;">Dari:</span></b><span style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;;"> Jeff McKenna &lt;<a rel="nofollow" ymailto="mailto:jmckenna@gatewaygeomatics.com" target="_blank" href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>&gt;<br>
<b>Kepada:</b> <a rel="nofollow" ymailto="mailto:ms4w-users@lists.maptools.org" target="_blank" href="mailto:ms4w-users@lists.maptools.org">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: 10pt; font-family: &quot;Arial&quot;,&quot;sans-serif&quot;;"><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 "b"<br>
&gt; SIZE 600 500<br>
&gt; UNITS DD<br>
&gt; IMAGETYPE JPEG<br>
&gt; IMAGECOLOR&nbsp; 255 255 255<br>
&gt; SHAPEPATH "C:/ms4w/home/mapdata/"<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 "c:/ms4w/home/mapdata/county.TAB"<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CLASS<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NAME "county"<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="/cgi-bin/mapserv.exe?"&gt;<br>
&gt;&nbsp; &nbsp; &nbsp; &lt;input type="submit" value="Click
Me"&gt;<br>
&gt;&nbsp; &nbsp; &nbsp; &lt;input type="hidden" name="map"
<br>
&gt;
value="C:/ms4w/home/mapdata/b.map&amp;layers=all&amp;mode=map"&gt;<br>
&gt;&nbsp; &nbsp; &nbsp; &lt;input type="hidden"
name="map_web"<br>
&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; value="imagepath
/ms4w/tmp/ms_tmp/"&gt;<br>
&gt;&nbsp; &nbsp; &lt;/form&gt;<br>
&gt;&nbsp; &nbsp; &lt;IMG SRC="[img]" 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 rel="nofollow" target="_blank" href="http://www.mapserver.org/utilities/shp2img.html">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 rel="nofollow" target="_blank" href="http://www.gatewaygeomatics.com/">http://www.gatewaygeomatics.com/</a><br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
MS4W-Users mailing list<br>
<a rel="nofollow" ymailto="mailto:MS4W-Users@lists.maptools.org" target="_blank" href="mailto:MS4W-Users@lists.maptools.org">MS4W-Users@lists.maptools.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.maptools.org/mailman/listinfo/ms4w-users">http://lists.maptools.org/mailman/listinfo/ms4w-users</a></span></p> 

</div>

</div>

</div>

<div>

<p class="MsoNormal" style="margin-left: 36pt;"> &nbsp;</p> 

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

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

</div>

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

</div>

</div>

<p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 12pt; margin-left: 36pt;"><br>
_______________________________________________<br>
MS4W-Users mailing list<br>
<a rel="nofollow" ymailto="mailto:MS4W-Users@lists.maptools.org" target="_blank" href="mailto:MS4W-Users@lists.maptools.org">MS4W-Users@lists.maptools.org</a><br>
<a rel="nofollow" target="_blank" href="http://lists.maptools.org/mailman/listinfo/ms4w-users">http://lists.maptools.org/mailman/listinfo/ms4w-users</a></p> 

</div>

<p class="MsoNormal" style="margin-left: 36pt;"><br>
<br clear="all">
<br>
-- <br>
Martinez Morata David<br>
Thinking GIS</p> 

</div>

</div>

</div>

<p class="MsoNormal" style="margin-left: 36pt;"> &nbsp;</p> 

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

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

</div>

<p class="MsoNormal" style="margin-left: 36pt;"><a rel="nofollow" target="_blank" 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!</p> 

</div>

</div></div></div><br>
      <hr size=1> <a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFndmQxc2JlBHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDM0NjkEdG1fbmV0A1lhaG9vIQ--/SIG=11kadq57p/**http%3A//downloads.yahoo.com/id/internetexplorer/"> Berselancar lebih cepat. </a><BR> Internet Explorer 8 yang dioptimalkan untuk Yahoo! otomatis membuka 2 halaman favorit Anda setiap kali Anda membuka browser.<a href="http://us.lrd.yahoo.com/_ylc=X3oDMTFndmQxc2JlBHRtX2RtZWNoA1RleHQgTGluawR0bV9sbmsDVTExMDM0NjkEdG1fbmV0A1lhaG9vIQ--/SIG=11kadq57p/**http%3A//downloads.yahoo.com/id/internetexplorer/">Dapatkan IE8 di sini! (Gratis)</a></body></html>