Kishore,<br><br>I think the area you clipped to does not have any features. This should not be a problem.<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 4:09 PM, Kishore Reddy <span dir="ltr">&lt;<a href="mailto:enigma2006.kishore@gmail.com">enigma2006.kishore@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I must be doing something terribly wrong I guess. Heres is the output.<br><br>&gt;&gt; ogrinfo -al Contour_100.shp | grep Extent<br>
Extent: (1966324.986729, 399608.866986) - (2146704.003923, 551765.272646)<br><br>&gt;&gt;  ogr2ogr -clipsrc 1966328 399612 1984324 404608 clipped.shp Contour_100.shp<br>

<br>&gt;&gt;  ogrinfo -al clipped.shp | grep Extent<br>Extent: (0.000000, 0.000000) - (0.000000, 0.000000)<br><br>Some more details of the input file:<br>&gt;&gt; ogrinfo -al Contour_100.shp | head -25<br>INFO: Open of `Contour_100.shp&#39;<br>


      using driver `ESRI Shapefile&#39; successful.<br><br>Layer name: Contour_100<br>Geometry: Line String<br>Feature Count: 1760<br>Extent: (1966324.986729, 399608.866986) - (2146704.003923, 551765.272646)<br>Layer SRS WKT:<br>


PROJCS[&quot;NAD_1983_StatePlane_North_Carolina_FIPS_3200_Feet&quot;,<br>    GEOGCS[&quot;GCS_North_American_1983&quot;,<br>        DATUM[&quot;North_American_Datum_1983&quot;,<br>            SPHEROID[&quot;GRS_1980&quot;,6378137.0,298.257222101]],<br>


        PRIMEM[&quot;Greenwich&quot;,0.0],<br>        UNIT[&quot;Degree&quot;,0.0174532925199433]],<br>    PROJECTION[&quot;Lambert_Conformal_Conic_2SP&quot;],<br>    PARAMETER[&quot;False_Easting&quot;,2000000.002616666],<br>


    PARAMETER[&quot;False_Northing&quot;,0.0],<br>    PARAMETER[&quot;Central_Meridian&quot;,-79.0],<br>    PARAMETER[&quot;Standard_Parallel_1&quot;,34.33333333333334],<br>    PARAMETER[&quot;Standard_Parallel_2&quot;,36.16666666666666],<br>


    PARAMETER[&quot;Latitude_Of_Origin&quot;,33.75],<br>    UNIT[&quot;Foot_US&quot;,0.3048006096012192]]<br>Elevation: Integer (4.0)<br>TILE: String (8.0)<br>Interval: Integer (4.0)<br><br><br>Please correct me where am I going wrong.<br>


<br>--<br><font color="#888888">Kishore</font><div><div></div><div class="h5"><br>
</div></div></blockquote></div><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9848167848<br>17.2416N 80.1426E<br>