Hello Greg,

I am running Mapserver as a IIS cgi-bin component. Installed it in C:\Mapserver and then set the environment variables as follows.

Path %PATH%;
C:\MapServer\cgi-bin;
C:\MapServer\tools\gdal-ogr;
C:\MapServer\tools\mapserv;
C:\MapServer\tools\shapelib;
C:\MapServer\proj\bin;
C:\MapServer\tools\shp2tile;
C:\MapServer\tools\shpdiff;
C:\MapServer\tools\avce00;

GDAL_DATA        C:\Mapserver\gdaldata
GDAL_DRIVER_PATH    C:\Mapserver\gdalplugins
PROJ_LIB        C:\MapServer\proj\nad

Also make sure that the user under whom you use the tools has read access rights on ALL the directories required by the different mapserver dll's


Pearson, Gregory schreef:

Has anyone had issues with using ogrinfo.exe? I get the following error message:

 

 

 

 

I found the file in the cgi-bin folder and copied it to the local gdal-ogr folder, but then received another error on a different *dll. So, I copied all the dlls to the local directory and then it worked. What’s the right way to have it reference the files in the cgi-bin directory?

 

Greg


Reply via email to