jlmcgraw / aviationCharts

Prepare Aeronav charts (sectional, IFR low/high, WAC, TAC, heli etc) for use as a seamless mosaic of mbtiles
64 stars 33 forks source link

Tiler tools error #12

Open calonmerc opened 4 years ago

calonmerc commented 4 years ago

When running ./make_seamless_charts.sh -s -m /home/calonmerc/aeronav/ 10-10-2019 I get this error:

I found another issue stating that the script does not work with GDAL 2.x+, but on Ubuntu 19.04, there is no package under GDAL 2.0 found in the apt cache.

--------Tiling Honolulu_Inset_SEC------------
Zoom levels are 0,1,2,3,4,5,6,7,8,9,10,11,12
Traceback (most recent call last):
  File "./tilers_tools/gdal_tiler.py", line 28, in <module>
    from tiler_functions import *
  File "/home/calonmerc/aviationCharts/tilers_tools/tiler_functions.py", line 285, in <module>
    class GdalTransformer(gdal.Transformer):
TypeError: Error when calling the metaclass bases
    function() argument 1 must be code, not str