pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #6556: earthdistance module has lacking documentation
4+ messages / 4 participants
[nested] [flat]

* BUG #6556: earthdistance module has lacking documentation
@ 2012-03-26 00:00  kontakt@sandberg-consult.dk
  0 siblings, 1 reply; 4+ messages in thread

From: kontakt@sandberg-consult.dk @ 2012-03-26 00:00 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      6556
Logged by:          Kasper Sandberg
Email address:      kontakt@sandberg-consult.dk
PostgreSQL version: 9.1.3
Operating system:   -
Description:        

looking at http://www.postgresql.org/docs/9.1/static/earthdistance.html

it looks very scarce and missing, and conflicting, some things operate based
on miles, others meters. it also doesnt specify the units used for
earth_distance() which seems to be meters.




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #6556: earthdistance module has lacking documentation
@ 2012-03-28 21:43  Kevin Grittner <Kevin.Grittner@wicourts.gov>
  parent: kontakt@sandberg-consult.dk
  0 siblings, 1 reply; 4+ messages in thread

From: Kevin Grittner @ 2012-03-28 21:43 UTC (permalink / raw)
  To: pgsql-bugs; kontakt@sandberg-consult.dk

<kontakt@sandberg-consult.dk> wrote:
 
> looking at
> http://www.postgresql.org/docs/9.1/static/earthdistance.html
> 
> it looks very scarce and missing, and conflicting, some things
> operate based on miles, others meters. it also doesnt specify the
> units used for earth_distance() which seems to be meters.
 
Any chance you could submit a patch to the source file?:
 
doc/src/sgml/earthdistance.sgml
 
... or, barring that, suggest particular language at particular
line numbers in the source based on the gitweb page?:
 
http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=doc/src/sgml/earthdistance.sgml;h=f9002b...
 
-Kevin



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #6556: earthdistance module has lacking documentation
@ 2012-03-28 23:36  Kasper Sandberg <kontakt@sandberg-consult.dk>
  parent: Kevin Grittner <Kevin.Grittner@wicourts.gov>
  0 siblings, 1 reply; 4+ messages in thread

From: Kasper Sandberg @ 2012-03-28 23:36 UTC (permalink / raw)
  To: Kevin Grittner <Kevin.Grittner@wicourts.gov>; +Cc: pgsql-bugs

Yeah I will try provide a patch.

I am not entirely certain how the wording should be, but I only 
understood that the cube based aproach is by default in meters after 
testing it out, though now of course it occurs to me that of course it 
is, given the math involved and that earth() is in meters, but i still 
feel that it should be pointed out that the cube based functions will, 
by default, due to earth() using meters, be in meters.

I will sleep on it a day or two and suggest a patch.

On 28/03/12 23:43, Kevin Grittner wrote:
> <kontakt@sandberg-consult.dk>  wrote:
>
>> looking at
>> http://www.postgresql.org/docs/9.1/static/earthdistance.html
>>
>> it looks very scarce and missing, and conflicting, some things
>> operate based on miles, others meters. it also doesnt specify the
>> units used for earth_distance() which seems to be meters.
>
> Any chance you could submit a patch to the source file?:
>
> doc/src/sgml/earthdistance.sgml
>
> ... or, barring that, suggest particular language at particular
> line numbers in the source based on the gitweb page?:
>
> http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=doc/src/sgml/earthdistance.sgml;h=f9002b...
>
> -Kevin


-- 
Kasper Sandberg
Sandberg Enterprises
+45 51944242
http://www.sandbergenterprises.dk




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #6556: earthdistance module has lacking documentation
@ 2012-03-29 09:55  Gavin Flower <GavinFlower@archidevsys.co.nz>
  parent: Kasper Sandberg <kontakt@sandberg-consult.dk>
  0 siblings, 0 replies; 4+ messages in thread

From: Gavin Flower @ 2012-03-29 09:55 UTC (permalink / raw)
  To: Kasper Sandberg <kontakt@sandberg-consult.dk>; +Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>; pgsql-bugs

On 29/03/12 12:36, Kasper Sandberg wrote:
> Yeah I will try provide a patch.
>
> I am not entirely certain how the wording should be, but I only 
> understood that the cube based aproach is by default in meters after 
> testing it out, though now of course it occurs to me that of course it 
> is, given the math involved and that earth() is in meters, but i still 
> feel that it should be pointed out that the cube based functions will, 
> by default, due to earth() using meters, be in meters.
>
> I will sleep on it a day or two and suggest a patch.
>
> On 28/03/12 23:43, Kevin Grittner wrote:
>> <kontakt@sandberg-consult.dk>  wrote:
>>
>>> looking at
>>> http://www.postgresql.org/docs/9.1/static/earthdistance.html
>>>
>>> it looks very scarce and missing, and conflicting, some things
>>> operate based on miles, others meters. it also doesnt specify the
>>> units used for earth_distance() which seems to be meters.
>>
>> Any chance you could submit a patch to the source file?:
>>
>> doc/src/sgml/earthdistance.sgml
>>
>> ... or, barring that, suggest particular language at particular
>> line numbers in the source based on the gitweb page?:
>>
>> http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=doc/src/sgml/earthdistance.sgml;h=f9002b... 
>>
>>
>> -Kevin
>
>
Should be 'metres' not 'meters'! :-)





^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2012-03-29 09:55 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-03-26 00:00 BUG #6556: earthdistance module has lacking documentation kontakt@sandberg-consult.dk
2012-03-28 21:43 ` Kevin Grittner <Kevin.Grittner@wicourts.gov>
2012-03-28 23:36   ` Kasper Sandberg <kontakt@sandberg-consult.dk>
2012-03-29 09:55     ` Gavin Flower <GavinFlower@archidevsys.co.nz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox