[Gdal-dev] How to Create a Geometry Filter

Kent Eschenberg eschenbe at psc.edu
Thu Oct 11 14:36:16 EDT 2007


Christopher,

Thanks! I found your routine in the C++ documentation but still haven't found a 
description of WKB or WKT. Still, your example is one solid solution.

Kent

Christopher Schmidt wrote:
> One thing you might do instead is use CreateGeometryFromWKT. In Python,
> this is: 
> ogr.CreateGeometryFromWkt("POLYGON((0 0, 1 0, 1 1, 0 1, 0 0))")



More information about the Gdal-dev mailing list