[gdal-dev] Setting accuracy of OGRPoint?
sylvain.maffren at crige-paca.org
Thu Mar 15 04:14:27 EDT 2012
I have already posted a similar subject last year
There isn't an option in ogr2oge which allow to control accuracy or
rounding coordinates. But I could be possible to add en option in each
drivers you are interested in.
Even, I really apologize because I had not seen you had answered me in
Le 15/03/2012 01:42, Frank Warmerdam a écrit :
> On Wed, Mar 14, 2012 at 5:36 PM, Michael Speth
> <spethm at landcareresearch.co.nz> 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?
> No, there is no way to represent the accuracy of an OGRPoint.
> Some OGR drivers store things in fixed precision and offer
> mechanisms to control the precision. GEOS also has a concept
> of this though it is not exposed through the OGR GEOS bindings
> as far as I know.
> Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev