<div>strk: I' have the following problem, when I use the function contains it returns true when the polygons is not totally contains.</div>
<div>I have applied snaptogrid in my geometry column.</div>
<div>I did the following :</div>
<div>update table1 set new_geom=snaptogrid(the_geom,1e-2)</div>
<div>update table2 set new_geom=snaptogrid(the_geom,1e-2))</div>
<div>When I use the function contains()</div>
<div> </div>
<div>select<br>b.*<br>from table2 b, table1 a<br>where   contains (b.new_geom,a.new_geom)  </div>
<div>it returns true,but I see visually that b not contains completely a.</div>
<div> </div>
<div>I don't understand why??</div>
<div> </div>
<div> </div>
<div>I attach the data and a image showing the problem.</div>
<div> </div>
<div>Thanks.</div>