Hi list,
 
I've come acrosswith something which I an not sure is a bug or not:
In a nut shell itrelates to the size of a Mark in metre units and how this 
seems to differbetween projections. 

For example: when the srs is EPSG 27700, the Marks are correctlysized, whereas 
with EPSG 3587 they are smaller. This is evident by how far theyreach towards 
neighbouring point features.


Please find below the sld that I am using to style a pointbased feature.

Any advice is much appreciated.
Kind regards,
Corina

<?xml 
version="1.0"encoding="UTF-8"?><sld:StyledLayerDescriptorxmlns="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:NamedLayer>

 <sld:Name>Default Styler</sld:Name>

 <sld:UserStyle>

    <sld:Name>DefaultStyler</sld:Name>

   <sld:FeatureTypeStyle>

      <sld:Name>ErrorCircle</sld:Name>

      <sld:Rule>

       <sld:PointSymbolizeruom="http://www.opengeospatial.org/se/units/metre";>

         <sld:Graphic>

           <sld:Mark>

             <sld:WellKnownName>circle</sld:WellKnownName>

             <sld:Fill>

               <sld:CssParameter name="fill">

                 <ogc:Literal>#FF0000</ogc:Literal>

               </sld:CssParameter>

               <sld:CssParametername="fill-opacity">0.5</sld:CssParameter>

             </sld:Fill>

           </sld:Mark>

           <sld:Size>

             <ogc:Mul>

               <ogc:PropertyName>error</ogc:PropertyName>

               <ogc:Literal>2</ogc:Literal>

             </ogc:Mul>

           </sld:Size>

         </sld:Graphic>

       </sld:PointSymbolizer>

     </sld:Rule>

      <sld:Rule>

        <sld:Name>Point</sld:Name>

       <sld:PointSymbolizer>

         <sld:Graphic>

           <Mark>

             <WellKnownName>circle</WellKnownName>

             <Fill>

               <CssParameter name="fill">

                 <ogc:Literal>#7F7F7F</ogc:Literal>

               </CssParameter>

             </Fill>

             <Stroke>

               <CssParameter name="stroke">

                 <ogc:Literal>#D9D9D9</ogc:Literal>

                </CssParameter>

               <CssParameter name="stroke-width">1</CssParameter>

             </Stroke>

           </Mark>

           <sld:Size>16</sld:Size>

         </sld:Graphic>

       </sld:PointSymbolizer>

     </sld:Rule>

   </sld:FeatureTypeStyle>

 </sld:UserStyle>

</sld:NamedLayer>
</sld:StyledLayerDescriptor>




_______________________________________________
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