[ms4w-users] Problem With SDE conection

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Oct 29 09:40:08 EDT 2008

David Martinez Morata wrote:
> Hello
> I try to create the image with shp2img command but the message in the 
> command prompt its:
> "msDrawMap(): Image handling error. Unable to initialize image.<br>
> msPrepareImage(): General error message. Image dimensions not specified. 
> <br>"
> And in error log of Apache server the adress of gdal_SDE.dll isn't correct
> "ERROR 1: Can't load requested DLL: C:/ms4w/gdalplugins\\gdal_SDE.dll\r
> 126: Le module sp\xe9cifi\xe9 est introuvable.\r\r                    
> \r "                                                                   
> Thanks for you help
>     A good way of verifying that you can connect to SDE is by using the
>     shp2img.exe commandline utility.
>     (http://mapserver.gis.umn.edu/docs/reference/utilityreference/shp2img)
>     What happens when you try to create a map image of your
>     'SDE_cablage_all_001.map' mapfile using shp2img.exe????
>     -- 
>     Jeff McKenna
>     FOSS4G Consulting and Training Services
>     http://www.gatewaygeomatics.com/
>     _______________________________________________
>     ms4w-users mailing list
>     ms4w-users at lists.maptools.org <mailto:ms4w-users at lists.maptools.org>
>     http://lists.maptools.org/mailman/listinfo/ms4w-users


A community member recently noticed the following:

Liz Godwin wrote:
 > Something we also noticed is that OGR/GDAL would not recognize SDE
 > unless C:\Program Files\ArcGIS\Bin is in the PATH environment variable.
 > You might want to make that addition in your instructions.

Hopefully that helps you.

Also, maybe you should include your SDE layer from your mapfile so 
everyone can see it, in your next email.

Jeff McKenna
FOSS4G Consulting and Training Services

More information about the ms4w-users mailing list