Problem Oracle Spatial

SUBSCRIBE MAPSERVER-USERS Bego D. begodom at GMAIL.COM
Tue Jan 15 06:51:24 EST 2008


Hello

I´m new with Mapserver. 

I have set up an application with locals files without problems but now i want 
connect with Oracle Spatial for example with one of my layers.
I follow all the steps in the 
http://mapserver.gis.umn.edu/docs/howto/oracle_spatial_howto but it doesnt 
work. 
The other layers, from MapInfo, are working rigth.

My mapfile is:

LAYER 
 NAME "CARRETERA" 
 STATUS ON 
 TYPE POLYGON 
 CONNECTIONTYPE oraclespatial
 CONNECTION "user/pasword at bbdd" 
 DATA "GEOLOC FROM CARRETERA using SRID 82337"
 DUMP TRUE
 CLASS 
  STYLE 
    OUTLINECOLOR 255 0 0 
  END 
 END 
END 

And C:\ms4w\Apache\conf\httpd.conf

SetEnv ORACLE_SID bbdd
SetEnv TNS_ADMIN "c:/oracle/product/10.2.0/client_1/NETWORK/ADMIN"
SetEnv ORACLE_HOME "c:/oracle/product/10.2.0/client_1"



Thanks in advance



More information about the mapserver-users mailing list