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?<div><br></div><div><div> select count(*) from t_swath_metadata where ST_CoveredBy(</div>
<div> ST_GeogFromText('SRID=4326;POLYGON((123.1773295292851 -16.07501950971949,</div><div> 122.745660066063 -16.83965661151543,</div><div> 124.1310486688905 -16.44978157737539,</div>
<div> 123.1773295292851 -16.07501950971949))'), swath_bounding);</div><div><br></div><div><div>ERROR: geography_covers: only POLYGON and POINT types are currently supported</div><div>CONTEXT: SQL function "st_covers" statement 1</div>
<div><br></div><div>********** Error **********</div><div><br></div><div>ERROR: geography_covers: only POLYGON and POINT types are currently supported</div><div>SQL state: XX000</div><div>Context: SQL function "st_covers" statement 1</div>
<div><br></div><div><br></div><div><div>db=> \d t_swath_metadata;</div><div>...</div><div><div> swath_bounding | geography(Polygon,4326) |</div><div><div>Indexes:</div><div> ...</div><div> "t_swath_metadata_swath_bounding_key" gist (swath_bounding)</div>
<div><br></div><div><br></div><div>Thanks, Nick</div><div><br></div></div></div></div></div></div>