Re: [mapserver-users] GDAL and SDE raster

Lucena, Ivan ivan.lucena at pmldnet.com
Mon Nov 3 19:40:57 EST 2008


I don't have SDE to tell you the truth but I would suggest you to create a VRT version of your dataset and use the VRT on your map file. [ gdal_translate -of vrt /filepath/SDE:server,port:5151,sde,user/pass,schema.table,RASTER replacement.vrt ]

>  -------Original Message-------
>  From: Liz Godwin <godwin.liz at gmail.com>
>  Subject: [mapserver-users] GDAL and SDE raster
>  Sent: Nov 03 '08 22:19
>  
>  Hey folks,
>  
>  We've been beating ourselves up over this problem and I'm not sure
>  what to try next.
>  
>  We can't seem to connect to SDE for a raster using GDAL in mapserver.
>  This is happening on Linux.
>  
>  snippit from mapfile:
>  TYPE RASTER
>  DATA "SDE:server,port:5151,sde,user,pass,schema.table,RASTER"
>  
>  when trying to draw a map, i get a seg fault.  When trying a
>  getFeatureinfo request, I get this error:
>  
>  /filepath/SDE:server,port:5151,sde,user: Image handling error. Unable to
>  open file LayerName for layer
>  `/filepath/SDE:server,port:5151,sde,user/pass,schema.table,RASTER' does
>  not exist in the file system, and is not recognised as a supported dataset
>  name.
>  ... fatal error.
>  msRasterQueryByRect()
>  
>  Any ideas how I might start to debug this?  I have DEBUG set to 5 in both
>  the LAYER and MAP object in the map file.
>  
>  Thanks!
>  
>  Liz
>  
>  --------------------
>  _______________________________________________
>  mapserver-users mailing list
>  [LINK: compose.php?to=mapserver-users at lists.osgeo.org]
>  mapserver-users at lists.osgeo.org
>  [LINK: http://lists.osgeo.org/mailman/listinfo/mapserver-users]
>  http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list