「Gdaltindex」の版間の差分
提供: OSGeo.JP Wiki
(ページの作成: builds a shapefile as a raster tileindex === 概要 (SYNOPSIS) == gdaltindex [-tileindex field_name] [-write_absolute_path] [-skip_different_projection] index_file [gdal_file…) |
(→解説 (DESCRIPTION)) |
||
(2人の利用者による、間の3版が非表示) | |||
行1: | 行1: | ||
builds a shapefile as a raster tileindex | builds a shapefile as a raster tileindex | ||
− | === 概要 (SYNOPSIS) == | + | === 概要 (SYNOPSIS) === |
+ | ラスターファイルのインデックスをポリゴン形式でシェープファイルに書き出します。 | ||
+ | |||
gdaltindex [-tileindex field_name] [-write_absolute_path] [-skip_different_projection] index_file [gdal_file]* | gdaltindex [-tileindex field_name] [-write_absolute_path] [-skip_different_projection] index_file [gdal_file]* | ||
===解説 (DESCRIPTION) === | ===解説 (DESCRIPTION) === | ||
− | This program builds a shapefile with a record for each input raster file, an attribute containing the filename, and a polygon geometry outlining the raster. This output is suitable for use with MapServer as a raster tileindex. | + | *This program builds a shapefile with a record for each input raster file, an attribute containing the filename, and a polygon geometry outlining the raster. This output is suitable for use with MapServer as a raster tileindex. |
+ | |||
+ | このプログラムは、入力指定した各ラスター・ファイルについて、アウトラインのポリゴン、属性レコードにファイル名を格納したシェープファイルを作成します。この出力は、MapServerでラスタータイルインデックスとして使用するのに適しています。 | ||
+ | |||
**The shapefile (index_file) will be created if it doesn't already exist, otherwise it will append to the existing file. | **The shapefile (index_file) will be created if it doesn't already exist, otherwise it will append to the existing file. |
2013年4月10日 (水) 19:28時点における最新版
builds a shapefile as a raster tileindex
概要 (SYNOPSIS)
ラスターファイルのインデックスをポリゴン形式でシェープファイルに書き出します。
gdaltindex [-tileindex field_name] [-write_absolute_path] [-skip_different_projection] index_file [gdal_file]*
解説 (DESCRIPTION)
- This program builds a shapefile with a record for each input raster file, an attribute containing the filename, and a polygon geometry outlining the raster. This output is suitable for use with MapServer as a raster tileindex.
このプログラムは、入力指定した各ラスター・ファイルについて、アウトラインのポリゴン、属性レコードにファイル名を格納したシェープファイルを作成します。この出力は、MapServerでラスタータイルインデックスとして使用するのに適しています。
- The shapefile (index_file) will be created if it doesn't already exist, otherwise it will append to the existing file.
- The default tile index field is 'location'.
- Raster filenames will be put in the file exactly as they are specified on the commandline unless the option -write_absolute_path is used.
- If -skip_different_projection is specified, only files with same projection ref as files already inserted in the tileindex will be inserted.
- Simple rectangular polygons are generated in the same coordinate system as the rasters.
EXAMPLE
gdaltindex doq_index.shp doq/*.tif