• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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

PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint