[Freegis-list] mapserver clue
Steve Lime
steve.lime at dnr.state.mn.us
Thu Feb 2 04:27:48 CET 2006
Tomas: I use OWTChart in cases like this (http://www.maptools.org/owtchart/index.phtml). You just feed it the data out of a MapServer query template and it sends you a gif. Embed that call into an image tag and there you have it- a dynamic graph sitting right along side your table.
Here's an example page using this technique:
http://www.dnr.state.mn.us/hunting/deer/mapit2004.html?imgxy=174.5+174.5&root=%5Broot%5D&map=%2Fusr%2Flocal%2Fwww%2Fdocs_maps%2Fwildlife%2Fwhitetail%2Fmain2004.map&imgext=74105.727952+4774937.053875+798393.592828+5499224.918751&layer=total&zoom=1&mode=query&img.x=213&img.y=108
The bar graphs data are nothing more than attributes in the shapefile.
There are other options as well, but this should get you started.
Steve
>>> Tomas Zajc <tzajc at conae.gov.ar> 02/01/06 1:46 PM >>>
I'm using mapserver to display some atmospherichal data. I got a shapefile
with lat lon and 39 attributes. Each attribute is a concentration of gas in
the atmosphere for 39 altitudes. The map displays the measurement points (lat
long) and when you query that point you get an html with a two column table
(high - concentration). Besides the table it would be nice to have a graph
high-concentration. I know some php programs that can plot data from a data
files like csv o txt (http://ftp.gnus.org/circus/chart/chart-manual.php). The
problem is that i don't know how to generate a data file from mapserver.
Any sugestion?
I am generating the shapefiles so i may generate other "auxiliary" files...
Thanks
Tomas
_______________________________________________
Freegis-list mailing list
Freegis-list at intevation.de
https://intevation.de/mailman/listinfo/freegis-list
More information about the Freegis-list
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)