Creating Styled Layer Descriptor files (SLDs) for hale»connect
There’s a lot of data published on hale»connect, and it’s important to us that it looks good to you. For this purpose, we’d like you to have the opportunity to publish Styled Layer Descriptors (SLDs.)
The OGC standard Styled Layer Descriptor (SLD) defines an XML format to encode cartographic rules by which to display features. It reuses the OGC standards Symbology Encoding (SE) and Filter Encoding (FE). The SLD standard extends the OGC Web Map Service (WMS). A basic WMS supports named layers and styles which do not enable end-users to define custom symbology. The SLD standard extends the WMS standard to allow users to provide styling rules in a Styled Layer Descriptor file.
The hale»connect platform enables users to provide their own layer styles, or to leverage our own, extensive library of INSPIRE Styled Layer Descriptors, and growing library of XPlanung SLDs. When you publish data on hale»connect, the data is matched against the hale»connect SLD library. SLDs are then applied if available. A default style layer is applied to all datasets for which a matching style layer does not exist. Alternatively, you can upload your own, valid SLDs. Here’s an example of a fully valid SLD file that is ready to be published:
SLD for shapefile
MyShapefileLayer
MyStyle
MyStyle
Default Polygon Style
ns:myShapefile
Shapefile Polygons
#78C46E
0.5
#38A800
1.5
40000
ns:name/text()
Arial
14
normal
bold
3
#ffffff
#38A800
Want to learn more about publishing SLDs? We just created an SLD tutorial for users interested in creating their own SLDs for shapefile or GML. You can check it out here.
If you are interested in having us create a custom style for you, please contact support.