[Mapserver-users] Legend problems .. mapserver 3
Matthew Perry
mtperry78 at sbcglobal.net
Mon Mar 15 17:11:38 PST 2004
--0-697078195-1079399498=:83379
Content-Type: text/plain; charset=us-ascii
Hello everyone,
I'm having difficulties with legends using and old CGI Mapserver 3.? on a Sun Sparc...
When using "mode=legend" to get a GIF image, it works 90% of the time. But certain combinations of layers at certain scales generate an apache error. For example the following combination of layers works fine:
http://ktrin.cnrs.humboldt.edu/cgi-bin/mapserv?map=/data74/project/ktrin/mapfiles/mapplet.map&mode=legend&mapext=400281.2973359306+4434140.206606386+587593.8214655637+4587333.873881806&mapsize=550+450&layer=hydrology&layer=watersheds&layer=photo_monitor&layer=trintowns&layer=caquads&layer=trans&layer=shdrlf
But these layers at the same scale fails (turned off 2 layers: caquads and photo_monitor):
http://ktrin.cnrs.humboldt.edu/cgi-bin/mapserv?map=/data74/project/ktrin/mapfiles/mapplet.map&mode=legend&mapext=400281.2973359306+4434140.206606386+587593.8214655637+4587333.873881806&mapsize=550+450&layer=hydrology&layer=watersheds&layer=trintowns&layer=trans&layer=shdrlf
It seems to be the combination of layers and I can see no obvious pattern. It is not the fault of any single layer; they have all worked at some point. The Apache log indicates a "premature end of script headers" error for the bad legend requests. The mapserver error log shows nothing special.. all entires show "normal execution".
I don't have the ability to compile on this server but we are currently in the process of setting up the latest mapserver 4. It should be ready this summer. In the mean time, is there anything I can do to fix this legend problem?? Has any one else had problems with this??
Thanks in advance,
Matt Perry
Humboldt State University
--0-697078195-1079399498=:83379
Content-Type: text/html; charset=us-ascii
<DIV><FONT size=2>
<P>Hello everyone,</P>
<P>I'm having difficulties with legends using and old CGI Mapserver 3.? on a Sun Sparc...</P>
<P>When using "mode=legend" to get a GIF image, it works 90% of the time. But certain combinations of layers at certain scales generate an apache error. For example the following combination of layers works fine:</P>
<P>http://ktrin.cnrs.humboldt.edu/cgi-bin/mapserv?map=/data74/project/ktrin/mapfiles/mapplet.map&mode=legend&mapext=400281.2973359306+4434140.206606386+587593.8214655637+4587333.873881806&mapsize=550+450&layer=hydrology&layer=watersheds&layer=photo_monitor&layer=trintowns&layer=caquads&layer=trans&layer=shdrlf</P>
<P>But these layers at the same scale fails (turned off 2 layers: caquads and photo_monitor):</P>
<P>http://ktrin.cnrs.humboldt.edu/cgi-bin/mapserv?map=/data74/project/ktrin/mapfiles/mapplet.map&mode=legend&mapext=400281.2973359306+4434140.206606386+587593.8214655637+4587333.873881806&mapsize=550+450&layer=hydrology&layer=watersheds&layer=trintowns&layer=trans&layer=shdrlf</P>
<P>It seems to be the combination of layers and I can see no obvious pattern. It is not the fault of any single layer; they have all worked at some point. The Apache log indicates a "premature end of script headers" error for the bad legend requests. The mapserver error log shows nothing special.. all entires show "normal execution". </P>
<P>I don't have the ability to compile on this server but we are currently in the process of setting up the latest mapserver 4. It should be ready this summer. In the mean time, is there anything I can do to fix this legend problem?? Has any one else had problems with this??</P>
<P>Thanks in advance,</P>
<P>Matt Perry</P>
<P>Humboldt State University</P></FONT></DIV>
--0-697078195-1079399498=:83379--
More information about the MapServer-users
mailing list