[Mapserver-users] oracle spatial mapfile

Sylvain Beorchia sbeorchia at gi-lemans.fr
Fri Jun 11 05:52:32 EDT 2004


Hi list,

I try to display some data from oracle spatial in my mapserver project. It
doesn't work.
Here is my mapfile layer:

LAYER
    NAME spa
    METADATA
        "DESCRIPTION" "Spatial"
        "LEGENDE" "1"
        "TYPE_LAYER" "ORA"
    END
    STATUS ON
    CONNECTIONTYPE oraclespatial
    CONNECTION "spa/sig at spa"
    DATA "GEOLOC from FP10010_LINES"
    TYPE LINE
    CLASS
        OUTLINECOLOR 0 0 0
        COLOR 0 128 128
    END

  END

The data in the database are from some Mapinfo TabFiles. SO i've got a table
FP10010_LINES with the GEOLOC field, that's why i've tried to retreive data
with "GEOLOC from FP10010_LINES".

So, when i launch my IE, i've got the following errors :

    "Warning: MapServer Error in msOracleSpatialLayerOpen(): OracleSpatial
is not supported in C:\ms4w\apps\gmap\htdocs\gmap.php3 on line 616"
    "Fatal error: Call to a member function on a non-object in
C:\ms4w\apps\gmap\htdocs\gmap.php3 on line 617"


My oracle version is 8i (8.1.7)

Any ideas ?
Thank u.




More information about the mapserver-users mailing list