[mapserver-users] another postgis/mapserver question
gispmpf at zipmail.com.br
gispmpf at zipmail.com.br
Wed Oct 10 20:51:45 PDT 2001
Hello,
I have another questio about mapserver/postgis interface...
i have adapted the following script for mapserver:
LAYER
CONNECTIONTYPE postgis
NAME 'Roads'
CONNECTION "user=postgres dbname=teste host=localhost"
DATA "linha from teste"
STATUS ON
TYPE LINE
FILTER "id = 1"
CLASS
EXPRESSION ([id]=1)
COLOR 255 22 22
SYMBOL 0
SIZE 2
END
CLASS
# All the rest are darker and only 1 pixel wide
EXPRESSION ([id]>1)
COLOR 205 92 82
END
END
my intention is to draw the lines of this database in a web browser
but i dont have any results with it
How can i know if this script is realy conecting with the postgis database?
and if it is ... how can i see what is wrong?
Thanks
João.
___________________________________________________________
http://www.zipmail.com.br O e-mail que vai aonde você está.
More information about the MapServer-users
mailing list