I do this before test with command gdalinfo --formats.<br><br>When I try this command I have SDE like format.<br>But the problem I think it's because the adress to search the "gdal_SDE.<div class="Ih2E3d">dll" have 2 "\\" and I don't know where I can change or specify this.<br>
<br>Thanks <br></div><br><br><div class="gmail_quote">2008/10/29 Jeff McKenna <span dir="ltr"><<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
David Martinez Morata wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
<br>
<br>
Hello<br>
<br>
I try to create the image with shp2img command but the message in the command prompt its:<br>
<br>
"msDrawMap(): Image handling error. Unable to initialize image.<br><br>
msPrepareImage(): General error message. Image dimensions not specified. <br>"<br>
<br>
And in error log of Apache server the adress of gdal_SDE.dll isn't correct<br>
<br>
"ERROR 1: Can't load requested DLL: C:/ms4w/gdalplugins\\gdal_SDE.dll\r<br>
126: Le module sp\xe9cifi\xe9 est introuvable.\r\r \r " <br>
<br>
Thanks for you help<br>
<br>
<br>
<br>
A good way of verifying that you can connect to SDE is by using the<br>
shp2img.exe commandline utility.<br>
(<a href="http://mapserver.gis.umn.edu/docs/reference/utilityreference/shp2img" target="_blank">http://mapserver.gis.umn.edu/docs/reference/utilityreference/shp2img</a>)<br>
<br>
What happens when you try to create a map image of your<br>
'SDE_cablage_all_001.map' mapfile using shp2img.exe????<br>
<br>
-- Jeff McKenna<br>
FOSS4G Consulting and Training Services<br>
<a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br>
_______________________________________________<br>
ms4w-users mailing list<br>
<br></div></div>
<a href="mailto:ms4w-users@lists.maptools.org" target="_blank">ms4w-users@lists.maptools.org</a> <mailto:<a href="mailto:ms4w-users@lists.maptools.org" target="_blank">ms4w-users@lists.maptools.org</a>><div class="Ih2E3d">
<br>
<a href="http://lists.maptools.org/mailman/listinfo/ms4w-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ms4w-users</a><br>
<br>
<br>
</div></blockquote>
<br>
David,<br>
<br>
A community member recently noticed the following:<br>
<br>
Liz Godwin wrote:<br>
> Something we also noticed is that OGR/GDAL would not recognize SDE<br>
> unless C:\Program Files\ArcGIS\Bin is in the PATH environment variable.<br>
> You might want to make that addition in your instructions.<br>
<br>
Hopefully that helps you.<br>
<br>
Also, maybe you should include your SDE layer from your mapfile so everyone can see it, in your next email.<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
-- <br>
Jeff McKenna<br>
FOSS4G Consulting and Training Services<br>
<a href="http://www.gatewaygeomatics.com/" target="_blank">http://www.gatewaygeomatics.com/</a><br>
_______________________________________________<br>
ms4w-users mailing list<br>
<a href="mailto:ms4w-users@lists.maptools.org" target="_blank">ms4w-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ms4w-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ms4w-users</a><br>
</div></div></blockquote></div><br>