[mapserver-users] Dynamic symbols
lars.schylberg at blixtmail.se
lars.schylberg at blixtmail.se
Sat Dec 9 11:21:03 PST 2017
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) 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<bjorn.danielsson at falubo.se>)> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20171209/35be34de/attachment.htm>
More information about the MapServer-users
mailing list