[Mapserver-users] oracle spatial mapfile

Fortin,Nicolas [SteFoy] nicolas.fortin at ec.gc.ca
Fri Jun 11 06:40:56 PDT 2004


Toujours répondre en incluant la list pour avoir plus de chance de réponse...

Ca dépend ou tu l'as prise

Un test rapide, dans un fenetre DOS, écris: mapserv -v
Ca peut donner quelque chose du genre:
MapServer version 4.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=EPPL7 INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Si INPUT=ORACLESPATIAL n'est pas la, ta version ne supporte pas Oracle Spatial.  Pour te procurer une version qui supporte Oracle Spatial, tu peux aller ici : http://mapserver.gis.umn.edu/win32binaries.html
Tu choisis entre ms402_gif_oracle.zip et ms402_png_oracle.zip

Bonne Chance,
Nicolas


-----Message d'origine-----
De : Sylvain Beorchia [mailto:sbeorchia at gi-lemans.fr] 
Envoyé : Friday, June 11, 2004 9:23 AM
À : Fortin,Nicolas [SteFoy]
Objet : Re: [Mapserver-users] oracle spatial mapfile


I don't know.
Je ne sais pas. C'est la version 4.0 pour windows
Comment je peux le voir ?


----- Original Message ----- 
From: "Fortin,Nicolas [SteFoy]" <nicolas.fortin at ec.gc.ca>
To: "Sylvain Beorchia" <sbeorchia at gi-lemans.fr>; <mapserver-users at lists.gis.umn.edu>
Sent: Friday, June 11, 2004 2:45 PM
Subject: RE : [Mapserver-users] oracle spatial mapfile



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