[gdal-dev] Re:[FWTools] GDALRasterizeGeometries() and Python

Matthieu Rigal rigal at rapideye.de
Mon Jun 29 08:59:35 EDT 2009


Hi Frank and GDAL-dev team,

By reading the following message and unsuccessfully searching for 
documentation and possibilities to rasterize geometries, I would be pleased 
to know if the Python bindings for GDALRasterizeGeometries() are still 
somehow planned.

If no bindings are planned is there another work-around than invoking the 
utilities from the shell to mask raster data from vector data, within gdal or 
within numpy (after ReadAsArray) ?

Best regards,
Matthieu

-------------------

Travis,

I have checked, and can confirm that the rasterize geometries function
is not currently exposed in Python at all.  I've been adding bindings for
some other algorithms this week, and I'll look at adding one for this too,
though I think it may be a bit tricky.

Best regards,


On Wed, Sep 17, 2008 at 11:39 AM, Travis Kirstine
<traviskirstine at gmail.com> wrote:
> I'm was hoping to use GDALRasterizeGeometries()  from the gdal_agl.h
> file with python to burn polygons from PostGIS into a geotiff.  I
> don't believe that there are python binding available, am I correct?
>
> --
> Travis K.
>
> Toronto, Canada
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/

RapidEye AG
Molkenmarkt 30
14776 Brandenburg an der Havel
Germany

Follow us on Twitter! www.twitter.com/rapideye_ag
 
Head Office/Sitz der Gesellschaft: Brandenburg an der Havel
Management Board/Vorstand: Wolfgang G. Biedermann
Chairman of Supervisory Board/Vorsitzender des Aufsichtsrates: Axel Schmalz
Commercial Register/Handelsregister Potsdam HRB 17 796
Tax Number/Steuernummer: 048/100/00053
VAT-Ident-Number/Ust.-ID: DE 199331235
DIN EN ISO 9001 certified
 
*************************************************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
 
The information in this e-mail is intended for the named recipients
only. It may contain privileged and confidential information. If you
have received this communication in error, any use, copying or
dissemination of its contents is strictly prohibited. Please erase all
copies of the message along with any included attachments and notify
RapidEye AG or the sender immediately by telephone at the number
indicated on this page.


More information about the gdal-dev mailing list