Thanks

It does exactly want I need

sld validater doesn’t like the vendor option though but it works when submitted

Mark Ismail

Principal Application Support Officer
Tel: 0151 443 3021 | Email: 
mark.ism...@knowsley.gov.uk<mailto:andy.gar...@knowsley.gov.uk>

Computer Centre | Westmorland Road | Huyton | Merseyside | L36 9GL

Use the IT Service Desk Self Serve<http://kmbcselfservice/> Application

From: Kirk, Victor [mailto:victor.k...@cubic.com]
Sent: 13 October 2015 14:08
To: Ismail, Mark; GeoServer Mailing List List
Subject: RE: Sld styling with dots

Is this similar to what you are after?:

<?xml version="1.0" encoding="UTF-8"?>
<StyledLayerDescriptor version="1.0.0" 
xsi:schemaLocation="http://www.opengis.net/sld 
StyledLayerDescriptor.xsd<http://www.opengis.net/sld%20StyledLayerDescriptor.xsd>"
 xmlns="http://www.opengis.net/sld"; xmlns:ogc="http://www.opengis.net/ogc"; 
xmlns:xlink="http://www.w3.org/1999/xlink"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <NamedLayer>
    <Name>Dots</Name>
    <UserStyle>
      <FeatureTypeStyle>
        <Rule>
          <PolygonSymbolizer>
            <Fill>
            <GraphicFill>
              <Graphic>
                <Mark>
                  <WellKnownName>circle</WellKnownName>
                  <Fill>
                    <CssParameter name="fill">#0000AA</CssParameter>
                  </Fill>
                  <Stroke>
                    <CssParameter name="stroke">#000000</CssParameter>
                    <CssParameter name="stroke-width">1</CssParameter>
                  </Stroke>
                </Mark>
                <Size>16</Size>
              </Graphic>
            </GraphicFill>
            </Fill>
            <VendorOption name="graphic-margin">2</VendorOption>
          </PolygonSymbolizer>
        </Rule>
      </FeatureTypeStyle>
    </UserStyle>
  </NamedLayer>
</StyledLayerDescriptor>

You may find it easier to create an external graphic though and just use that 
as the fill

From: Ismail, Mark [mailto:mark.ism...@knowsley.gov.uk]
Sent: 13 October 2015 13:28
To: GeoServer Mailing List List
Subject: [Geoserver-users] Sld styling with dots

Hi

I am trying to do some simple sld styling but can’t get it to do exactly what I 
want

I want a polygon with a white background and small blue dots

Can’t find anything similar in the sld cookbook

Anyone  have any tips on how to achieve this ?

Mark

This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to