Re: haversine formula with postgreSQL

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Jonathan Harahush <jharahush(at)gmail(dot)com>
Cc: Brent Wood <b(dot)wood(at)niwa(dot)co(dot)nz>, pgsql-general(at)postgresql(dot)org
Subject: Re: haversine formula with postgreSQL
Date: 2009-09-18 03:35:27
Message-ID: dcc563d10909172035j3276e297mf31cfd772e34dace@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Sep 17, 2009 at 8:37 PM, Jonathan Harahush <jharahush(at)gmail(dot)com> wrote:
> I do have PostGIS installed and I use it for other things (geoserver), but
> I'm not knowledgeable enough about it to the point where I understand how to
> get it to work with the Google Maps API.  I'll look into it.  In the
> meantime, I was hoping to create something based off of the GMaps/PHP/MySQL
> example I referenced in an earlier post since I'm still learning.
> The reason why I'm using Postgres is because it's installed at work.  We
> don't use MySQL.
>
> Thanks for all of the help so far!  I appreciate it.

The good news is that while postgresql is more persnickity about SQL
standards and it feels like you're dealing with a harsh task master,
the lessons learned are good ones. They'll translate to other
database engines, and in the future when mysql grows more standards
compliant too.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Johnson, Trevor 2009-09-18 04:05:54 PostgreSQL nonstandard use of escape in a string literal
Previous Message Jonathan Harahush 2009-09-18 02:37:38 Re: haversine formula with postgreSQL