Re: Help with storing spatial (map coordinates) data?

From: Brent Wood <b(dot)wood(at)niwa(dot)co(dot)nz>
To: John Tregea <john(at)debraneys(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Help with storing spatial (map coordinates) data?
Date: 2006-06-12 23:33:42
Message-ID: 20060613113240.B64057@storm-user.niwa.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 12 Jun 2006, John Tregea wrote:

> Hi,
>
> I have recently switched to PostgreSQL and had no problem bringing our
> existing (my)SQL databases and data into the environment. I am now
> extending the functionality of our databases and want to start storing
> spatial information.
>
> The information is made up of latitude and longitude coordinates that
> define a point or location on the earth's surface. e.g. degrees, minutes
> and seconds north/south and degrees, minutes and seconds east/west.
>
> I have read up on custom data types (with input and output functions) in
> the docs but am not sure if that is the best way to go. Can anyone point
> me to a simple, workable implementation of storing and managing this
> type of data or advise me on how to structure a series of fields that
> could combine to the required string?
>
> I am running postgreSQL 8.1.4 under WinXP Pro and currently evaluating
> an X-Talk front end called Revolution for the GUI development and have
> only some general experience with SQL.

I stongly suggest you do not use tne native Postgres geometry capability,
but install PostGIS and use this instead.

See www.postgis.org

Brent Wood

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joachim Wieland 2006-06-13 00:40:16 Re: How can I retrieve a function result?
Previous Message Luis Alberto Pérez Paz 2006-06-12 23:24:24 How can I retrieve a function result?