hi, your page didn't load, but with those extents, i'd guess you wouldn't see anything until your scale is < 10. have you tried that?<br>-b<br><br><br><div><span class="gmail_quote">On 6/5/06, <b class="gmail_sendername">
Ryan Taylor</b> <<a href="mailto:ryant@cs.utah.edu">ryant@cs.utah.edu</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;">
I set up the gmap demo and it worked fine. I changed the config.php to<br>refer to a different map file I have that seems to be a legitimate<br>mapserver file since I can view it using mapserver's cgi interface.<br>When I look at the ka-map that i've set up though, it's just blank.
<br>Here's a link: <a href="http://consult4.cs.utah.edu/kamap/">http://consult4.cs.utah.edu/kamap/</a><br>and here's the cgi mapserver:<br><a href="http://consult4.cs.utah.edu/cgi-bin/mapserv?map=/proj/maps/test.map&layer=pg_test&mode=map">
http://consult4.cs.utah.edu/cgi-bin/mapserv?map=/proj/maps/test.map&layer=pg_test&mode=map</a><br><br><br>the part of config.php that i changed is:<br><br>$aszMapFiles = array(<br> "test" => array( "Test", "/proj/maps/test.map",
<br> array( 15000000, 7500000, 3000000, 1000000, 100000,<br>10000, 1000, 100, 10, 1 ),<br> "PNG")<br>);<br>$szMap = 'test';<br><br>the mapfile is as follows:<br>#<br># Start of map file
<br>#<br># $Id: gmap75.map,v 1.23 2003/02/25 19:46:42 daniel Exp $<br>#<br>NAME DEMO<br>STATUS ON<br>SIZE 400 300<br>EXTENT -112.227360 40.426763 -111.554918 40.874260<br><br>UNITS METERS<br>IMAGECOLOR 255 255 255
<br><br>#<br># Start of web interface definition<br>#<br>WEB<br> MINSCALE .1<br> MAXSCALE 50000000<br>#<br># On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root<br># of the drive where the .MAP file resides.
<br>#<br> IMAGEPATH "/tmp/ms_tmp/"<br> IMAGEURL "/ms_tmp/"<br> LOG "/tmp/gmap.log"<br>END<br><br><br>#<br># Start of layer definitions<br>#<br> LAYER<br> NAME pg_test<br> STATUS ON
<br> TYPE LINE<br> CONNECTIONTYPE POSTGIS<br> CONNECTION "host=<a href="http://consult4.cs.utah.edu">consult4.cs.utah.edu</a> dbname=db user=user<br>password=*DELETED*"<br> DATA "the_geom FROM tgr_slc_roads"
<br> CLASS<br> NAME "Salt Lake City Roads"<br><br> STYLE<br> COLOR 232 232 232<br> OUTLINECOLOR 32 32 32<br> END<br> END<br> END<br><br>END # Map File
<br><br><br>_______________________________________________<br>ka-Map-users mailing list<br><a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">
http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br></blockquote></div><br>