[Mapserver-users] premature end of script headers (php)

Dylan Keon keon at nacse.org
Mon Feb 10 17:31:17 EST 2003


 > I have about 120 classes I need defined in my .map file so that they
 > can appear as different colors (different elevations).  Well, all is
 > well if I display something like 50 of those classes.  But when I try
 > to display the 51^st , all goes to pot, and I get an internal server
 > error.  I’ve made sure that my classes are intact and syntactically
 > correct.  As long as I don’t go above the total of 50 classes, I’m
 > fine.

If you are able to recompile MapServer you can edit map.h and increase 
MS_MAXCLASSES (default is 50).  As long as you compile with a value 
greater than the max number of classes you need to use, you won't 
receive the error you described.  There were some posts about this 
recently, and about how many classes are reasonable:
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0301/threads.html#00609

--Dylan


-- 
************************************************
  Dylan Keon
  GIS/Database Research Specialist
  Northwest Alliance for Computational
  Science and Engineering (NACSE)
  Oregon State University
  Corvallis, OR 97331
  keon at nacse.org        (541) 737-6608
************************************************




More information about the mapserver-users mailing list