[postgis-users] ST_CoveredBy supporting geography?

2010-05-11 Thread Nicholas Bower
I've read the 1.5 reference docs but can't figure out what is wrong with below. ST_CoveredBy(geography, geography) should work right? select count(*) from t_swath_metadata where ST_CoveredBy( ST_GeogFromText('SRID=4326;POLYGON((123.1773295292851 -16.07501950971949,

Re: [postgis-users] ST_CoveredBy supporting geography?

2010-05-11 Thread Paul Ramsey
Bad sentence construction in the error, perhaps? The restriction only polygon and point means that one argument must be a polygon and one must be a point. Both your arguments are polygons. P. On Tue, May 11, 2010 at 4:51 AM, Nicholas Bower n...@petangent.net wrote: I've read the 1.5 reference

Re: [postgis-users] ST_CoveredBy supporting geography?

2010-05-11 Thread Nick Bower
Thanks but not according to the doc I think? 1) Abstract superclass is mentioned in API, not point, 2) the SQL example uses circles 3) the blog link specifically uses polygons in it's discussion of OGC coverage behaviour.

Re: [postgis-users] ST_CoveredBy supporting geography?

2010-05-11 Thread Paragon Corporation
: [postgis-users] ST_CoveredBy supporting geography? Thanks but not according to the doc I think? 1) Abstract superclass is mentioned in API, not point, 2) the SQL example uses circles 3) the blog link specifically uses polygons in it's discussion of OGC coverage behaviour. http

Re: [postgis-users] ST_CoveredBy supporting geography?

2010-05-11 Thread Nicholas Bower
On 12 May 2010 08:14, Paul Ramsey pram...@opengeo.org wrote: The doc example appears to not mention the limitation in the geography implementation, which can be fixed. The example is correct, insofar as it is against geometries, but again, doesn't illustrate the limitation in the geography

Re: [postgis-users] ST_CoveredBy supporting geography?

2010-05-11 Thread Paul Ramsey
On Tue, May 11, 2010 at 4:30 PM, Nicholas Bower n...@petangent.net wrote: On 12 May 2010 08:14, Paul Ramsey pram...@opengeo.org wrote: The doc example appears to not mention the limitation in the geography implementation, which can be fixed.  The example is correct, insofar as it is against

Re: [postgis-users] ST_CoveredBy supporting geography?

2010-05-11 Thread Nicholas Bower
Thanks for the clarification. True intersects (ST_Intersects) or bounding box intersects ()? I'll ask around and see if there is interest in funding something. Personally however I've been working with no secured funding on this for 3 years (not my day job) so can't fund myself sorry;

Re: [postgis-users] ST_CoveredBy supporting geography?

2010-05-11 Thread Paul Ramsey
Bounding box intersects () on geography will return sane-on-the-spheroid results, which then can be reprojected for use in geometry land. On Tue, May 11, 2010 at 5:47 PM, Nicholas Bower n...@petangent.net wrote: Thanks for the clarification.  True intersects (ST_Intersects) or bounding box