<p dir="ltr">Thanks Strk,<br>
Will revert back to you in a day.</p>
<p dir="ltr">Regards,<br>
Mohit</p>
<div class="gmail_quote">On Jun 18, 2014 6:56 PM, "Sandro Santilli" <<a href="mailto:strk@keybit.net">strk@keybit.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Jun 18, 2014 at 06:05:34PM +0530, mohit kumar wrote:<br>
> Hi Strk,<br>
> Can you give me some references on how to write a postGIS connector  and<br>
> what exactly do we want. I am getting confused in a lot of things.<br>
<br>
We want to be able to do:<br>
<br>
CREATE INDEX ON the_table USING spgist (the_geom);<br>
<br>
Then, (second step?):<br>
<br>
-- This query should use the spgist index<br>
EXPLAIN SELECT * FROM the_table WHERE the_geom && <small_bbox>;<br>
<br>
--strk;<br>
</blockquote></div>