Well, there is no filepath, that's what confusing me. The error message suggests that it is looking in one, but it's SDE.<br><br>I forgot to mention before that I did a test with the gdalinfo utility, and it seemed to find the correct thing in SDE.<br>
<br>Liz<br><br><br><div class="gmail_quote">On Tue, Nov 4, 2008 at 9:01 AM, Ron Goldman <span dir="ltr"><<a href="mailto:ron@ocean.org.il">ron@ocean.org.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I had a similar problem with NetCDF raster. It probably won't help much for SDE<br>
but make sure you have absolute filepath after the "SDE:" and not before it.<br>
<br>
<br>
Date: Tue, 4 Nov 2008 08:24:52 -0500<div class="Ih2E3d"><br>
From: "Liz Godwin" <<a href="mailto:godwin.liz@gmail.com" target="_blank">godwin.liz@gmail.com</a>><br></div>
Subject: Re: [mapserver-users] GDAL and SDE raster<br>
To: "Lucena, Ivan" <<a href="mailto:ivan.lucena@pmldnet.com" target="_blank">ivan.lucena@pmldnet.com</a>><br>
Cc: <a href="mailto:eidsnessl@agr.gc.ca" target="_blank">eidsnessl@agr.gc.ca</a>, <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>,<br>
<a href="mailto:whittekerc@agr.gc.ca" target="_blank">whittekerc@agr.gc.ca</a><br>
Message-ID:<br>
<<a href="mailto:d33d7cc00811040524o6642e27w234e060f5ed87cd4@mail.gmail.com" target="_blank">d33d7cc00811040524o6642e27w234e060f5ed87cd4@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
Thank you, but that option doesn't appear to work for Raster data types.<br>
<br>
<br>
Liz<br>
<br>
<br>
On Mon, Nov 3, 2008 at 7:40 PM, Lucena, Ivan <<a href="mailto:ivan.lucena@pmldnet.com" target="_blank">ivan.lucena@pmldnet.com</a>>wrote:<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> I don't have SDE to tell you the truth but I would suggest you to create a<br>
> VRT version of your dataset and use the VRT on your map file. [<br>
> gdal_translate -of vrt<br>
> /filepath/SDE:server,port:5151,sde,user/pass,schema.table,RASTER<br>
> replacement.vrt ]<br>
><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> > -------Original Message-------<br>
> > From: Liz Godwin <<a href="mailto:godwin.liz@gmail.com" target="_blank">godwin.liz@gmail.com</a>><br>
> > Subject: [mapserver-users] GDAL and SDE raster<br>
> > Sent: Nov 03 '08 22:19<br>
> ><br>
> > Hey folks,<br>
> ><br>
> > We've been beating ourselves up over this problem and I'm not sure<br>
> > what to try next.<br>
> ><br>
> > We can't seem to connect to SDE for a raster using GDAL in mapserver.<br>
> > This is happening on Linux.<br>
> ><br>
> > snippit from mapfile:<br>
> > TYPE RASTER<br>
> > DATA "SDE:server,port:5151,sde,user,pass,schema.table,RASTER"<br>
> ><br>
> > when trying to draw a map, i get a seg fault. When trying a<br>
> > getFeatureinfo request, I get this error:<br>
> ><br>
> > /filepath/SDE:server,port:5151,sde,user: Image handling error. Unable to<br>
> > open file LayerName for layer<br>
> > `/filepath/SDE:server,port:5151,sde,user/pass,schema.table,RASTER' does<br>
> > not exist in the file system, and is not recognised as a supported<br>
<br>
</blockquote>
> dataset<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> > name.<br>
> > ... fatal error.<br>
> > msRasterQueryByRect()<br>
> ><br>
> > Any ideas how I might start to debug this? I have DEBUG set to 5 in<br>
<br>
</blockquote>
> both<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> > the LAYER and MAP object in the map file.<br>
> ><br>
> > Thanks!<br>
> ><br>
> > Liz<br>
> ><br>
> > --------------------<br>
> > _______________________________________________<br>
> > mapserver-users mailing list<br>
> > [LINK: compose.php?to=<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>]<br>
> > <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
> > [LINK: <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>]<br>
> > <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
</blockquote>
><br>
<br>
</blockquote></div></div>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081104/fee291c7/attachment.html" target="_blank">http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081104/fee291c7/attachment.html</a><br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
<br>
mapserver-users mailing list<div class="Ih2E3d"><br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
</div><div class="Ih2E3d"><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
<br>
<br></div>
***********************************************************<br>
This outgoing email was scanned for viruses and other malicious content by the IT Department of Israel Oceanographic & Limnological Research.<br>
AntiVirus system managed by Eli W. Tel. 972-4-8565267<br>
IMPORTANT: Do not open attachments from unrecognized senders. Never open attached files with extensions: *.pif, *.scr, *.vbs, *.exe.<br>
***********************************************************</blockquote></div><br>