[mapserver-users] Re: GDAL and SDE raster

Ron Goldman ron at ocean.org.il
Tue Nov 4 09:01:47 EST 2008


I had a similar problem with NetCDF raster. It probably won't help much for SDE
but make sure you have absolute filepath after the "SDE:" and not before it.


Date: Tue, 4 Nov 2008 08:24:52 -0500
From: "Liz Godwin" <godwin.liz at gmail.com>
Subject: Re: [mapserver-users] GDAL and SDE raster
To: "Lucena, Ivan" <ivan.lucena at pmldnet.com>
Cc: eidsnessl at agr.gc.ca, mapserver-users at lists.osgeo.org,
	whittekerc at agr.gc.ca
Message-ID:
	<d33d7cc00811040524o6642e27w234e060f5ed87cd4 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"


Thank you, but that option doesn't appear to work for Raster data types.


Liz


On Mon, Nov 3, 2008 at 7:40 PM, Lucena, Ivan <ivan.lucena at pmldnet.com>wrote:


> > 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
>>     
> >
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081104/fee291c7/attachment.html

------------------------------

_______________________________________________

mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



***********************************************************
This outgoing email was scanned for viruses and other malicious content by the IT Department of Israel Oceanographic & Limnological Research.
AntiVirus system managed by Eli W. Tel. 972-4-8565267
IMPORTANT: Do not open attachments from unrecognized senders. 
Never open attached files with extensions: *.pif, *.scr, *.vbs, *.exe.
***********************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ron.vcf
Type: text/x-vcard
Size: 338 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081104/49119735/ron.vcf


More information about the mapserver-users mailing list