[Geomoose-users] mapfile troubles

Lee, Jon jlee at co.linn.or.us
Wed Oct 10 11:49:14 PDT 2012


Hi everyone,

Thanks for all your comments. They have been helpful, but it turns out the problem wasn't with the mapfile but with the mapserver template that didn't upload. I have a different problem now, however, I can load the layer in Geomoose and mapserver, but no image is generated. It shows up on the catalog, with legend and all, but nothing actually appears in the map itself. My template is as follows:


<!-- MapServer Template -->
<html>
<head><title>citylimits</title></head>
<body>
<img src="C:/ms4w/apps/geomoose2/maps/demo/citylimits/citilimits.gif" alt="add keywords here"><br> 
 </body>
</html>

Thanks again everyone for all your help.

Sincerely,
Jon Lee

________________________________________
From: Eli Adam [eadam at co.lincoln.or.us]
Sent: Tuesday, October 02, 2012 6:37 AM
To: Mark Volz
Cc: Lee, Jon; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] mapfile troubles

Jon,

On Thu, Sep 27, 2012 at 6:12 AM, Mark Volz <MarkVolz at co.lyon.mn.us> wrote:
> If the problem is with the mapfile you can turn debugging on for mapserver.
> MAP
>
>                 CONFIG "MS_ERRORFILE" "/ms4w/tmp/ms_tmp/ms_error.txt"
>
>                 DEBUG 5

Turning on and then reading the log file can certainly help.

>
>                 NAME ‘citylimits’
> From: geomoose-users-bounces at lists.osgeo.org
> [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Lee, Jon
> the mapfile for a certain layer to produce an image. I keep getting a pink
> screen of death for that layer alone. I can direct the catalog to the proper

You can usually directly access these error by using firebug or
webdeveloper plugins with firefox to determine and go to the url of
the pink tile (Tools-->Page Info-->Media can also work in firefox).  A
lot of the time when you go directly to the url, you will get some
MSERROR xyz which should give you a hint or share it here.  You can
also search the MapServer site for the error or the MapServer email
archives, http://osgeo-org.1560.n6.nabble.com/MapServer-f4226623.html

HTH, Eli


More information about the Geomoose-users mailing list