<div>Hi,</div>
<div> </div>
<div>I am trying to set Spatial Filter on a MapInfo tab file (using the C# wrapper for GDAL). I am working with Projected Coordinate System and want to set the filter for the point defined by coordinates</div>
<div><font size="2"><br>393544.0 377079.0</font></div>
<div><font size="2"><br>I am using the following code to set the filter</font></div>
<div><font size="2"><font size="2">
<p>layer.SetSpatialFilter(</p></font><font color="#0000ff" size="2">new</font><font size="2"> Geometry(ogr.wkbUnknown , "POINT(393544.0 377079.0)", 0, </font><font color="#0000ff" size="2">null</font><font size="2">
, </font><font color="#0000ff" size="2">null</font><font size="2">));</font></font></div>
<div>But after settign the filter I get feature count = 0 whereas it should be 2 for the particular point.</div>
<div>I am getting this pair of coordinates from a LLPG(Local land and property gazetteer). Do I need to transform these coordinates in some way before setting the filter or is there something else I am doing wrong?<br>Please will someone guide me regarding this problem.
</div>
<div> </div>
<div>Thanks and Kind Regards</div>
<div> </div>
<div>Mir Hassan Ali</div>
<div> </div>