[Gdal-dev] problem with new pyton-gdal

Alessandro Amici alexamici at fastwebnet.it
Tue Feb 10 11:34:21 EST 2004


On Tuesday 10 February 2004 16:52, Frank Warmerdam wrote:
> Fulko van Westrenen wrote:
> > IndexError: No layer BOYLAT on datasource
>
> ...
>
> > GetLayerCount() reports 4 layers, there should be 57(?)
> >
> > Downgrading is not an option. Does anyone have an idea what is wrong?
>
> Fulko,
>
> The problem is that the S-57 reader can't find the S-57 .csv files such as
> s57objectclasses.csv.   Normally these would be installed in
> /usr/local/share/gdal, are they on your system?
>
> In any event, you can likely get things working by setting the GDAL_DATA
> environment variable to point to the directory with the .csv files in it.
> When they aren't found the S-57 driver just makes layers from the object
> based on their geometry class instead of by object class.


Frank, might it be that the /usr/local prefix is hardcoded somewhere?

the debian package is compiled with --prefix=/usr, i'm investigating...

cheers,
alessandro



More information about the Gdal-dev mailing list