[Gdal-dev] OGR Geometry Contains() function

Didrik Pinte dpinte at itae.be
Wed Feb 8 11:09:04 EST 2006


Le mercredi 08 février 2006 à 16:36 +0100, Mateusz Łoskot a écrit :
> 
> http://www.gdal.org/ogr/classOGRGeometry.html#ce5cb0b6728fa36d7e8e8a679244640c
> http://geos.refractions.net/ro/doxygen_docs/html/classgeos_1_1Geometry.html#a40
> 
> They will return buffer as object of type of geometry and then you can 
> perform spatial relations checks.
> 
> I'm not sure they are exposed for Python.

They are exposed in Python :

did at geru-itae:~/$ python
Python 2.3.5 (#2, Nov 20 2005, 16:40:39)
[GCC 4.0.3 20051111 (prerelease) (Debian 4.0.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ogr
>>> help(ogr.Geometry.Buffer)

Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060208/8ff970a0/attachment.bin


More information about the Gdal-dev mailing list