Using a LineSymbolizer on a polygon can lead to unexpected results, try
just adding the stroke to the polygon symbolizer and deleting the second
rule.

Ian

On 20 October 2017 at 08:28, alexandr bobrov (JIRA) <
[email protected]> wrote:

> alexandr bobrov
> <https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?name=alexandr.bobrov>
> *created* an issue
>
> GeoServer <https://osgeo-org.atlassian.net/browse/GEOS> / [image: Bug]
> <https://osgeo-org.atlassian.net/browse/GEOS-8357> GEOS-8357
> <https://osgeo-org.atlassian.net/browse/GEOS-8357>
> Incorrect render of buffer zones
> <https://osgeo-org.atlassian.net/browse/GEOS-8357>
> Issue Type: [image: Bug] Bug
> Affects Versions: 2.11.2
> Assignee: Unassigned
> Attachments: crones.sld, wrong_crones.png
> Components: WMS
> Created: 20/Oct/17 9:28 AM
> Environment:
>
> postgresql 9.5, windows server 2012 r2 standart
> Priority: [image: Medium] Medium
> Reporter: alexandr bobrov
> <https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?name=alexandr.bobrov>
>
> Hello.
>
> There is a base with trees. Trees may be single or multitrunk. Geometry of
> trees stored as point or multipoint. Also trees has crone diameter and sort
> id.
>
> I want displayed map of crones. I create layer with such sql view
>
> select
>   id,
>   sort,
>   ST_Buffer(geom::public.geography ,diametr_cron/2)::public.geometry as 
> geomFROM trees
>
> sld like this (full sld in attachment):
>
> <?xml version="1.0" encoding="WINDOWS-1251"?><sld:StyledLayerDescriptor 
> xmlns="http://www.opengis.net/sld"; xmlns:sld="http://www.opengis.net/sld"; 
> xmlns:ogc="http://www.opengis.net/ogc"; xmlns:gml="http://www.opengis.net/gml"; 
> version="1.0.0">
>   <sld:UserLayer>
>     <sld:UserStyle><sld:Name>crones</sld:Name><sld:Title/>
>       <sld:FeatureTypeStyle>
>         <sld:Rule>
>           <sld:Name>crone fill</sld:Name>
>           <sld:PolygonSymbolizer>
>             <sld:Fill>
>               <sld:CssParameter name="fill">#7a9083</sld:CssParameter>
>               <sld:CssParameter name="fill-opacity">0.8</sld:CssParameter>
>             </sld:Fill>
>           </sld:PolygonSymbolizer>
>         </sld:Rule>
>         <sld:Rule>
>           <sld:Name>crone border</sld:Name>
>           <sld:LineSymbolizer>
>             <sld:Stroke>
>               <sld:CssParameter name="stroke">#000000</sld:CssParameter>
>               <sld:CssParameter name="stroke-width">0.5</sld:CssParameter>
>             </sld:Stroke>
>           </sld:LineSymbolizer>
>         </sld:Rule>
>       </sld:FeatureTypeStyle>
>     </sld:UserStyle>
>   </sld:UserLayer></sld:StyledLayerDescriptor>
>
> Attached picture demonstrate sample of wrong rendering.
> [image: Add Comment]
> <https://osgeo-org.atlassian.net/browse/GEOS-8357#add-comment> Add Comment
> <https://osgeo-org.atlassian.net/browse/GEOS-8357#add-comment>
>
> Get Jira notifications on your phone! Download the Jira Cloud app for
> Android
> <https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail>
> or iOS
> <https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8>
> ------------------------------
> This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100066-sha
> 1:d6072bf)
> [image: Atlassian logo]
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>


-- 
Ian Turton
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to