Skip to Content
Web Mapping Illustrated
book

Web Mapping Illustrated

by Tyler Mitchell
June 2005
Beginner to intermediate
372 pages
10h 1m
English
O'Reilly Media, Inc.
Content preview from Web Mapping Illustrated

Name

Oracle Spatial Database

Synopsis

  • 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.

Map file example using OGR support

    LAYER
      ...
      CONNECTION "OCI:user/pwd@service"
      CONNECTIONTYPE OGR
      DATA "Tablename"
      ...
    END

Example:

    LAYER
       ...
       NAME "Ottawa"
       CONNECTIONTYPE OGR
       CONNECTION "OCI:jeff/blah@ora_cities"
       DATA "CITIES"
       TYPE POINT
       ...
    END

Map file example using native support

    LAYER
       ...
       CONNECTIONTYPE oraclespatial
       CONNECTION "user/pwd@service"
       DATA "GEOMETRY FROM tablename"
       ...
    END
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Flask Web Development, 2nd Edition

Flask Web Development, 2nd Edition

Miguel Grinberg

Publisher Resources

ISBN: 0596008651Supplemental ContentErrata Page