⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmt_usgsdem.html

📁 gdal库的学习文档
💻 HTML
字号:
<html><head><title>USGSDEM -- USGS ASCII DEM (and CDED)</title></head><body bgcolor="#ffffff"><h1>USGSDEM -- USGS ASCII DEM (and CDED)</h1>GDAL includes support for reading USGS ASCII DEM files.  This is thetraditional format used by USGS before being replaced by SDTS, and is theformat used for CDED DEM data products from the Canada.  Most popularvariations on USGS DEM files should be supported, including correctrecognition of coordinate system, and georerenced positioning.<p>The 7.5 minute (UTM grid) USGS DEM files will generally have regions ofmissing data around the edges, and these are properly marked witha nodata value.  Elevation values in USGS DEM files may be in meters orfeet, and this will be indicated by the return value of GDALRasterBand::GetUnitType() (either "m" or "ft").<p>Note that USGS DEM files are represented as one big tile.  This may causecache thrashing problems if the GDAL tile cache size is small.  It will alsoresult in a substantial delay when the first pixel is read as the whole filewill be ingested. <p>Some of the code for implementing usgsdemdataset.cpp was derived from VTP code by Ben Discoe.  See the <a href="http://www.vterrain.org/">VirtualTerrain</a> project for more information on VTP.<p><h2>Creation Issues</h2>GDAL supports export of geographic (and UTM) USGS DEM and CDED datafiles, including the ability to generate CDED 2.0 50K products to Canadianfederal govenment specifications. <p>Input data must already be sampled in a geographic or UTM coordinatesystem.  By default the entire area of the input file will be output,but for CDED50K products the output file will be sampled at theproduction specified resolution and on product tile boundaries.<P>If the input file has appropriate coordinate system information set, export to specific product formats can take input in different coordinatesystems (ie. from Albers projection to NAD83 geographic for CDED50K production).<p>Creation Options:<p><ul><li> <b>PRODUCT=CDED50K</b>: When selected, the output file will be forced to adhere to CDED 50K product specifications.  The output will always be 1201x1201and generally a 15 minute by 15 minute tile (though wider in longitude infar north areas). <p><li> <b>TOPLEFT=long,lat</b>: For CDED50K products, this is used to specify the top left corner of the tile to be generated.  It should be on a 15 minute boundary and can be given in decimal degrees or degrees and minutes (eg. TOPLEFT=117d15w,52d30n). <P><li> <b>RESAMPLE=Nearest/Bilinear/Cubic/CubicSpline</b>: Set the resamplingkernel used for resampling the data to the target grid.  Only has an effectwhen particular products like CDED50K are being produced.  Defaults to Bilinear.<p><li> <b>PRODUCER=text</b>: Up to 60 characters to be put into the producerfield of the generated file.<p><li> <b>OriginCode=text</b>: Up to 4 characters to be put into the origincode field of the generated file.<p><li> <b>ProcessCode=code</b>: One character to be put into the process code field of the generated file.<p><li> <b>TEMPLATE=filename</b>: For any output file, a template file can bespecified.  A number of fields (including the Data Producer) will be copiedfrom the template file if provided, and are otherwise left blank. <li> <b>ZRESOLUTION=float</b>: DEM's store elevation information aspositive integers, and these integers are scaled using the "z resolution."By default, this resolution is written as 1.0.  However, you may specify adifferent resolution here, if you would like your integers to be scaledinto floating point numbers. </ul>Example:The following would generate a single CDED50K tile, extracting from the larger DEM coverage yk_3arcsec for a tile with the top left corner -117w,60n.The file yk_template.dem is used to set some product fields including theProducer of Data, Process Code and Origin Code fields. <pre>gdal_translate -of USGSDEM -co PRODUCT=CDED50K -co TEMPLATE=yk_template.dem \               -co TOPLEFT=-117w,60n yk_3arcsec 031a01_e.dem</pre><hr>NOTE: Implemented as <tt>gdal/frmts/usgsdem/usgsdemdataset.cpp</tt>.<p>The USGS DEM reading code in GDAL was derived from the importer in the<a href="http://www.vterrain.org/">VTP</a> software.  The export capabilitywas developed with the financial support of the Yukon Department of  Environment.<p> </body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -