Skip to content
Browse files

Resolving #4638.

  • Loading branch information
Schpidi committed May 7, 2013
1 parent 929ed6f commit 937dcb6857501835b5489fa4bea321105412a20b
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapwms.c
@@ -2446,7 +2446,7 @@ int msDumpLayer(mapObj *map, layerObj *lp, int nVersion, const char *script_url_
if (l < lp2->numclasses)
if (lp2 && l < lp2->numclasses)
if (j < numNestedGroups[lp->index])

2 comments on commit 937dcb6


This comment has been minimized.

Copy link

@tomkralidis tomkralidis replied May 7, 2013

Thanks @Schpidi as discussed in IRC, this has issues when I name a CLASSGROUP default.

What is the default style used here when a client then requests STYLES= or STYLES=default ?


This comment has been minimized.

Copy link
Member Author

@Schpidi Schpidi replied May 8, 2013

If you want to use the name "default" add something like:

"wms_style_name" "not_default"


The default style, i.e. the one used with STYLES=, should be the last listed in the MapFile.

Please sign in to comment.
You can’t perform that action at this time.