MapServer Beginner Stuck

drk mattr drkmattr at HOTMAIL.COM
Thu Nov 8 12:59:29 PST 2007


Bingo, that did it.  Thanks!


Date: Thu, 8 Nov 2007 14:56:39 -0600From: David.Fawcett at STATE.MN.USSubject: Re: [UMN_MAPSERVER-USERS] MapServer Beginner StuckTo: MAPSERVER-USERS at LISTS.UMN.EDU



David, 
 
Either change your layer to say STATUS DEFAULT or add the layer to your URL.  e.g. 
 
http://localhost:8080/cgi-bin/mapserv.exe?MAP=/ms4w/apache/htdocs/test/test.map&mode=map&layer=Installation  
 
The status thing catches a lot of people.
 
David.


-----Original Message-----From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of drk mattrSent: Thursday, November 08, 2007 2:39 PMTo: MAPSERVER-USERS at LISTS.UMN.EDUSubject: [UMN_MAPSERVER-USERS] MapServer Beginner StuckI've been following MapServer from afar on James Fee's blog and I've finally decided to take the plunge.  I'm a long time ArcIMS developer so these concepts in MapServer aren't that far off from what I'm used to doing, but I have to admit I'm at a loss at getting my first WMS service up and running. I installed MS4W and have that running.  The Demo runs perfectly, but when I try and create my own .map file, I seem to have hit a wall.  This is the contents of my mapfile. MAP    NAME Installation    SIZE 800 500    IMAGECOLOR 240 240 240    EXTENT 582919.88200 4182989.235900 610195.822000 4207241.321900    UNITS METERS    PROJECTION      "init=EPSG:32616"    END    WEB        IMAGEPATH "/ms4w/tmp/ms_tmp/"        IMAGEURL "/ms_tmp/"    END  LAYER  NAME "Installation"  TYPE POLYGON  STATUS ON  DATA "Installation_Area.shp"    CLASS   NAME 'Installation'   OUTLINECOLOR 60 60 60   COLOR 255 255 0   SYMBOL 0  END END ENDNow when I test it, I get a blank grey background. http://localhost:8080/cgi-bin/mapserv.exe?MAP=/ms4w/apache/htdocs/test/test.map&mode=map I'm sure there is something here I'm overlooking, but I just can't seem to debug it.  Any direction would be wonderful. Thanks, David

Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare! Try now! 
_________________________________________________________________
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.com/standard/en-us/purchase/trial.aspx?s_cid=wl_hotmailnews
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071108/a50065f6/attachment.htm>


More information about the MapServer-users mailing list