Changeset 2334
- Timestamp:
- 07/17/01 11:00:21 (7 years ago)
- Files:
-
- trunk/ogr/ogrinfo.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ogr/ogrinfo.cpp
r2275 r2334 29 29 * 30 30 * $Log$ 31 * Revision 1.10 2001/07/17 15:00:21 danmo 32 * Report layer extent in ReportOnLayer(). 33 * 31 34 * Revision 1.9 2001/06/26 20:58:45 warmerda 32 35 * added spatial query option … … 271 274 printf( "Feature Count: %d\n", poLayer->GetFeatureCount() ); 272 275 276 OGREnvelope oExt; 277 if (poLayer->GetExtent(&oExt, TRUE) == OGRERR_NONE) 278 { 279 printf("Extent: (%f, %f) - (%f, %f)\n", 280 oExt.MinX, oExt.MinY, oExt.MaxX, oExt.MaxY); 281 } 282 273 283 if( bVerbose ) 274 284 {
