[ms4w-users] Problem With SDE conection

David Martinez Morata damarmo at gmail.com
Wed Oct 29 10:07:12 EDT 2008


I do this before test with command gdalinfo --formats.

When I try this command I have SDE like format.
But the problem I think it's because the adress to search the "gdal_SDE.dll"
have 2 "\\" and I don't know where I can change or specify this.

Thanks


2008/10/29 Jeff McKenna <jmckenna at gatewaygeomatics.com>

> 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
>>
>>
>>
> David,
>
> 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
> http://www.gatewaygeomatics.com/
> _______________________________________________
> ms4w-users mailing list
> ms4w-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ms4w-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20081029/52b7e1bd/attachment.html


More information about the ms4w-users mailing list