"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/testlistgeo" between
libgeotiff-1.5.1.tar.gz and libgeotiff-1.6.0.tar.gz

About: libgeotiff is a library (built on top of libtiff) for reading and writing coordinate system information from and to GeoTIFF files (GeoTIFF establishes a TIFF based interchange format for georeferenced raster imagery).

testlistgeo  (libgeotiff-1.5.1):testlistgeo  (libgeotiff-1.6.0)
skipping to change at line 33 skipping to change at line 33
fi fi
echo "============================================" echo "============================================"
echo "Running ${0} using ${EXE}:" echo "Running ${0} using ${EXE}:"
echo "============================================" echo "============================================"
OUT=testlistgeo_out OUT=testlistgeo_out
rm -f ${OUT} rm -f ${OUT}
echo "Testing listgeo ${DATA_DIR}/byte.tif" >> ${OUT} echo "Testing listgeo byte.tif" >> ${OUT}
$EXE ${DATA_DIR}/byte.tif >>${OUT} $EXE ${DATA_DIR}/byte.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/pcs_32064.tif" >> ${OUT} echo "Testing listgeo byte_v11.tif" >> ${OUT}
$EXE ${DATA_DIR}/byte_v11.tif >>${OUT}
echo "" >>${OUT}
echo "Testing listgeo pcs_32064.tif" >> ${OUT}
$EXE ${DATA_DIR}/pcs_32064.tif >>${OUT} $EXE ${DATA_DIR}/pcs_32064.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/GeogPrimeMeridianGeoKey.tif" >> ${OUT} echo "Testing listgeo GeogPrimeMeridianGeoKey.tif" >> ${OUT}
$EXE ${DATA_DIR}/GeogPrimeMeridianGeoKey.tif >>${OUT} $EXE ${DATA_DIR}/GeogPrimeMeridianGeoKey.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/GeogGeodeticDatumGeoKey.tif" >> ${OUT} echo "Testing listgeo GeogGeodeticDatumGeoKey.tif" >> ${OUT}
$EXE ${DATA_DIR}/GeogGeodeticDatumGeoKey.tif >>${OUT} $EXE ${DATA_DIR}/GeogGeodeticDatumGeoKey.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/GeogAngularUnitsGeoKey_9114.tif" >> ${OUT} echo "Testing listgeo GeogAngularUnitsGeoKey_9114.tif" >> ${OUT}
$EXE ${DATA_DIR}/GeogAngularUnitsGeoKey_9114.tif >>${OUT} $EXE ${DATA_DIR}/GeogAngularUnitsGeoKey_9114.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjLinearUnitsGeoKey_9036.tif" >> ${OUT} echo "Testing listgeo ProjLinearUnitsGeoKey_9036.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjLinearUnitsGeoKey_9036.tif >>${OUT} $EXE ${DATA_DIR}/ProjLinearUnitsGeoKey_9036.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_28191_cassini_soldner.ti f" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_28191_cassini_soldner.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_28191_cassini_soldner.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_28191_cassini_soldner.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/cassini_soldner.tif" >> ${OUT} echo "Testing listgeo cassini_soldner.tif" >> ${OUT}
$EXE ${DATA_DIR}/cassini_soldner.tif >>${OUT} $EXE ${DATA_DIR}/cassini_soldner.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_27200_new_zealand_mappin g_grid.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_27200_new_zealand_mapping_grid.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_27200_new_zealand_mapping_grid.tif >>${OU T} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_27200_new_zealand_mapping_grid.tif >>${OU T}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/new_zealand_mapping_grid.tif" >> ${OUT} echo "Testing listgeo new_zealand_mapping_grid.tif" >> ${OUT}
$EXE ${DATA_DIR}/new_zealand_mapping_grid.tif >>${OUT} $EXE ${DATA_DIR}/new_zealand_mapping_grid.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_29101_polyconic.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_29101_polyconic.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_29101_polyconic.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_29101_polyconic.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/polyconic.tif" >> ${OUT} echo "Testing listgeo polyconic.tif" >> ${OUT}
$EXE ${DATA_DIR}/polyconic.tif >>${OUT} $EXE ${DATA_DIR}/polyconic.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_6808_hotine_oblique_merc ator_variant_a.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_6808_hotine_oblique_mercator_variant _a.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_6808_hotine_oblique_mercator_variant_a.ti f >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_6808_hotine_oblique_mercator_variant_a.ti f >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/hotine_oblique_mercator_variant_a.tif" >> ${OU T} echo "Testing listgeo hotine_oblique_mercator_variant_a.tif" >> ${OUT}
$EXE ${DATA_DIR}/hotine_oblique_mercator_variant_a.tif >>${OUT} $EXE ${DATA_DIR}/hotine_oblique_mercator_variant_a.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_8065_hotine_oblique_merc ator_variant_b.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_8065_hotine_oblique_mercator_variant _b.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_8065_hotine_oblique_mercator_variant_b.ti f >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_8065_hotine_oblique_mercator_variant_b.ti f >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/hotine_oblique_mercator_variant_b.tif" >> ${OU T} echo "Testing listgeo hotine_oblique_mercator_variant_b.tif" >> ${OUT}
$EXE ${DATA_DIR}/hotine_oblique_mercator_variant_b.tif >>${OUT} $EXE ${DATA_DIR}/hotine_oblique_mercator_variant_b.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_8441_oblique_mercator_la borde.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_8441_oblique_mercator_laborde.tif" > > ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_8441_oblique_mercator_laborde.tif >>${OUT } $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_8441_oblique_mercator_laborde.tif >>${OUT }
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/oblique_mercator_laborde.tif" >> ${OUT} echo "Testing listgeo oblique_mercator_laborde.tif" >> ${OUT}
$EXE ${DATA_DIR}/oblique_mercator_laborde.tif >>${OUT} $EXE ${DATA_DIR}/oblique_mercator_laborde.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_5456_lcc1sp.tif" >> ${OU T} echo "Testing listgeo ProjectedCSTypeGeoKey_5456_lcc1sp.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5456_lcc1sp.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5456_lcc1sp.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/lcc1sp.tif" >> ${OUT} echo "Testing listgeo lcc1sp.tif" >> ${OUT}
$EXE ${DATA_DIR}/lcc1sp.tif >>${OUT} $EXE ${DATA_DIR}/lcc1sp.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_5329_mercator1sp.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_5329_mercator1sp.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5329_mercator1sp.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5329_mercator1sp.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/mercator1sp.tif" >> ${OUT} echo "Testing listgeo mercator1sp.tif" >> ${OUT}
$EXE ${DATA_DIR}/mercator1sp.tif >>${OUT} $EXE ${DATA_DIR}/mercator1sp.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_5641_mercator2sp.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_5641_mercator2sp.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5641_mercator2sp.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5641_mercator2sp.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/mercator2sp.tif" >> ${OUT} echo "Testing listgeo mercator2sp.tif" >> ${OUT}
$EXE ${DATA_DIR}/mercator2sp.tif >>${OUT} $EXE ${DATA_DIR}/mercator2sp.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_5588_oblique_stereograph ic.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_5588_oblique_stereographic.tif" >> $ {OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5588_oblique_stereographic.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5588_oblique_stereographic.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/oblique_stereographic.tif" >> ${OUT} echo "Testing listgeo oblique_stereographic.tif" >> ${OUT}
$EXE ${DATA_DIR}/oblique_stereographic.tif >>${OUT} $EXE ${DATA_DIR}/oblique_stereographic.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_5482_polar_stereographic _variant_a.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_5482_polar_stereographic_variant_a.t if" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5482_polar_stereographic_variant_a.tif >> ${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_5482_polar_stereographic_variant_a.tif >> ${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/polar_stereographic_variant_a.tif" >> ${OUT} echo "Testing listgeo polar_stereographic_variant_a.tif" >> ${OUT}
$EXE ${DATA_DIR}/polar_stereographic_variant_a.tif >>${OUT} $EXE ${DATA_DIR}/polar_stereographic_variant_a.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_3032_polar_stereographic _variant_b.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_3032_polar_stereographic_variant_b.t if" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3032_polar_stereographic_variant_b.tif >> ${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3032_polar_stereographic_variant_b.tif >> ${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/polar_stereographic_variant_b.tif" >> ${OUT} echo "Testing listgeo polar_stereographic_variant_b.tif" >> ${OUT}
$EXE ${DATA_DIR}/polar_stereographic_variant_b.tif >>${OUT} $EXE ${DATA_DIR}/polar_stereographic_variant_b.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_3814_transverse_mercator .tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_3814_transverse_mercator.tif" >> ${O UT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3814_transverse_mercator.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3814_transverse_mercator.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/transverse_mercator.tif" >> ${OUT} echo "Testing listgeo transverse_mercator.tif" >> ${OUT}
$EXE ${DATA_DIR}/transverse_mercator.tif >>${OUT} $EXE ${DATA_DIR}/transverse_mercator.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_2046_transverse_mercator _south_oriented.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_2046_transverse_mercator_south_orien ted.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_2046_transverse_mercator_south_oriented.t if >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_2046_transverse_mercator_south_oriented.t if >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/transverse_mercator_south_oriented.tif" >> ${O UT} echo "Testing listgeo transverse_mercator_south_oriented.tif" >> ${OUT}
$EXE ${DATA_DIR}/transverse_mercator_south_oriented.tif >>${OUT} $EXE ${DATA_DIR}/transverse_mercator_south_oriented.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_3812_lcc2sp.tif" >> ${OU T} echo "Testing listgeo ProjectedCSTypeGeoKey_3812_lcc2sp.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3812_lcc2sp.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3812_lcc2sp.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/lcc2sp.tif" >> ${OUT} echo "Testing listgeo lcc2sp.tif" >> ${OUT}
$EXE ${DATA_DIR}/lcc2sp.tif >>${OUT} $EXE ${DATA_DIR}/lcc2sp.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_3083_albers_equal_area.t if" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_3083_albers_equal_area.tif" >> ${OUT }
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3083_albers_equal_area.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3083_albers_equal_area.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/albers_equal_area.tif" >> ${OUT} echo "Testing listgeo albers_equal_area.tif" >> ${OUT}
$EXE ${DATA_DIR}/albers_equal_area.tif >>${OUT} $EXE ${DATA_DIR}/albers_equal_area.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_3035_lambert_azimuthal_e qual_area.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_3035_lambert_azimuthal_equal_area.ti f" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3035_lambert_azimuthal_equal_area.tif >>$ {OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3035_lambert_azimuthal_equal_area.tif >>$ {OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/lambert_azimuthal_equal_area.tif" >> ${OUT} echo "Testing listgeo lambert_azimuthal_equal_area.tif" >> ${OUT}
$EXE ${DATA_DIR}/lambert_azimuthal_equal_area.tif >>${OUT} $EXE ${DATA_DIR}/lambert_azimuthal_equal_area.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_3410_lambert_cylindrical _equal_area.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_3410_lambert_cylindrical_equal_area. tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3410_lambert_cylindrical_equal_area.tif > >${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3410_lambert_cylindrical_equal_area.tif > >${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/lambert_cylindrical_equal_area.tif" >> ${OUT} echo "Testing listgeo lambert_cylindrical_equal_area.tif" >> ${OUT}
$EXE ${DATA_DIR}/lambert_cylindrical_equal_area.tif >>${OUT} $EXE ${DATA_DIR}/lambert_cylindrical_equal_area.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/ProjectedCSTypeGeoKey_4087_equidistant_cylindr ical.tif" >> ${OUT} echo "Testing listgeo ProjectedCSTypeGeoKey_4087_equidistant_cylindrical.tif" >> ${OUT}
$EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_4087_equidistant_cylindrical.tif >>${OUT} $EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_4087_equidistant_cylindrical.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo ${DATA_DIR}/equidistant_cylindrical.tif" >> ${OUT} echo "Testing listgeo equidistant_cylindrical.tif" >> ${OUT}
$EXE ${DATA_DIR}/equidistant_cylindrical.tif >>${OUT} $EXE ${DATA_DIR}/equidistant_cylindrical.tif >>${OUT}
echo "" >>${OUT} echo "" >>${OUT}
echo "Testing listgeo pixel_is_point_wgs84.tif" >> ${OUT}
$EXE ${DATA_DIR}/pixel_is_point_wgs84.tif >>${OUT}
echo "" >>${OUT}
# Normalize for results depending on the exact version of PROJ / EPSG database
sed "s/ETRS89-extended/ETRS89/g" < ${OUT} > ${OUT}.tmp
mv ${OUT}.tmp ${OUT}
sed "s/ETRS89-extended/ETRS89/g" < ${TEST_CLI_DIR}/testlistgeo_out.dist > testli
stgeo_out.dist.tmp
# do 'diff' with distribution results # do 'diff' with distribution results
# after cleaning for avoid spurios result due
# to different build dir
sed -e "s/Testing listgeo .*test/Testing listgeo ..\/test/" -i ${OUT}
echo "diff ${OUT} with testlistgeo_out.dist" echo "diff ${OUT} with testlistgeo_out.dist"
diff -u ${OUT} ${TEST_CLI_DIR}/testlistgeo_out.dist diff -u ${OUT} testlistgeo_out.dist.tmp
if [ $? -ne 0 ] ; then if [ $? -ne 0 ] ; then
echo "" echo ""
echo "PROBLEMS HAVE OCCURRED" echo "PROBLEMS HAVE OCCURRED"
echo "test file ${OUT} saved" echo "test file ${OUT} saved"
echo echo
exit 100 exit 100
else else
echo "TEST OK" echo "TEST OK"
echo "test file ${OUT} removed" echo "test file ${OUT} removed"
echo echo
rm testlistgeo_out.dist.tmp
/bin/rm -f ${OUT} /bin/rm -f ${OUT}
exit 0 exit 0
fi fi
 End of changes. 48 change blocks. 
45 lines changed or deleted 64 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)