your scale has the same values for the world map and for your utah. that's probably not what you want.<br>
-brent<br><br><div><span class="gmail_quote">On 9/17/05, <b class="gmail_sendername">Clark Endrizzi</b> <<a href="mailto:cendrizzi@gmail.com">cendrizzi@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok, I changed that and emptied the cache but it is still loading blank tiles :(<br>
<br>
Anything else I could possibly do? I'm very anxious to get this to work.<br>
<br>
Thanks for your help,<br>
Clark<div><span class="e" id="q_10666a28e1f5db19_1"><br><br><div><span class="gmail_quote">On 9/16/05, <b class="gmail_sendername">Matthew Perry</b> <<a href="mailto:perrygeo@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
perrygeo@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Clark,<br>
<br>
Try setting the layer status to DEFAULT instead of ON.<br>
<br>
matt<br><br><div><div><span><span class="gmail_quote">On 9/16/05, <b class="gmail_sendername">Clark Endrizzi</b> <<a href="mailto:cendrizzi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
cendrizzi@gmail.com</a>> wrote:</span></span></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span>
Hi,<br>
I'm so close to getting this to work that it's painful! Currently
I have two example pages working so I think everything is setup
right. THe only issue I'm having is getting our local, internal
information correctly installed to be used. We have a data sample
that we have created using ArcGIS along with a projection file that
should have the same units as the samples given. Furthermore my
extent information should be correct as well. Using this script,
things display correctly:<br>
<br>
<span style="color: rgb(255, 0, 0);"><?php</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">dl('php_mapscript.'.PHP_SHLIB_SUFFIX );</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">$oMap = ms_newMapObj( 'slc_dtn.map' );</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">$oImg = $oMap->draw();</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">$szURL = $oImg->saveWebImage();</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">echo "<img src=$szURL>";</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">?></span><br clear="all"><br>
This was given as an example in the article written by Tyler
Mitchell. Here is a link:
<a href="http://dev.naiutah.com/KaMap/MapTest.php" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.naiutah.com/KaMap/MapTest.php</a><br>
<br>
So I'm thinking things are great. However, this is the same map viewed in kamap: <a href="http://dev.naiutah.com/KaMap/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.naiutah.com/KaMap/
</a><br>
<br>
As you can see the reference map is wierd. which I just copied
the map from the output show above so I dont' know if that has t be a
certain size. But what is clear is the main part is just
displaying blank images. In the cache it's just a collection of
blank images too so I don't know what's wrong. Furthermore I've
tried to empty the cache many times.<br>
<br>
<span style="text-decoration: underline;">For reference these are the files I'm using:</span><br>
Aerial Image: <a href="http://dev.naiutah.com/KaMap/utah_data/slc_downtown2.tif" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.naiutah.com/KaMap/utah_data/slc_downtown2.tif</a><br>
World file: <a href="http://dev.naiutah.com/KaMap/utah_data/slc_downtown2.tfw" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.naiutah.com/KaMap/utah_data/slc_downtown2.tfw</a><br>
Map File:<br>
<span style="color: rgb(255, 102, 102);">MAP</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> NAME slc_downtown</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> STATUS ON</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> SIZE 400 300</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> EXTENT -111.90682770857815 40.759301022038827 -111.86711426725816 40.772602430228837</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> UNITS DD</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> IMAGECOLOR 255 255 255</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> IMAGETYPE png</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> </span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> WEB</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> IMAGEPATH "/tmp/ms_tmp/" </span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> IMAGEURL "/ms_tmp/"</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> END</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> </span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> </span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);">#</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"># Start of reference map</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);">#</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);">REFERENCE</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> IMAGE utah_data/SmallDowntown.png</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> EXTENT -111.90682770857815 40.759301022038827 -111.86711426725816 40.772602430228837</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> STATUS ON</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> COLOR -1 -1 -1</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> OUTLINECOLOR 255 0 0</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> SIZE 120 90 </span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);">END</span><br style="color: rgb(255, 102, 102);">
<br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> LEGEND</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> TRANSPARENT TRUE</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> END</span><br style="color: rgb(255, 102, 102);">
<br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> SCALEBAR</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> TRANSPARENT TRUE</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> END</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> </span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> LAYER</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> NAME aerial</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> TYPE RASTER</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> STATUS ON</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> DATA "utah_data/slc_downtown2.tif"</span><br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);"> END</span><br style="color: rgb(255, 102, 102);">
<br style="color: rgb(255, 102, 102);">
<span style="color: rgb(255, 102, 102);">END</span><br>
<br>
Not sure if this is overboard, even if I could know if it's a mapserver
issue so I can go to their IRC channel. I'm just out of answers
and have looked at a lot of stuff but have not been successful in
trouble shooting this.<br>
<br>
Thanks,<br>-- <br><span>-Clark Endrizzi<br>
</span><br></span></div>_______________________________________________<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><br><br><br></blockquote>
</div><br><br clear="all"><br>-- <br>Matt Perry<br><a href="mailto:perrygeo@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">perrygeo@gmail.com</a><br><a href="http://www.perrygeo.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.perrygeo.net</a>
</blockquote></div><br><br clear="all"><br></span></div>-- <br><span class="sg">-Clark Endrizzi<br>
</span><br>_______________________________________________<br>ka-Map-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br><br><br></blockquote>
</div><br>