[Gdal-dev] OGRGeometry::Distance

Frank Warmerdam warmerdam at pobox.com
Sun Sep 18 19:44:53 EDT 2005


On 9/18/05, Matthew Perry <perrygeo at gmail.com> wrote:
>    So as I was going through the methods of the Geometry class, I noticed
> that there were a bunch of them (GetPointCount, GetX, GetY, GetZ, SetPoint,
> AddPoint, more?) that aren't documented in the official OGRGeometry docs. 
> Are the python bindings that significantly different than the C++ methods?
> If so, It might be worth considering using a tool like epydoc to create
> GDAL/OGR documentation specifically for python. I'd be willing to head this
> up if there were significant interest in doing so.

Matt,

The Python (and other swig bindings) use the "simplified" C API 
for accessing geometry.  The downside to this is it doesn't match the
C++ API well and isn't really properly documented.  It would nice
to have some generic docs that would explain this for all the swig
interfaces to OGR Geometries.

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




More information about the Gdal-dev mailing list