X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.maps.server%2Fserver%2Fdist%2Fshare%2Fproj%2Ftestflaky;fp=org.simantics.maps.server%2Fserver%2Fdist%2Fshare%2Fproj%2Ftestflaky;h=0a2872043b52d2295e2e8221aff592ce01525992;hb=a018cc96644b634cec0dd999298cd374648e2980;hp=0000000000000000000000000000000000000000;hpb=4fb69ee0635d0a03b6a4253d5c1cd920c5eb5366;p=simantics%2Fdistrict.git diff --git a/org.simantics.maps.server/server/dist/share/proj/testflaky b/org.simantics.maps.server/server/dist/share/proj/testflaky new file mode 100644 index 00000000..0a287204 --- /dev/null +++ b/org.simantics.maps.server/server/dist/share/proj/testflaky @@ -0,0 +1,74 @@ +: +# Script to do some testing of flaky transformation that do not depend +# on datum files. +# +# +NAD_DIR=`dirname $0` +EXE=$1 + +usage() +{ + echo "Usage: ${0} " + echo + exit 1 +} + +if test -z "${EXE}"; then + EXE=../src/cs2cs +fi + +if test ! -x ${EXE}; then + echo "*** ERROR: Can not find '${EXE}' program!" + exit 1 +fi + +echo "============================================" +echo "Running ${0} using ${EXE}:" +echo "============================================" + +OUT=tf_out +#EXE=../src/cs2cs +# +echo "doing tests into file ${OUT}, please wait" +rm -f ${OUT} +# +echo "Test healpix inverse projection on sphere" >> ${OUT} +$EXE +proj=latlong +a=1 +lon_0=0 \ + +to +proj=healpix +a=1 +lon_0=0 -f '%.'5'f' -I\ + -E >>${OUT} <>${OUT} <