[ka-Map-users] blank map, lat/long/extent/scale problems?

Brent Pedersen bpederse at gmail.com
Mon Jun 5 13:04:27 EDT 2006


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?
-b


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


More information about the ka-Map-users mailing list