I would like to vectorize a PNG containing lines (DN=1 for line, DN=0 for transparent background). See below. As the data is georeferenced I'm asking it here. I would like to automate the vectorization and I'm currently looking into Python/GDAL/QGIS solutions with a vector result in the form of a shapefile. I found gdal_polygonize but this tools creates a polygon shapefile while I would like to create polylines. Does anyone have an idea how to make this work?
UPDATE: Searching for an open source solution, so without using ArcGIS like this solution.