Martin Raspaud wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I rebound on the previous contour thread to ask if it is possible to burn
contours/borders into raster programatically with python ?

Martin,

Yes. The gdal_fillnodata.py utility is just a python script,and you can examine
it to see how to call the fillnodata algorithm.  The gdal_rasterize utility
is a program, but the algorithm is also exposed in python (with some loss of
flexibility) and it can be seen in use in the test script at:

  http://svn.osgeo.org/gdal/trunk/autotest/alg/rasterize.py

Good luck,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to