Hello there!

I'm trying to create a ttf-based uniform fill like a checkboard using 
graphic-margin option.
Here's an example of what I try to achieve.

<http://osgeo-org.1560.x6.nabble.com/file/t385725/checkboard_style_1.png> 

My sld:

<sld:PolygonSymbolizer>
          <sld:Fill>
              <sld:GraphicFill>
                <sld:Graphic>
                  <sld:Mark>
                    <sld:WellKnownName>ttf://DejaVu
Sans#U+004B</sld:WellKnownName>
                    <sld:Fill>
                      <sld:CssParameter
name="fill">#000000</sld:CssParameter>
                    </sld:Fill>
                  </sld:Mark>
                  <sld:Size>5.0</sld:Size>
                  </sld:Graphic>
              </sld:GraphicFill>
            </sld:Fill>
            <VendorOption name="graphic-margin">30 30 0 0</VendorOption>
          </sld:PolygonSymbolizer>

Using this I get the following:

<http://osgeo-org.1560.x6.nabble.com/file/t385725/checkboard_style_2.png> 

Geoserver docs' example only helped with creating uniform fill by placing
two symbolizers near each other but when I try different ways of placing
them myself I never get a uniform fill, it looks close to this:

<http://osgeo-org.1560.x6.nabble.com/file/t385725/checkboard_style_3.png> 

Does anyone have a clue on how to control symbolizers with graphic-margin
resulting in a uniform fill?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to