[mapserver-users] Dynamic symbols

Björn Danielsson bjorn.danielsson at falubo.se
Wed Dec 13 04:31:43 PST 2017


Hej Lars,

Thanks for your help. I have tried method 1 to produce bars and pies 
successfully, and it helped me a lot.
But it would be nice to be able to construct any type of graphics and place 
them on polygons to visualize some feature.
Can you do that with your SQL method?

Björn D


-----Original Message-----
From: Frode Wiseth Jørgensen <frodewj at gmail.com>
To: Lars Schylberg <lars.schylberg at blixtmail.se>
Cc: mapserver-users at lists.osgeo.org
Date: Mon, 11 Dec 2017 07:50:19 +0100
Subject: Re: [mapserver-users] Dynamic symbols


Hi Lars

Some examples regarding "Construct graphics with SQL" would be great!


Frode
On 9 December 2017 at 20:21, <lars.schylberg at blixtmail.se 
[mailto:lars.schylberg at blixtmail.se]> wrote:
Hi,

I know three ways to do that, but I guess there must be more ways.

1) Pie charts and tables with:

http://mapserver.org/output/dynamic_charting.html

2) [http://mapserver.org/output/dynamic_charting.html]Construct graphics 
with Javascript support:

http://mapserver.org/mapfile/styleitem.html 
[http://mapserver.org/mapfile/styleitem.html]

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.
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.

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.
I could show some examples if any one is interested.

Actually I heard that someone was doing dynamic SVGs but I don't now the 
procedure for that.

/Lars Schylberg
December 9, 2017 12:56 PM, "Björn Danielsson" <bjorn.danielsson at falubo.se 
[mailto:%22Bj%C3%B6rn%20Danielsson%22%20%3Cbjorn.danielsson at falubo.se%3E]> 
wrote:
Hi,
Is it possible to create dynamic symbols on the fly with regard to some data 
in a polygon, and place them on the map?
Piecharts etc.
SVG?

Björn Danielsson
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org [mailto:mapserver-users at lists.osgeo.org]
https://lists.osgeo.org/mailman/listinfo/mapserver-users 
[https://lists.osgeo.org/mailman/listinfo/mapserver-users]

--
Frode Wiseth Jørgensen
+47 99 03 41 42
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20171213/abbaeec1/attachment.html>


More information about the mapserver-users mailing list