[mapserver-users] Check layer status in Geomoose

Dan Little danlittle at yahoo.com
Tue May 12 12:59:03 EDT 2009


You need to have an input type that sends the visiblelayers input to your script.

Are you using GeoMOOSE 1.6.X or GeoMOOSE 2.0 beta?


----- Original Message ----
> From: leonidas <leonidas_liakos at yahoo.gr>
> To: mapserver-users at lists.osgeo.org
> Sent: Monday, May 11, 2009 8:00:03 AM
> Subject: [mapserver-users] Check layer status in Geomoose
> 
> 
> I'm writing a custom tool in geomoose based on php/mapscript. 
> I'm trying to get the layer status for each on of my layers using
> $qlayer->status property.
> Always and for each layer it returns the value 2. But there aren't all the
> layers checked in the treeview of geomoose (and according displayed in the
> map). I think that  $qlayer->status property always return 2 because it
> checks the status in the mapfile (for my layers the status is DEFAULT) and
> not what is displayed in the map. So how can I get only the layers that are
> displayed in the map (or are checked in the treeview of Geomoose)? I also
> checked the $qlayer->isVisible() property but it also works with the same
> logic (it returns 1 for all layers, displayed or not).Thank you.
> -- 
> View this message in context: 
> http://n2.nabble.com/Check-layer-status-in-Geomoose-tp2862814p2862814.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



      


More information about the mapserver-users mailing list