<html><body>
<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;">Hej Lars,</div>

<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;"> </div>

<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;">Thanks for your help. I have tried method 1 to produce bars and pies successfully, and it helped me a lot.</div>

<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;">But it would be nice to be able to construct any type of graphics and place them on polygons to visualize some feature.</div>

<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;">Can you do that with your SQL method?</div>

<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;"> </div>

<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;">Björn D</div>

<div style="font-size: 13.3333px; font-family: tahoma; color: rgb(0, 0, 0); font-weight: 400; font-style: normal;"> </div>

<div id="signature" style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;"> </div>

<div style="font-family: tahoma; color: rgb(0, 0, 0); font-size: 13.3333px; font-weight: 400; font-style: normal;"> 
<blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original Message-----<br />
From: Frode Wiseth Jørgensen <frodewj@gmail.com><br />
To: Lars Schylberg <lars.schylberg@blixtmail.se><br />
Cc: mapserver-users@lists.osgeo.org<br />
Date: Mon, 11 Dec 2017 07:50:19 +0100<br />
Subject: Re: [mapserver-users] Dynamic symbols<br />
 
<div dir="ltr">Hi Lars
<div> </div>

<div>Some examples regarding "Construct graphics with SQL" would be great!</div>

<div> </div>

<div> </div>

<div>Frode</div>

<div> </div>
</div>

<div class="gmail_extra"> 
<div class="gmail_quote">On 9 December 2017 at 20:21, <span dir="ltr"><<a href="mailto:lars.schylberg@blixtmail.se" target="_blank">lars.schylberg@blixtmail.se</a>></span> wrote:

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="font-family:arial,sans-serif;font-size:13px">Hi,<br />
<br />
I know three ways to do that, but I guess there must be more ways.<br />
<br />
1) Pie charts and tables with:<br />
<br />
<a href="http://mapserver.org/output/dynamic_charting.html" target="_blank">http://mapserver.org/output/<wbr />dynamic_charting.html<br />
<br />
2) </a>Construct graphics with Javascript support:<br />
<br />
<a href="http://mapserver.org/mapfile/styleitem.html" target="_blank">http://mapserver.org/mapfile/<wbr />styleitem.html</a><br />
<br />
This option requires that You compile the javascript support. That is a little hard to get to work. Had problems to complile V8 support myself last year.<br />
I have seen nice examples in the past and this is on my personal TO DO list to try out, when I get some spare time.<br />
<br />
3) Construct graphics with SQL. This is the way I have solved things myself. What I have done, is to construct circle sectors for instance with spatial sql expressions. I wrap GDAL sql expression with spatialite syntax in VRT files. These can then be used "on the fly" within mapserver or for preprossing of the data.<br />
I could show some examples if any one is interested.<br />
<br />
Actually I heard that someone was doing dynamic SVGs but I don't now the procedure for that.<br />
<br />
/Lars Schylberg
<div>
<div class="h5"><br />
<br />
<br />
December 9, 2017 12:56 PM, "Björn Danielsson" <<a href="mailto:%22Bj%C3%B6rn%20Danielsson%22%20%3Cbjorn.danielsson@falubo.se%3E" target="_blank">bjorn.danielsson@falubo.se</a>> wrote:

<blockquote>
<div>
<div>
<div style="font-family:tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal">Hi,</div>

<div style="font-family:tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal">Is it possible to create dynamic symbols on the fly with regard to some data in a polygon, and place them on the map?</div>

<div style="font-family:tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal">Piecharts etc.</div>

<div style="font-family:tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal">SVG?</div>

<div style="font-family:tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal"> </div>

<div style="font-family:tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal">Björn Danielsson</div>

<div style="font-size:13.3333px;font-family:tahoma;color:rgb(0,0,0);font-weight:400;font-style:normal"> </div>

<div style="font-family:tahoma;color:rgb(0,0,0);font-size:13.3333px;font-weight:400;font-style:normal"> </div>
</div>
</div>
</blockquote>
<br />
 </div>
</div>
</div>
</div>
<br />
______________________________<wbr />_________________<br />
mapserver-users mailing list<br />
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.<wbr />org</a><br />
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr />mailman/listinfo/mapserver-<wbr />users</a></blockquote>
</div>
 

<div> </div>
--

<div class="gmail_signature" data-smartmail="gmail_signature">Frode Wiseth Jørgensen<br />
+47 99 03 41 42</div>
</div>
</blockquote>
</div>
</body></html>