[Mapserver-users] oracle spatial mapfile

Fortin,Nicolas [SteFoy] nicolas.fortin at ec.gc.ca
Fri Jun 11 05:45:34 PDT 2004


Is your version of mapserver compile with Oracle Spatial support??

Nicolas

-----Message d'origine-----
De : mapserver-users-admin at lists.gis.umn.edu [mailto:mapserver-users-admin at lists.gis.umn.edu] De la part de Sylvain Beorchia
Envoyé : Friday, June 11, 2004 5:53 AM
À : mapserver-users at lists.gis.umn.edu
Objet : [Mapserver-users] oracle spatial mapfile


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.

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list