[mapserver-users] regarding database connection in postgresql

MOHAMMED SADIQUE SHADAB sadiqueshadab at gmail.com
Fri Jan 30 06:21:31 EST 2009


hi,
   i am new to FGSmapserver.
   i have created one sample mapfile which is


NAME "object"
SIZE 800 600
IMAGECOLOR 249 245 186
IMAGETYPE png
EXTENT -1.00 -1.00 1.00 1.00
WEB
TEMPLATE "/opt/fgs/www/htdocs/db.html"
IMAGEPATH "/opt/fgs/www/htdocs/tmp/"
IMAGEURL "/tmp/"
END
LAYER
NAME "data"
CONNECTIONTYPE POSTGIS
NAME "syed"
CONNECTION "user=postgres password= dbname=syed host=127.0.0.1 port=5432"
DATA "type from geometry"
STATUS ON
TYPE POINT
CLASS
COLOR 229 100 225
END
FEATURE
END
END
END
END
END
END
END

i am using POSTGRESQL for connecting the mapfile.
when i run my mapfile it doesnot plot the point as we specified in the
database


please help me its Urgeeeeeeeent

thanks


Regards
SHADAB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090130/f1e67f15/attachment-0001.html


More information about the mapserver-users mailing list