[HACKERS] Postgres Geo Data Types
[HACKERS] Postgres Geo Data Types
От:
Fabrizio Sciarra <fabrizio@pisa.intecs.it>
Дата:
Hello everybody ! Is there anyone using geo data types ? Algorithms in Postgres6.1 seems to be too unaccurate for my purposes. Aren't for you ? What can we do ? Any plans ? Thanks ! - -- Fabrizio Sciarra ! Tel +39 50 545 111 Intecs sistemi spa ! Fax +39 50 545 200 via Gereschi 32-34, 56100 Pisa ITALY. ! - -- My opinions are mine, not necessarly of my employers -- * Linux. The choice of a GNU generation * Ada community member. ------------------------------
Re: [HACKERS] Postgres Geo Data Types
От:
"Thomas G. Lockhart" <Thomas.Lockhart@jpl.nasa.gov>
Дата:
Fabrizio Sciarra wrote: > Is there anyone using geo data types ? > Algorithms in Postgres6.1 seems to be too unaccurate for my purposes. > Aren't for you ? What can we do ? Any plans ? Uh, could you please be specific? What "algorithms" are inaccurate? Most of the code is inherited from previous versions of Postgres, but I have done extensive work on the input/output formats, internal storage, adding a circle data type, comparison operators, and conversion operators between types. Most math is double precision float, so should be fairly accurate in principle. However, older versions of Postgres had at least some floating point operations rounded to 7 digits for purposes of comparisons!?! Made the regression tests and low precision work easier, but... - Tom ------------------------------