Hello Guys,<div><br></div><div>After lot of head scratching I have decided to post this email. </div><div>We have a PostGIS 1.5.1 on PostgreSQL 8.4</div><div><br></div><div><div><i>select ST_AsText('0105000020E6100000010000000102000000020000009FAEEE586C8C5240029CDEC5FBF94D406B44300E2EDB5140D591239D81D14C40'::geography) as TextFootPrint,</i></div>
<div><i>       ST_Intersects('0105000020E6100000010000000102000000020000009FAEEE586C8C5240029CDEC5FBF94D406B44300E2EDB5140D591239D81D14C40'::geography, ST_GeographyFromText('POLYGON((0 10,170 10,170 5,0 5,0 10))')) as Intersects;</i></div>
</div><div><br></div><div>yields following result</div><div><br></div><div>TextFootPrint                                                                                 |          Intersects</div><div>-------------------------------------------------------------------------------------------------------------------</div>
<div>MULTILINESTRING((74.194113 59.952996,71.424686 57.636768))      |          t</div><div><br></div><div><br></div><div>Which as I understand is not correct. The footprint is a line string somewhere over Russia and the Polygon is a band in north hemisphere just above equator. </div>
<div>Also when I visualise the both geographies as KML in google earth I can see them thousands of miles apart.</div><div><br></div><div>This is just one example footprint where I have tens of thousand more in my DB like this.</div>
<div><br></div><div>Please help me understand what is going on? </div><div><br></div><div><br></div><div>Regards,</div><div>Mahesh</div><div><br></div>