Extent of several (500+) TIFF images

Curtis W. Ruck ruckc at YAHOO.COM
Wed Aug 16 06:01:29 PDT 2006


if you use ogrinfo (should come with the gdal library) and the -al option it will give you two corners of an extent rectangle.  This will also give you all information for every record in the shapefile too so pipe it to `more` so that you can see the information at the top

example:
ogrinfo -al <shapefile.shp> |more

----- Original Message ----
From: Bruno Patini Furtado <bpfurtado at GMAIL.COM>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Sent: Wednesday, August 16, 2006 7:30:27 AM
Subject: [UMN_MAPSERVER-USERS] Extent of several (500+) TIFF images

I'm using a layer of more than 500 tiff files containing DEM information of a great area. I have created a tile index of all these maps using the gdaltindex program to use as a layer in my mapfile. It generated a .shp file along with a .dbf as expected. 

I'm having problems to find the proper EXTENT to my map file that will for the moment only use the layer described above. Is there any easy way to get full extent of these images or shapefile? The utility program gdalinfo gives me proper information to build the extent of a single raster file, but I'm not aware of a tool that gives this kind of information of a shape file.  

I've tried to use OpenJUMP [http://openjump.org] to hover the mouse over the min and max points of the shapefile but I had no success using the coordinates it gave me.

Any suggestions? 


-- 
"Minds are like parachutes, they work best when open."

Bruno Patini Furtado
Software Developer
webpage: http://bpfurtado.net
software development blog:  http://bpfurtado.livejournal.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060816/c2adcd6f/attachment.htm>


More information about the MapServer-users mailing list