With only using GDAL command line tools is it possible to avoid those white borders around edges of features?
I am using gdal_translate to convert vector PDF to raster mbtiles (OGR is not recognizing PDF format but GDAL does)
gdal_translate -of mbtiles --config GDAL_PDF_DPI 300 test.pdf test.mbtiles gdalbuildvrt -srcnodata 255 output.vrt test.mbtiles
(I am using first
gdal_translate with some
-gcp points to georeference nonspatial-pdf but I have removed it here for easy reading)
I am getting this result:
but this is what I want: