[gdal-dev] Length method for geometries in bindings

2010-02-18 Thread Ari Jolma
Folks, I added a Length() method for geometries into bindings. The method re-dos a simple euclidean distance as the get_Length of OGR proper is not exposed. I hope this is ok. Length is in OGC SF with that name. However, the standard specifies that the length should be in its associated

Re: [gdal-dev] Length method for geometries in bindings

2010-02-18 Thread Frank Warmerdam
Ari Jolma wrote: Folks, I added a Length() method for geometries into bindings. The method re-dos a simple euclidean distance as the get_Length of OGR proper is not exposed. Ari, I'm not clear on why you reimplemented it for the bindings instead of just exposing it from the core, and

Re: [gdal-dev] Length method for geometries in bindings

2010-02-18 Thread Frank Warmerdam
Ari Jolma wrote: Frank Warmerdam wrote: Ari Jolma wrote: Folks, I added a Length() method for geometries into bindings. The method re-dos a simple euclidean distance as the get_Length of OGR proper is not exposed. Ari, I'm not clear on why you reimplemented it for the bindings instead of