<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 <pvoudouris@gaiocorp.com><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: "Tahoma","sans-serif"; color: rgb(31, 73, 125);">Hi,</span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; color: rgb(31, 73, 125);">A couple of thoughts:-</span></p>
<p class="MsoListParagraph" style=""><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; color: rgb(31, 73, 125);"><span style="">1.<span style="font-family: "Times New Roman"; 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;">
</span></span></span><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; 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: "Tahoma","sans-serif"; color: rgb(31, 73, 125);"><span style="">2.<span style="font-family: "Times New Roman"; 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;">
</span></span></span><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; color: rgb(31, 73, 125);">What happens if you run the following directly from your
browser: <a rel="nofollow" target="_blank" href="http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&layers=all&mode=map">http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&layers=all&mode=map</a></span></p>
<p class="MsoNormal" style="margin-left: 18pt;"><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; 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&layers=county&mode=map">http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&layers=county&mode=map</a></span></p>
<p class="MsoNormal" style="margin-left: 18pt;"><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; 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&mode=map">http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/home/mapdata/b.map&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: "Tahoma","sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoListParagraph"><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoListParagraph" style="margin-left: 0cm;"><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; color: rgb(31, 73, 125);">Pano</span></p>
<p class="MsoNormal"><span style="font-size: 9pt; font-family: "Tahoma","sans-serif"; color: rgb(31, 73, 125);"> </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: "Tahoma","sans-serif";">From:</span></b><span style="font-size: 10pt; 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</span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left: 36pt;"> </p>
<div>
<div>
<p class="MsoNormal" style="margin-right: 0cm; margin-bottom: 24pt; margin-left: 36pt;"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">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: "Tahoma","sans-serif";">
<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: "Tahoma","sans-serif";">Dari:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> David Martinez
Morata <damarmo@gmail.com>vdsvfefe<br>
<b>Kepada:</b> Rangga Negara <rkn2003@yahoo.co.id><br>
<b>Cc:</b> Jeff McKenna <jmckenna@gatewaygeomatics.com>;
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 255 255 255" line<br>
<br>
</p>
<div>
<p class="MsoNormal" style="margin-left: 36pt;">2009/9/2 Rangga Negara <<a rel="nofollow" ymailto="mailto:rkn2003@yahoo.co.id" target="_blank" href="mailto:rkn2003@yahoo.co.id">rkn2003@yahoo.co.id</a>></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;"> </span></p>
<div>
<div class="MsoNormal" style="margin-left: 36pt; text-align: center;" align="center"><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">
<hr align="center" size="1" width="100%">
</span></div>
<p class="MsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">Dari:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> Jeff McKenna <<a rel="nofollow" ymailto="mailto:jmckenna@gatewaygeomatics.com" target="_blank" href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>><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: "Arial","sans-serif";"><br>
Rangga Negara wrote:<br>
> hi, i just not understand why the map cannot render<br>
> this is my mapfile<br>
> <br>
> name "b"<br>
> SIZE 600 500<br>
> UNITS DD<br>
> IMAGETYPE JPEG<br>
> IMAGECOLOR 255 255 255<br>
> SHAPEPATH "C:/ms4w/home/mapdata/"<br>
> EXTENT -77.119900 38.791513 -76.909396 38.995109<br>
> STATUS ON<br>
> <br>
> #<br>
> # Start of web interface definition<br>
> #<br>
> <br>
> WEB<br>
> TEMPLATE '/ms4w/apache/htdocs/b.html'<br>
> IMAGEPATH '/ms4w/tmp/ms_tmp/'<br>
> IMAGEURL '/ms_tmp/'<br>
> END # WEB Section<br>
> <br>
> #<br>
> # Start of Layer definition<br>
> #<br>
> LAYER<br>
> NAME county<br>
> TYPE polygon<br>
> STATUS ON<br>
> CONNECTIONTYPE OGR<br>
> CONNECTION "c:/ms4w/home/mapdata/county.TAB"<br>
> CLASS<br>
> NAME "county"<br>
> STYLE<br>
> COLOR 254 222 212<br>
> OUTLINECOLOR 0 0 0<br>
> END<br>
> END # Class section<br>
> END # LAYER Section<br>
> <br>
> END # MapFile<br>
> <br>
> <br>
> ------and this is my html--------------------------------------------<br>
> <html><br>
> <head> <title>MapServer First Map</title></head><br>
> <body><br>
> <form method=POST
action="/cgi-bin/mapserv.exe?"><br>
> <input type="submit" value="Click
Me"><br>
> <input type="hidden" name="map"
<br>
>
value="C:/ms4w/home/mapdata/b.map&layers=all&mode=map"><br>
> <input type="hidden"
name="map_web"<br>
> value="imagepath
/ms4w/tmp/ms_tmp/"><br>
> </form><br>
> <IMG SRC="[img]" width=600 height=500
border=0><br>
> </body><br>
> </html><br>
> -------------------------------------------------------------------------<br>
> <br>
> 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;"> </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;"> </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>