Hi,

Captured from gis.stackexchange 
https://gis.stackexchange.com/questions/264899/create-mbtiles-from-geojson-in-raster-format

I made some test data in EPSG:3857 and while GeoTIFF output works fine with 
GDAL 2.3dev

gdal_rasterize -ot Byte  -burn 255 -burn 0 -burn 0 -ts 4950 4950
-of GTiff points_3857.json points_3857.tif -co tiled=yes
0...10...20...30...40...50...60...70...80...90...100 - done.

the same command with MBTiles outpur gives me the same error than in the 
question

gdal_rasterize -ot Byte  -burn 255 -burn 0 -burn 0 -ts 4950 4950
-of MBTiles points_3857.json points_3857.mbtiles
ERROR 6: Could not find an appropriate zoom level that matches raster pixel size

0...10...20...30...40...50...60...70...80...90...100 - done.
ERROR 6: IWriteBlock() not supported if georeferencing not set
ERROR 6: IWriteBlock() not supported if georeferencing not set
ERROR 6: IWriteBlock() not supported if georeferencing not set

So it seems that having geojson as input is not the issue, but having MBTiles 
as output.

-Jukka Rahkonen-


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to