[Mapserver-users] How to change Data Statement in mapfile on fly
s.dege at laposte.net
Mon May 10 10:49:52 EDT 2004
I'm beginner with MAPSERVER, and read a lot of things in the
archives to find out about my problem, and tried lots of things.
Here is a part of my mapfile
# Connect to a remote spatial database
CONNECTION "user=user dbname=dbname ..."
# Get the lines from the 'geom' column of the
DATA "geom_concentration from table"
# GROUP pm
# LABELITEM "stations"
As you can see, I'm using Postgis to retrieve data.
What I want to do is to change on fly the data statement
("table" to be exact), because the table is never the same and
is created dynamically. I've tried lots of combination (using
'%table%', forms,...) but nothing works.
So if anybody managed to do this, Iwould appreciate his help.
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34/mn) ; tél : 08 92 68 13 50 (0,34/mn)
More information about the mapserver-users