Le samedi 21 juin 2014 18:10:38, Robert Grah a écrit : > Hey there, > > im trying to get a contour out of an GeoTiff file as transparent PNG or > TIFF or even better as PDF/SVG or EPS file in my C++ program. I found > gdal_contour but was not able to get PDF driver running. > How can I install more drivers to GDAL? > > So my approach so far is like following: > > gdal_contour -i 50 mygeotiff.tif contour > gdal_rasterize -burn 0 -l contour contour mygeotiff.tif > > But with this I am not able to get a transparent contour. > Is there a different approach beside the command line utils to get contours > in vectorformat or transparent png/tif out of the geoTiff? It would be > also great to add some anti-aliasing ;)...
Robert, I'm able to generate a transparent PDF with a command line like : gdal_contour -i 50 in.tif out.pdf -f pdf You presumably need at least GDAL 1.10. Even > > Cheers, > Rob > > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- Geospatial professional services http://even.rouault.free.fr/services.html _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
