Jachym, I was not aware of this MS behaviour. I modified the 2 files initgroups.php and initmap.php on the SVN (also available via http://svn.pmapper.net/trac/browser/pmapper/trunk/incphp), so it should now be like in MS default legend. Tell me if there are any problems with it.
armin Jachym Cepicky wrote: > Hi, > from > http://ms.gis.umn.edu/docs/reference/mapfile/class: > .... > NAME [string] > Name to use in legends for this class. If not set class won't show > up in legend. > .... > > I have several classes in one layer, which do not have any name: > ..... > CLASS > EXPRESSION ([KOD_SRF]>14 and [KOD_SRF] <18) > NAME 'Vekovy stupen 15 - 17+' > COLOR 0 191 0 > END > CLASS > EXPRESSION "10001" > COLOR 0 0 0 > SYMBOL "imgs/srafy//10001.gif" > END > CLASS > EXPRESSION "10002" > COLOR 0 0 0 > SYMBOL "imgs/srafy//10002.gif" > END > ..... > However, they appear in the legend. Is there some possibility, how to > turn this feature off? > > To be sure: I would like to have > http://mapserver-slp.mendelu.cz//printmap.phtml?prscale=3200&prefmap=on&PHPSESSID=171dee1710e67cab7d3b6da814e846ab&config= > > without the hatched classes (which do not have any name). > > thanks > > jachym ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ pmapper-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pmapper-users
