[gdal-dev] find bounding box of a shapefile

Xiaodong Zhang xiaodong.zhang2 at und.edu
Sun May 11 22:33:26 EDT 2008


Hi,

In order to find the bounding box of polygons (defined in a shapefile), 
I guess I need to find the minimum x and y coordinates and maximum x and 
y coordinates and then to form the four corners. In case somebody has 
already done this, would you like to share your thoughts or code?

Thanks
Xiaodong


More information about the gdal-dev mailing list