[mapserver-users] database connection bt. shape file and postgresql
rohan phatak
rpha88 at gmail.com
Mon Feb 23 09:21:00 PST 2009
hello friends,
I am connecting .dbf table of the shape file to postgersql in the given
format but i cant get the role of "origin info" i don't understand what is
the exact relation of that?? and the given code is right or wrong??
LAYER
NAME "prov_bound"
TYPE POLYGON
STATUS DEFAULT
DATA "prov.shp"
CLASS
NAME "Province"
STYLE
OUTLINECOLOR 120 120 120
COLOR 255 255 0
END
END
TEMPLATE "../htdocs/cgi-query-templates/prov.html"
HEADER "../htdocs/cgi-query-templates/prov-header.html"
FOOTER "../htdocs/cgi-query-templates/footer.html"
JOIN
NAME "test"
TABLE "../data/lookup.dbf"
FROM "ID"
TO "IDENT"
TYPE ONE-TO-ONE
END
END # layer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090223/007b2202/attachment.htm>
More information about the MapServer-users
mailing list