June 2005
Beginner to intermediate
372 pages
10h 1m
English
Oracle Spatial Database
MapServer can support Oracle Spatial through OGR.
OGR must be compiled with Oracle Spatial support and MapServer must be compiled to use OGR.
MapServer also supports Oracle Spatial natively.
For more information about Oracle Spatial and MapServer see the MapServer documentation and reference pages at http://mapserver.gis.umn.edu/doc.html.
LAYER
...
CONNECTION "OCI:user/pwd@service"
CONNECTIONTYPE OGR
DATA "Tablename"
...
ENDExample:
LAYER
...
NAME "Ottawa"
CONNECTIONTYPE OGR
CONNECTION "OCI:jeff/blah@ora_cities"
DATA "CITIES"
TYPE POINT
...
END LAYER
...
CONNECTIONTYPE oraclespatial
CONNECTION "user/pwd@service"
DATA "GEOMETRY FROM tablename"
...
END