Re: [gdal-dev] Setting accuracy of OGRPoint?

2012-03-14 Thread Frank Warmerdam
On Wed, Mar 14, 2012 at 5:36 PM, Michael Speth wrote: > Is there a function for setting the accuracy of an OGRPoint?  Meaning, a > point is recorded as (1.0,1.0) with a +- variance of 0.01.  How do I set the > accuracy of 0.01? Michael, No, there is no way to represent the accuracy of an OGRPoin

[gdal-dev] Setting accuracy of OGRPoint?

2012-03-14 Thread Michael Speth
Is there a function for setting the accuracy of an OGRPoint? Meaning, a point is recorded as (1.0,1.0) with a +- variance of 0.01. How do I set the accuracy of 0.01? Thanks -- Michael Speth Research Systems Developer Landcare Research ___ gdal-dev

[gdal-dev] Re: Memory leaks in Geo::OGR::Geometry Points() swig Perl function

2012-03-14 Thread Ari Jolma
On 03/14/2012 01:34 PM, Ari Jolma wrote: On 03/14/2012 12:59 PM, Ivan Balashov wrote: I appologize that it is memory leak within Points() function. After some research I conclude that in several cases the returned value was not made "mortal", i.e., the Perl variables could not be garbage c

Re: [gdal-dev] GDALOpen failed on GRC grid

2012-03-14 Thread mladen-g
Hi, I did some more research, and compared a working grid against the one that fails to open. Here is the working grid, which is almost exactly the same as the failing one (~50K difference in file sizes): http://dl.dropbox.com/u/53500018/WorkingGdalOpen.zip Comparing the two in a binary e

[gdal-dev] Re: Memory leaks in Geo::OGR::Geometry Points() swig Perl function

2012-03-14 Thread Ari Jolma
On 03/14/2012 12:59 PM, Ivan Balashov wrote: Hello, Ari! We are using Geo::OGR perl library installed from FreeBSD gdal port (http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/gdal/) ver. 1.8.1 with perl v5.10.1 for geomery operations on forest fire polygons, in particular, Points functio