[mapserver-users] Re: How to appear Graph?

elisabeth theresia dbee_kawai at yahoo.com
Fri Aug 27 05:35:49 PDT 2010


hey Mr. Thomas and Mr. Sumit,

Lol, i use Mapserver vs 1.6.... oh No.... :(
Then i can't appear MapServer ya??

If i change Mapserver version is that any special setting that should i do??

Thanks

-Theresia




________________________________
From: thomas bonfort <thomas.bonfort at gmail.com>
To: elisabeth theresia <dbee_kawai at yahoo.com>
Cc: mapserv forumlist <mapserver-users at lists.osgeo.org>
Sent: Thu, August 26, 2010 10:59:42 PM
Subject: Re: [mapserver-users] Re: How to appear Graph?


What version of MapServer are you using? Charting appeared in 5.0.
Regards,
Thomas 
On Aug 26, 2010 9:02 PM, "elisabeth theresia" <dbee_kawai at yahoo.com> wrote:


>
>Hi Mr. Sumit,
>
>
>Thanks for your advice. when i tried to apply step by step from: 
>http://mapserver.org/output/dynamic_charting.html
>
>then in the browser said: 
>getSymbol(): Symbol definition error. Parsing error near (CHART):(line 66) 
>
>
>this is line 66: 
>
>
>TYPE CHART
>
>
>
>why become like this?
>
>here the mapfile:
>###############CHART##############
>    LAYER
>    NAME "chart bj"
>    STATUS ON
>        #TYPE POLYGON
>        TYPE CHART
>        PROCESSING "CHART_TYPE=BAR"
>        PROCESSING "CHART_SIZE=20 10" #specify size of the chart for pie or bar 
>graphs
>        #PROCESSING "CHART_SIZE=20 10" #specify width n height for graphs
>    CONNECTIONTYPE POSTGIS
>    CONNECTION "user=dbee  password=root dbname=dbSpatialSura host=localhost 
>port=5432"
>    DATA "the_geom FROM tbk_bjsr_gender USING UNIQUE kode_kel"
>    
>        CLASS
>        NAME "1000-2000"
>        TEMPLATE "./template_gender.html"
>            EXPRESSION ([ljum_bj]>=1000 and [ljum_bj]<=2000) 
>            STYLE
>            COLOR 255 255 0
>            OUTLINECOLOR 0 0 0
>            WIDTH  2
>            ANTIALIAS TRUE
>            END#STYLE
>        END #CLASS
>        
>        CLASS
>        NAME "2001-4000"
>        TEMPLATE  "./template_gender.html"
>            EXPRESSION ([ljum_bj]>=2001 and [ljum_bj]<=4000) 
>            STYLE
>            COLOR 255 255 100
>            OUTLINECOLOR 0 0 0
>            WIDTH 2
>            ANTIALIAS TRUE
>            END#STYLE
>        END #CLASS
>        
>        CLASS
>        NAME "4001-8000"
>        TEMPLATE "./template_gender.html"
>            EXPRESSION ([ljum_bj]>=4001 and [ljum_bj]<=8000) 
>            STYLE
>            COLOR 200 200  0
>            OUTLINECOLOR 0 0 0
>            WIDTH 2
>            ANTIALIAS TRUE
>            END#STYLE
>        END #CLASS
>        
>        CLASS
>        NAME "8001-16000"
>        TEMPLATE "./template_gender.html"
>            EXPRESSION ([ljum_bj]>=8001 and [ljum_bj]<=16000) 
>            STYLE
>            COLOR 150 150 0
>            OUTLINECOLOR 0 0 0
>            WIDTH 2
>            ANTIALIAS TRUE
>            END#STYLE
>        END #CLASS
>        
>        CLASS
>        NAME " >16000"
>        TEMPLATE  "./template_gender.html"
>            EXPRESSION ([ljum_bj]>=16000) 
>            STYLE
>            COLOR 100 100 0
>            OUTLINECOLOR 0 0 0
>             WIDTH 2
>            ANTIALIAS TRUE
>            END#STYLE
>        END #CLASS
>    
>    END #LAYER
>
>Thanks a lot and sorry makes confuse :)
>
>-Theresia
>
>
________________________________
 From: Sumit Sharma <sumit321 at hotmail.com>
>To: mapserver-users at lists.osgeo.org
>Sent: Wed, August 25, 2010 11:26:23 PM
>Subject: [mapserver-users] Re: How to appear Graph?
>
>
>
>You may like to visit following URL for charting...
>http://mapserver.org/output/dynamic_charting.h...
>
>
>_______________________________________________
>mapserver-users mailing list
>mapserver-users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100827/525ce225/attachment.htm>


More information about the MapServer-users mailing list