have u tried using the shp2img utility, to see if your mapfile is ok?
I'd first make sure your mapfile is fine, then worry about your application.
jeff
M.L. Jackson wrote:
The thing is.......the errors occur at random. If the errors weren't
related to some central problem, then the same error should keep
occuring until I fix it before any other errors are displayed. Instead
each time the server is restarted and the application is run a new error
supposedly in the map file is displayed.
From: Jeff McKenna <[EMAIL PROTECTED]>
Reply-To: Jeff McKenna <[EMAIL PROTECTED]>
To: [email protected]
Subject: Re: [UMN_MAPSERVER-USERS] Map File Problem?
Date: Fri, 28 Jul 2006 10:55:45 -0400
I'm not sure about your random problem...but you might want to check
the errors section of the mapserver documentation page, and battle
those errors one by one: http://mapserver.gis.umn.edu/docs/error
jeff
M.L. Jackson wrote:
Hi. I am running mapserver 4.6.0-beta1 with Java Mapscript on
Tomcat. While working on my project, I have encountered a weird
series of errors. Everytime I restart the server and try to run my
application, I get an error indicating what appears to be any random
line in the map file. Most of the time the errors generated make
absolutely no sense. Among the errors generated are "projection not
named" and "major axis or radius = 0 or not given". The other errors
are generally any line number with a piece of the map file
indicated. Thanks for your replies.
--
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca