Thanks a bunch Paul. <div>I did arrive those findings after I posted the query.<div>Now I am thinking how to do what I want to do if I want the polygon to be with the great circles in postgis.</div><div><br></div><div>Any pointers.</div>
<div><br></div><div>Regards,</div><div>Mahesh</div><div><br><div class="gmail_quote">On 13 June 2011 17:49, Paul Ramsey <span dir="ltr"><<a href="mailto:pramsey@opengeo.org">pramsey@opengeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">And relatedly, here's why Google Earth gives the wrong visual answer.<br>
<br>
<a href="http://blog.opengeo.org/2010/08/10/shape-of-a-polygon/" target="_blank">http://blog.opengeo.org/2010/08/10/shape-of-a-polygon/</a><br>
<font color="#888888"><br>
P.<br>
</font><div><div></div><div class="h5"><br>
On Mon, Jun 13, 2011 at 9:47 AM, Paul Ramsey <<a href="mailto:pramsey@opengeo.org">pramsey@opengeo.org</a>> wrote:<br>
> You're thinking in straight lines, not great circles. Here's what your<br>
> "box" actually looks like<br>
><br>
> <a href="http://www.gcmap.com/mapui?P=10N+170E-10N+0E%2C%0D%0A10N+170E-5N+170E%2C%0D%0A5N+170E-5N+0E%2C%0D%0A5N+0E-10N+0E&MS=wls&DU=mi" target="_blank">http://www.gcmap.com/mapui?P=10N+170E-10N+0E%2C%0D%0A10N+170E-5N+170E%2C%0D%0A5N+170E-5N+0E%2C%0D%0A5N+0E-10N+0E&MS=wls&DU=mi</a><br>

><br>
> I can see how that could hit your Russian foot print.<br>
><br>
> P.<br>
><br>
> On Mon, Jun 13, 2011 at 6:54 AM, Mahesh Ghule <<a href="mailto:mahesh.ghule@gmail.com">mahesh.ghule@gmail.com</a>> wrote:<br>
>> Hello Guys,<br>
>> After lot of head scratching I have decided to post this email.<br>
>> We have a PostGIS 1.5.1 on PostgreSQL 8.4<br>
>> select<br>
>> ST_AsText('0105000020E6100000010000000102000000020000009FAEEE586C8C5240029CDEC5FBF94D406B44300E2EDB5140D591239D81D14C40'::geography)<br>
>> as TextFootPrint,<br>
>><br>
>>  ST_Intersects('0105000020E6100000010000000102000000020000009FAEEE586C8C5240029CDEC5FBF94D406B44300E2EDB5140D591239D81D14C40'::geography,<br>
>> ST_GeographyFromText('POLYGON((0 10,170 10,170 5,0 5,0 10))')) as<br>
>> Intersects;<br>
>> yields following result<br>
>> TextFootPrint<br>
>>                   |          Intersects<br>
>> -------------------------------------------------------------------------------------------------------------------<br>
>> MULTILINESTRING((74.194113 59.952996,71.424686 57.636768))      |          t<br>
>><br>
>> Which as I understand is not correct. The footprint is a line string<br>
>> somewhere over Russia and the Polygon is a band in north hemisphere just<br>
>> above equator.<br>
>> Also when I visualise the both geographies as KML in google earth I can see<br>
>> them thousands of miles apart.<br>
>> This is just one example footprint where I have tens of thousand more in my<br>
>> DB like this.<br>
>> Please help me understand what is going on?<br>
>><br>
>> Regards,<br>
>> Mahesh<br>
>><br>
>> _______________________________________________<br>
>> postgis-users mailing list<br>
>> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
>><br>
>><br>
><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div></div></blockquote></div><br></div></div>