On Tue, 2009-11-10 at 17:44 -0500, John Mitchell wrote:
> I have trying to use a raster mrsid format file within my mapfile and
> I get the following error:
> world.sid not recognized as a supported file format in layer.
> Below is the referred layer.
>
> <Layer name="raster" status="on">
> <StyleName>raster</StyleName>
> <Datasource>
> <Parameter name="type">gdal</Parameter>
> <Parameter
> name="file">c:/mapnik_0_6_1/world_boundaries/world.sid</Parameter>
> <Parameter name="format">mrsid</Parameter>
> </Datasource>
> </Layer>
Are you sure you have rebuilt gdal with the mrsid support enabled? This
format is not included by default and requires a proprietary SDK.
Is the mapnik gdal plugin picking up this version of gdal?
maybe look at: ldd /path/to/gdal.input | grep gdal
e.g.
$ ldd /usr/local/lib64/mapnik/input/gdal.input | grep gdal
libgdal.so.1 => /usr/lib64/libgdal.so.1 (0x00007f70337fd000)
Jon
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users