[gdal-dev] how to judge a file is a DEM file or not?

Frank Broniewski brfr at metrico.lu
Wed May 2 02:38:34 EDT 2012


Am 02.05.2012 05:45, schrieb weixj:
> How to judge a file is a DEM file or not?
>
> Thank you.
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

Hi

you can try to run gdalinfo on it, or you can try to open it in a text 
editor or in Quantum GIS or guess by file extension?! Without more 
information it is hard to help ... even the term DEM file is not very 
precise, do you mean a specific file type with that extension or "just" 
a terrain model like SRTM or GeoTIFF?

Frank

-- 
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu


More information about the gdal-dev mailing list