I am trying to use GDAL 2.2.2 and the
gdal_polygonizecommand to convert a TIF into vector MBtiles from the link:
I run the following command on the tif as in the link:
gdal_polygonize.py -8 -nomask -b 1 input_4326.tif \ -f "MBTiles" output.mbtiles \ -lco NAME=nameoutput \ -dsco WRITE_BOUNDS=YES \ -dsco MAX_FEATURES=20000000 \ -dsco MAXZOOM=15
However I get the following ERROR:
Traceback (most recent call last): File "/usr/bin/gdal_polygonize.py", line 180, in dst_ds = drv.CreateDataSource( dst_filename ) AttributeError: 'NoneType' object has no attribute 'CreateDataSource'
It seems to me that I do not have the GDAL MBTiles Driver 'installed':
I installed gdal onto Uubntu 16.04 via the terminal.
Is there anything I can do to get this working?