You forgot to mention if the shp2img test succeeds, or fails.<br><br>Failing means the problem is in the mapfile. If not, maybe in somewhere else.<br><br>I don't know if this is a problem, but is missing the data extension at<br>
<pre> DATA "jaln/jaln8"</pre><br>Also, as far as I can remember, by using the IMAGETYPE, you should also use a OUTPUTFORMAT in your MAP object:<br><pre> IMAGETYPE png</pre><br>regards,<br><br>Pedro Simonetti.<br>
<br>PS.: Please reply to the list so others can join this conversation.<br><br><div><span class="gmail_quote">2008/4/17, seno@bakos <<a href="mailto:seno@bakosurtanal.go.id">seno@bakosurtanal.go.id</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="IN">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Dear pedro,</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Here is the mapfile script attached.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I already set path environment like as your advise before.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Please help me. </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Seno</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<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><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Pedro Simonetti Garcia
[mailto:<a href="mailto:pedrosimonetti@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pedrosimonetti@gmail.com</a>] <br>
<b>Sent:</b> 17 April 2008 13:58<br>
<b>To:</b> seno@bakos; <a href="mailto:ka-Map-users@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ka-Map-users@lists.maptools.org</a><div><span class="e" id="q_1195b31a98e0e117_1"><br>
<b>Subject:</b> Re: [ka-Map-users] (no subject)</span></div></span></p>
</div><div><span class="e" id="q_1195b31a98e0e117_3">
<p> </p>
<p style="margin-bottom: 12pt;">Seno,<br>
<br>
You have to set the path environment variable to include Apache's cgi-bin
directory.<br>
<br>
ms4w\Apache\cgi-bin<br>
<br>
Take a carefull look in your mapfile too. If you post your mapfile here in the
mailing list will help find where's the problem.<br>
<br>
regards,<br>
<br>
Pedro</p>
<div>
<p><span>2008/4/17, seno@bakos <<a href="mailto:seno@bakosurtanal.go.id" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">seno@bakosurtanal.go.id</a>>:</span></p>
<div>
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Dear Pedro,</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">When I test using shp2img error
appear</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Here is the error :</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">The application has failed to
start because libmap.dll not found</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I used Ms4w , where i can find
this .dll?</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">seno</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> Pedro Simonetti Garcia [mailto:<a href="mailto:pedrosimonetti@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pedrosimonetti@gmail.com</a>]
<br>
<b>Sent:</b> 17 April 2008 12:36<br>
<b>To:</b> seno@bakos<br>
<b>Subject:</b> Re: [ka-Map-users] (no subject)</span></p>
</div>
<div>
<p> </p>
<p>Hi,<br>
<br>
Check the mapfile to ensure that this is not a problem in your mapfile:<br>
<br>
<a href="http://ka-map.ominiverdi.org/wiki/index.php/Preparing_MapServer#Testing_the_Map_File" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://ka-map.ominiverdi.org/wiki/index.php/Preparing_MapServer#Testing_the_Map_File</a><br>
<br>
You can use the shp2img command-line tool to do this:</p>
<pre style="margin-bottom: 12pt;">shp2img -m global.map -o test.png</pre>
<p style="margin-bottom: 12pt;">It seems it is a problem in your mapfile. Or in
the config.php file.<br>
<br>
I hope this helps,<br>
<br>
Pedro Simonetti.</p>
<div>
<p>2008/4/17, seno@bakos <<a href="mailto:seno@bakosurtanal.go.id" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">seno@bakosurtanal.go.id</a>>:</p>
<div>
<div>
<p>Dear Experts,</p>
<p> </p>
<p>I have a problem while trying to generate tiles using precache.php like as
error below :</p>
<p>------------------------------------------------</p>
<p>localhost/kamap/htdocs/tile.php</p>
<p>X-Powered-By: PHP/4.4.3-dev</p>
<p>Content-type: text/html</p>
<p> </p>
<p> </p>
<p>Map: DO</p>
<p> Scale: 125000</p>
<p> Meta tiles: 2 x 1 = 2</p>
<p> Tiles: 2 x 1 x 6 x 6 = 72</p>
<p> Group: Jalan</p>
<p> Scale: 100000</p>
<p> Meta tiles: 3 x 2 = 6</p>
<p> Tiles: 3 x 2 x 6 x 6 = 216</p>
<p> Group: Jalan</p>
<p> Scale: 50000</p>
<p> Meta tiles: 5 x 2 = 10</p>
<p> Tiles: 5 x 2 x 6 x 6 = 360</p>
<p> Group: Jalan</p>
<p> Scale: 25000</p>
<p> Meta tiles: 8 x 4 = 32</p>
<p> Tiles: 8 x 4 x 6 x 6 = 1152</p>
<p> Group: Jalan</p>
<p> </p>
<p>Trouble:</p>
<p> 50 errors encountered</p>
<p> Report [a]ll, [l]ast, or [n]one? <br /></p>
<p><b>Warning</b>: fgets(): supplied argument is not a valid
stream reso</p>
<div style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 1pt; padding: 0cm 0cm 1pt;">
<p>>F:\ms4w\apps\kamap\htdocs\precache.php</b> on line
<b>173</b><br /></p>
</div>
<p> </p>
<p>Could you help me,how to solved this problem.</p>
<p>Thanks very much.</p>
<p>Seno</p>
</div>
</div>
<p style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.maptools.org/mailman/listinfo/ka-map-users</a></p>
</div>
<p> </p>
</div>
</div>
</div>
</div>
<p> </p>
</span></div></div>
</div>
<br clear="all"></blockquote></div><br>