[mapserver-users] Skipping layers that fail to load

Josh Hevenor Josh.Hevenor at dpra.com
Wed Mar 5 12:17:51 PST 2008


I'd also be interested in such a feature. What we've done in the past
with a collection of unreliable SDE layers is to create a separate map
file for the layers and use MapScript to see if it opens. If the layers
fail then we turn them off in our main map. I'd like to see the layers
just not draw, maybe with a legend icon denoting that the layer is
unavailable. 

 

Josh

 

________________________________

From: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Ian
Sent: Wednesday, March 05, 2008 2:19 PM
To: mapserver-users
Subject: [mapserver-users] Skipping layers that fail to load

 

Hello,

I went through the documentation but did not find a solution for drawing
a map even when some of its layers do not successfully complete. Our
database went down recently and all layers that make database calls
weren't completing and therefore the final map was never generated. 

I can manually turn these layers off when it happens, but is there a way
to silently skip the failed layers?

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080305/ec45fd4d/attachment.htm>


More information about the MapServer-users mailing list