pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Asli Akarsakarya <asliakar@yahoo.com>
To: Filip RembiaƂkowski <plk.zuber@gmail.com>
Cc: \"pgsql-sql@postgresql.org\" <pgsql-sql@postgresql.org>
Subject: Re: a spatial table's bounding box
Date: Tue, 4 Oct 2011 11:22:19 -0700 (PDT)
Message-ID: <1317752539.52809.YahooMailNeo@web45104.mail.sp1.yahoo.com> (raw)

Thank you very much.

>I would try >SELECT st_envelope( st_collect(geom) ) FROM roads; >HTH, Filip>> 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? 


view thread (3+ messages)

Message-ID: <1317752539.52809.YahooMailNeo@web45104.mail.sp1.yahoo.com>
Permalink:  ../1317752539.52809.YahooMailNeo@web45104.mail.sp1.yahoo.com/
Also on:    postgresql.org/message-id/1317752539.52809.YahooMailNeo@web45104.mail.sp1.yahoo.com

 · 

reply

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, plk.zuber@gmail.com
  Subject: Re: a spatial table's bounding box
  In-Reply-To: <1317752539.52809.YahooMailNeo@web45104.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