On 27/05/2009 14:33, Micha Silver wrote: > I've gotten off to a good start with pmapper 4.0 running on a CentOS 5.3 > (64 bit) server, with mapserver 5.4.0. > > I see in the TOC that my categories appear, with the groups/layers in > the list as I set up in the config-default.xml file. However I notice > that the names that appear under each category are NOT the group names, > but rather the name of the first layer in that group. > > For example, I have in my mapserver map file some stream layers: > 'n_streams' and 's_streams' both with the > > GROUP 'streams' > > directive in the mapfile. I added that group to the xml file, and it > indeed appears, but named 'n_streams' rather than 'streams'. > > Any way to fix this? Have I missed something in my configuration? > > Thanks, >
Micha I updated the initgroups.php file to take the group name and not the name of the 1st layer. You can get it from svn/trac via http://svn.pmapper.net/trac/browser/pmapper/trunk/pmapper/incphp/initgroups.php?format=txt Nevertheless, I would recommend to use the "DESCRIPTION" "My Layer/Group Name in TOC" entry under LAYER - METADATA in the map file. Layer and group names in p.mapper cannot have blanks, so if you need that you have to define the description tag anyway. armin ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users