[Gdal-dev] Identifying spatial data files?

Frank Warmerdam fwarmerdam at gmail.com
Wed Mar 29 16:53:19 EST 2006


Marc A. Lepage wrote:
> Is there a program or library which will allow me to identify an 
> arbitrary file containing spatial data that I might have? Perhaps also 
> supply some useful info about the file (telling me what’s in it)?
> 
> Something similar to Unix “file” command (which uses magic numbers) or 
> ImageMagick’s “identify” command (for images).

Marc,

Well, there are gdalinfo and ogrinfo but they are certainly broader
than file and identify, and of course are limited to formats supported
by GDAL and OGR respectively.  Note that file does support some raster and
vector formats but produces very limited detail.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list