Exactly Chaitanya. Thanks for the support :).<br clear="all"><br>--<br>Kishore<br>
<br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 4:38 PM, Chaitanya kumar CH <span dir="ltr"><<a href="http://chaitanya.ch" target="_blank">chaitanya.ch</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>></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;">
Kishore,<br><br>I think the area you clipped to does not have any features. This should not be a problem.<div><div></div><div><br><br><div class="gmail_quote">On Wed, Apr 7, 2010 at 4:09 PM, Kishore Reddy <span dir="ltr"><<a href="mailto:enigma2006.kishore@gmail.com" target="_blank">enigma2006.kishore@gmail.com</a>></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>>> ogrinfo -al Contour_100.shp | grep Extent<br>
Extent: (1966324.986729, 399608.866986) - (2146704.003923, 551765.272646)<br><br>>> ogr2ogr -clipsrc 1966328 399612 1984324 404608 clipped.shp Contour_100.shp<br>
<br>>> 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>>> ogrinfo -al Contour_100.shp | head -25<br>INFO: Open of `Contour_100.shp'<br>
using driver `ESRI Shapefile' 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["NAD_1983_StatePlane_North_Carolina_FIPS_3200_Feet",<br> GEOGCS["GCS_North_American_1983",<br> DATUM["North_American_Datum_1983",<br> SPHEROID["GRS_1980",6378137.0,298.257222101]],<br>
PRIMEM["Greenwich",0.0],<br> UNIT["Degree",0.0174532925199433]],<br> PROJECTION["Lambert_Conformal_Conic_2SP"],<br> PARAMETER["False_Easting",2000000.002616666],<br>
PARAMETER["False_Northing",0.0],<br> PARAMETER["Central_Meridian",-79.0],<br> PARAMETER["Standard_Parallel_1",34.33333333333334],<br> PARAMETER["Standard_Parallel_2",36.16666666666666],<br>
PARAMETER["Latitude_Of_Origin",33.75],<br> UNIT["Foot_US",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><br>
</div></div></blockquote></div><br clear="all"><br></div></div><div><div></div><div>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9848167848<br>17.2416N 80.1426E<br>
</div></div></blockquote></div><br>