Hi Daniel,
Can you provide more info about the error? What happens when you enable the layer, what error appear?
   Do you have more Oracle layers in your mapfile, are they working?
   Best regards.

--------------------------------------------------------------
Fernando Simon
UMN Mapserver and Oracle Spatial developer
--------------------------------------------------------------

Daniel Muñoz Castro wrote:
Hello list

I have a problem with my connection and I don't know why it happens, I follow all the steps in the http://mapserver.gis.umn.edu/docs/howto/oracle_spatial_howto <http://mapserver.gis.umn.edu/docs/howto/oracle_spatial_howto> and try some ideas but nothing works, for that I write this email. My tnsname is:

GIS =
  (DESCRIPTION =
    (ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.246.61 <http://192.168.246.61>)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = gis)
    )
  )


and my mapfiel is:

  LAYER
    NAME "Gerencia Oracle"
    STATUS ON
    TYPE POLYGON
    CONNECTIONTYPE oraclespatial
    CONNECTION "gis/[EMAIL PROTECTED]"
    DATA "GEOMETRIA FROM GERENCIA3"
    DUMP TRUE
    CLASS
     STYLE
       OUTLINECOLOR 0 0 0
       COLOR 0 128 128
     END
    END
  END

I have other futures in my mapfile but all of them load perfectly, I only have to set the status of "Gerencia Oracle" OFF and my application works with out problem.

Thanks

--
Salu2!.

Daniel Muñoz Castro
Ingeniero Catastral y Geodesta
Cel. 300 2174698
Casa. 4095990
Oficina. 7470001 Ext. 1141

Reply via email to