From: albrechtt@inseal.de
To: pgsql-sql@postgresql.org
Subject: Getting points from polygon
Date: 12 Aug 2004 09:59:23 -0700
Message-ID: <cf4494fc.0408120859.364d267c@posting.google.com> (raw)
Hello,
how can I get single xy-points from a polygon like for example:
CREATE TABLE "public"."country"
(
"country_id" INTEGER NOT NULL,
"geo" polygon NOT NULL
)
SELECT geo.x, geo.y FROM country WHERE geo.x=5
or
SELECT geo[24th point].x FROM country
...
Thanks in advance and best regards,
Sebastian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: albrechtt@inseal.de
Subject: Re: Getting points from polygon
In-Reply-To: <cf4494fc.0408120859.364d267c@posting.google.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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