From: Asli Akarsakarya <asliakar@yahoo.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: a spatial table's bounding box
Date: Wed, 21 Sep 2011 23:04:50 -0700 (PDT)
Message-ID: <1316671490.39010.YahooMailNeo@web45109.mail.sp1.yahoo.com> (raw)
Hello, My question is a basic one for postGIS, I believe. It should have a primitive answer somewhere, but I don't have it. I want to get the extensions of spatial table. Say that there is a spatial table named 'roads', and a some road geometry inside. I want to fetch the bounding box (envelope or extension) for that table, that means for all the roads that it has. According the OGC specification, this should be defined in the "geometry_columns" table. As four columns, "minX", "minY", "maxX" and "maxY". But I couldn't find it anywhere on my postgis. Yet. From which table/view? With what SQL? Thanks for your answers, Aslı.
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: asliakar@yahoo.com
Subject: Re: a spatial table's bounding box
In-Reply-To: <1316671490.39010.YahooMailNeo@web45109.mail.sp1.yahoo.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