<font color="#006600"><font size="2"><font face="courier new,monospace">All,</font></font></font><div><font color="#006600"><font size="2"><font face="courier new,monospace"><br></font></font></font></div><div><font color="#006600"><font size="2"><font face="courier new,monospace">I have a table with lat,lon values as double and spatial point as Point with SRID 4326. I have to place a constraint on the spatial point. No two points can be within a distance of 125m. </font></font></font></div>

<div><font color="#006600"><font size="2"><font face="courier new,monospace"><br></font></font></font></div><div><font color="#006600"><font size="2"><font face="courier new,monospace">So basically if I had a point that is within 125m of a point previously in the table I should have an error thrown. </font></font></font></div>

<div><font color="#006600"><font size="2"><font face="courier new,monospace"><br></font></font></font></div><div><font color="#006600"><font size="2"><font face="courier new,monospace">Any idea about how to place this distance constraint on the spatial point field?</font></font></font></div>

<div><font color="#006600"><font size="2"><font face="courier new,monospace"><br></font></font></font></div><div><font color="#006600"><font size="2"><font face="courier new,monospace">TIA</font></font></font></div><div>
<font color="#006600"><font size="2"><font face="courier new,monospace"><br clear="all">
</font></font></font>Thanks,<br>Sairam Krishnamurthy<br>+1 612 859 8161<br>
</div>