ogr2ogr -f GeoJSON data.geojson input.kml # rasterize at zoom X resolution — determine extent and pixel size based on zoom gdal_rasterize -burn 1 -ts WIDTH HEIGHT -te xmin ymin xmax ymax data.geojson raster.tif gdal_translate -of MBTILES raster.tif output.mbtiles
KML is an XML-based format primarily used for geographic annotations and visualization in tools like Google Earth
Online converters often strip styling (colors/widths) and default to black lines on a white background. Also, never upload proprietary or sensitive data.