Specifying gdal input driver for mapserver
Lucena, Ivan
ivan.lucena at PMLDNET.COM
Mon Jun 25 15:20:36 PDT 2007
Norman,
GDAL has a very nice way to handle plug-ins dlls that I think should be
a solution for your. By using this technique you don't need to recompile
FWTools or MapServer in order to override the driver. That is what I am
doing with GDAL in ESRI stuff.
You need to compile a gdal_jpeg.dll based on the library your prefer and
then you can set the GDAL_DRIVER_PATH on the MapServer environment to
point to the folder where this dll resides.
You need to make sure that the plugin dll is compiled with the same GDAL
version as GDAL in MapServer (and FWTools if you want) and you should
also make sure that you are using VS2003/VC71.
Ivan
Norman Barker wrote:
> Hi,
>
> Is there a way to specify the GDAL input driver for MapServer? I would
> like to choose JP2KAK over JP2ECW on a windows machine? Normally I
> would compile GDAL with just the driver I need, but I want to use
> FWTools for ease of deployment on Windows.
>
> It seems that the JP2ECW driver doesn't handle colour too well on some
> of my images, and also there is the license problem.
>
> Many thanks,
>
> Norman Barker
>
>
More information about the MapServer-users
mailing list