On mardi 29 mai 2018 00:09:42 CEST Aklim wrote:
> Hello.
> 
> I try to mosaic images using gdalwrap from following instructions here
> https://download.osgeo.org/gdal/workshop/foss4ge2015/workshop_gdal.html#__Re
> fHeading__5961_1333016408
> <https://download.osgeo.org/gdal/workshop/foss4ge2015/workshop_gdal.html#__
> RefHeading__5961_1333016408>
> 
> 1. problem with pct2rgb
> Traceback (most recent call last):
>   File "C:\OSGEO4~1\bin\pct2rgb.py", line 121, in <module>
>     ct_size = ct.GetCount()
> AttributeError: 'NoneType' object has no attribute 'GetCount'

That means your input raster has no color table.  You don't need to do that 
preliminary step.
The tutorial works out-of-the-box only with the input data it was written.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to