Skip site navigation (1) Skip section navigation (2)

Create GEOM Column

From: James Smith <james(dot)david(dot)smith(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Create GEOM Column
Date: 2011-05-29 20:27:30
Message-ID: BANLkTimOL=dx90Ck2uMJtcDq0Dvuimyxbg@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
Dear all,

Would appreciate some help. I have created an existing database (with
PostGIS extension) andhas a table called CAMDENGPS which is populated
with approx 600,000 rows. There are 20 or so columns in the table, two
of which are Latitude and Longitude (WGS84). I would now like to
create a Geom column with points in, the values of which should be
taken from the other columns. Could someone provide me with sample
code as to how to do this please?

Thank you

James

Responses

pgsql-novice by date

Next:From: ThangalinDate: 2011-05-29 21:47:31
Subject: Unexpected results: string vs. direct SQL
Previous:From: Steve CrawfordDate: 2011-05-27 23:43:48
Subject: Re: Revoke Public Database Connect

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group