[mapserver-users] refactoring STYLEs ?
Clément MONIER
Clement.MONIER at v-trafic.com
Fri Aug 20 04:48:53 PDT 2010
Hi,
Is it possible to add a style definition (inside a mapfile or elsewhere ) so that it wouldn't be necessary to repeat it for each layer ?
For instance :
2 layers with the same display style
LAYER
NAME layer1
CLASS
STYLE
COLOR 0 0 0
WIDTH 1
END
END
END
LAYER
NAME layer2
CLASS
STYLE
COLOR 0 0 0
WIDTH 1
END
END
END
==>
STYLE 'style1'
STYLE
COLOR 0 0 0
WIDTH 1
END
END
LAYER
NAME layer1
CLASS
STYLE
'Style 1'
END
END
END
LAYER
NAME layer2
CLASS
STYLE
'Style 1'
END
END
END
Thanks & Regards
Clement
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100820/755150e1/attachment.htm>
More information about the MapServer-users
mailing list