Thanks again.<div>I did the same but thought if there was any better way.</div><div><br></div><div>Regards,</div><div>Mahesh<br><br><div class="gmail_quote">On 15 June 2011 17:10, 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;">It seems to me that the only way out of this conundrum (people with<br>
"boxes" they drew on projected maps) is to provide some densification<br>
functions so they can force their geometries to be closer to what they<br>
want by filling in points. Both geometry and geography could use some<br>
densification routines.<br>
<font color="#888888"><br>
P.<br>
</font><div><div></div><div class="h5"><br>
On Tue, Jun 14, 2011 at 2:11 AM, Mahesh Ghule <<a href="mailto:mahesh.ghule@gmail.com">mahesh.ghule@gmail.com</a>> wrote:<br>
> Thanks a bunch Paul.<br>
> I did arrive those findings after I posted the query.<br>
> Now I am thinking how to do what I want to do if I want the polygon to be<br>
> with the great circles in postgis.<br>
> Any pointers.<br>
> Regards,<br>
> Mahesh<br>
> On 13 June 2011 17:49, Paul Ramsey <<a href="mailto:pramsey@opengeo.org">pramsey@opengeo.org</a>> wrote:<br>
>><br>
>> 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>
>><br>
>> P.<br>
>><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>
>> ><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>><br>
>> > 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>
>> >><br>
>> >> ST_AsText('0105000020E6100000010000000102000000020000009FAEEE586C8C5240029CDEC5FBF94D406B44300E2EDB5140D591239D81D14C40'::geography)<br>
>> >> as TextFootPrint,<br>
>> >><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>
>> >> -------------------------------------------------------------------------------------------------------------------<br>
>> >> MULTILINESTRING((74.194113 59.952996,71.424686 57.636768)) |<br>
>> >> 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<br>
>> >> just<br>
>> >> above equator.<br>
>> >> Also when I visualise the both geographies as KML in google earth I can<br>
>> >> see<br>
>> >> them thousands of miles apart.<br>
>> >> This is just one example footprint where I have tens of thousand more<br>
>> >> 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>
><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>
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>