shpproj.sh

来自「Source code, and some other odds and end」· Shell 代码 · 共 38 行

SH
38
字号
#!/bin/shcd tests rm test*shpcreate test pointshpadd test -83.54949956              34.992401shpadd test -83.52162155              34.99276748shpadd test -84.01681518              34.67275985shpadd test -84.15596023              34.64862437shpadd test -83.61951463              34.54927047dbfcreate test -s 30 fddbfadd test "1"dbfadd test "2"dbfadd test "3"dbfadd test "4"dbfadd test "5"../shpproj test test_1 -i=geographic -o="init=nad83:1002 units=us-ft"../shpproj test_1 test_2 -o="proj=utm zone=16 units=m"../shpproj test_2 test_3 -o=geographicshpdump  test    > test.outshpdump  test_3  > test_3.outresult=`diff test.out test_3.out`if [ -z "${result}" ]; then  echo success...else  echo failure...firm test*cd ..

⌨️ 快捷键说明

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