Skip to content

Instantly share code, notes, and snippets.

@jh4xsy
Created July 24, 2025 11:39
Show Gist options
  • Select an option

  • Save jh4xsy/57fa59045870653d231e66c2fdc0d4cb to your computer and use it in GitHub Desktop.

Select an option

Save jh4xsy/57fa59045870653d231e66c2fdc0d4cb to your computer and use it in GitHub Desktop.
SRTM3の.hgtファイルをSPLAT!で使う.sdfファイルに変換
#!/bin/bash
#
# Viewfinder PanoramasからダウンロードしたSRTM3の.hgtファイルをSPLAT!で使う.sdfファイルに変換するスクリプト
#
for f in *.hgt; do
[ -e "$f" ] || continue # ファイルが存在しない場合はスキップ
echo "Converting $f"
srtm2sdf "$f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment