[mapserver-users] Get MAP file CLASSes with no data - empty

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Mon Dec 19 13:59:22 EST 2011


Do you mean classes with no representation in some map draw? There's no easy way. You'd
either 1) have to hack the source and extend the classObj to track precence/absence or
2) do your drawing at the shape level and assign (and presumably track) class membership
in MapScript.

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Michal Seidl
Sent: Saturday, December 17, 2011 3:35 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Get MAP file CLASSes with no data - empty

I would like to get in PHP/Python environment the list of CLASSes which do
not target any data. The situation is like this.

1) I am interested only in vector data
2) I have mapfile and running mapserver
3) There is LAYER with many CLASSes which are defined by EXPRESSION in
mapfile

Any suggestion how get classes with no data?

Thanks Michal

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Get-MAP-file-CLASSes-with-no-data-empty-tp7104765p7104765.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