[Mapserver-users] oracle spatial mapfile

FERNANDO SIMON simon at inf.univali.br
Fri Jun 11 11:02:48 EDT 2004


Hi,
   Are you compiled mapserver with Oracle Spatial support? 
   And what do you want to show with Mapserver/OracleSpatial? ( points, lines, 
polygons? )


============================================
Fernando Simon - simon at cttmar.univali.br
Mapserv and OracleSpatial developer
--------------------------------------------
Laboratorio de Computacao Aplicada - Brazil
g10.cttmar.univali.br
============================================

Citando Sylvain Beorchia <sbeorchia at gi-lemans.fr>:

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




------------------------------------------------
Este e-mail foi enviado pelo webmail do curso de
       Ciência da Computação - UNIVALI



More information about the mapserver-users mailing list