WMS and SLDs

1750
1
03-29-2011 06:58 AM
JanieCarey
New Contributor II
I created a project (.mxd) with 25 elevation layers and then created a WMS service out of it via ArcCatalog.  I attached my SLD that has 25 named layers with 6 user styles each.  The user styles are the same for each named layer so I am essentially repeating this section of xml code 25 times.  Is there anyway to create one "default" named layer for all of my layers on my project file?  Currently, I just name them from 1 through 25 in the <sld:Name> element tag.

Thanks
Janie
0 Kudos
1 Reply
YingqiTang
New Contributor
Hi Janie,

Currently no, so you probably have to repeat the xml code as many times as the number of your layers. But it's a good idea to import such default named layer mechanism, we will keep this in mind.

Thanks.
0 Kudos