<div dir="ltr">Thanks Alexis for your feedback. Our demo went well. We will keep working on improving our service and provide feedback to Geotk about problem we are facing with the API.<div><br></div><div>Regards</div><div><br></div><div>Stephane</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 2, 2017 at 4:55 AM, Alexis Manin <span dir="ltr"><<a href="mailto:alexis.manin@geomatys.com" target="_blank">alexis.manin@geomatys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Stephan,<br></div><div><br></div><div>I'm sorry, but we will not be able to provide much help in such a short delay. Here is what I know :<br></div><br></div><div>1 - The size you're setting is only a clip for legend. To reach your goal, you'll have to create a new PointSymbolizer with expected dimension, and then use it to draw your image.</div><div><br></div>2 - I was not aware we could apply symbols on polygons. What I would do in this case is the following : define a point symbolizer along the polygon one (in the same style rule). In that case, I'm sure the glyph and rendering will work. However, by default, the point symbolizer will draw a single mark over the polygon (taking the centroid as location, if I remember well). If your aim is to draw a symbol on each point of your polygon, you'll have to modify the "Geometry" property of your point symbolizer. You can use a function expression named "allPoints" to get layer geometries as multi-points. See attached SLD for an example.<br></div><div><br></div>3 - I tested it on 4.0.0 tag, and it looks like it's working. However, the rendering is only applied on few pixels, so it can be hard to see on thin lines.<br><br></div>Good luck for tomorrow !<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-11-02 0:30 GMT+01:00 Stephane Fellah <span dir="ltr"><<a href="mailto:stephanef@imagemattersllc.com" target="_blank">stephanef@imagemattersllc.com</a><wbr>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I have found a number of issues with the DefaultGlyphService and DefaultLegendService to render symbolizers. <div><br></div><div>1) For PointSymbolizer referring to external image GraphicSymbol, the image is clipped whether I set the dimension or not.<br><div><div><br></div><div><pre style="color:rgb(0,0,0);font-family:"Courier New";font-size:9pt"><span style="color:rgb(0,0,128);font-weight:bold">final </span>Dimension preferredSize = DefaultGlyphService.<span style="font-style:italic">glyphPrefe<wbr>rredSize</span>(symbolizer, dimension, <span style="color:rgb(0,0,128);font-weight:bold">null</span>);<br><span style="color:rgb(128,128,128);font-style:italic">// Create glyph image.<br></span>DefaultGlyphService.<span style="font-style:italic">create</span>(sym<wbr>bolizer, preferredSize, <span style="color:rgb(0,0,128);font-weight:bold">null</span>);</pre>For example for the following icon: <a href="http://ows.usersmarts.com/ems/icons/tier1/Base/ems.incident.civil.emergency.png" target="_blank">http://ows.usersmarts.com/ems/<wbr>icons/tier1/Base/ems.incident.<wbr>civil.emergency.png</a><br><br>It renders like this picture:</div><div><br></div><div><img src="cid:ii_15f79e4fcebfd701" alt="Inline image 1" style="margin-right:0px" width="104" height="104">  <br></div><div><br></div><div>How should I configure the DefaultGlyphService and DefaultLegendService to render the whole image within the dimension I specify.</div><div><br></div><div>2) The rendering of glyph /legend for PolygonSymbolizer does not render marks (such circle. square), but does on the layer.</div><div><br></div><div>What the default set up to create a legend the render the symbolizer as specified. Is there any work around to solve this problem?</div><div><br></div><div>3) The line symbolizer does not seem to take in account linecap, linejoin parameter on the legend/glyph.</div><div><br></div><div>I have an internal demo Friday for OGC to demonstrate a semantic portrayal service based on Gtk portrayal engine. I would appreciate if you can give me some solutions for these issues. </div><div><br></div><div>Thanks in advance.</div><span class="m_-9174848972543243731HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-9174848972543243731m_3073336654067282545gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Stephane Fellah<br></div><div style="font-family:arial;font-size:small">Chief  Knowledge Scientist</div><div style="font-family:arial;font-size:small">Image Matters LLC</div><div style="font-family:arial;font-size:small">Office: +<a href="tel:(703)%20669-5510" value="+17036695510" target="_blank">(703) 669 5510</a></div><div style="font-family:arial;font-size:small">Cell: <a href="tel:(703)%20431-9420" value="+17034319420" target="_blank">703 431 9420</a></div></div></div></div></div>
</font></span></div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Geotoolkit mailing list<br>
<a href="mailto:Geotoolkit@lists.osgeo.org" target="_blank">Geotoolkit@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geotoolkit" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geotoolkit</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><div class="m_-9174848972543243731gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Alexis Manin,<br>Développeur JAVA/JEE.<br>Geomatys.<br><br><img src="https://drive.google.com/a/geomatys.com/uc?id=0BzSiAcVRHmQcdXhxZjgwQlM4ODJIUXRrRk5Fa1ZQT3prTm5Z&export=download"><br><img alt=""></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small">Stephane Fellah<br></div><div style="font-family:arial;font-size:small">Chief  Knowledge Scientist</div><div style="font-family:arial;font-size:small">Image Matters LLC</div><div style="font-family:arial;font-size:small">Office: +(703) 669 5510</div><div style="font-family:arial;font-size:small">Cell: 703 431 9420</div></div></div></div></div>
</div>