Re: mapserver clue

"Steve Lime" <[email protected]>
Newsgroups gmane.comp.gis.freegis
Message-ID <[email protected]>
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 <[email protected]> 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
[email protected]
https://intevation.de/mailman/listinfo/freegis-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.