├── libgeotiff ├── AUTHORS ├── COPYING ├── man │ ├── Makefile.am │ └── man1 │ │ ├── Makefile.am │ │ ├── applygeo.1 │ │ └── listgeo.1 ├── test │ ├── data │ │ ├── byte.tif │ │ ├── byte_v11.tif │ │ ├── lcc1sp.tif │ │ ├── lcc2sp.tif │ │ ├── pcs_32064.tif │ │ ├── polyconic.tif │ │ ├── mercator1sp.tif │ │ ├── mercator2sp.tif │ │ ├── cassini_soldner.tif │ │ ├── albers_equal_area.tif │ │ ├── pixel_is_point_wgs84.tif │ │ ├── transverse_mercator.tif │ │ ├── GeogGeodeticDatumGeoKey.tif │ │ ├── GeogPrimeMeridianGeoKey.tif │ │ ├── epsg_27563_allgeokeys.tif │ │ ├── equidistant_cylindrical.tif │ │ ├── oblique_stereographic.tif │ │ ├── epsg_27563_only_pcs_code.tif │ │ ├── new_zealand_mapping_grid.tif │ │ ├── oblique_mercator_laborde.tif │ │ ├── GeogAngularUnitsGeoKey_9114.tif │ │ ├── ProjLinearUnitsGeoKey_9036.tif │ │ ├── lambert_azimuthal_equal_area.tif │ │ ├── lambert_cylindrical_equal_area.tif │ │ ├── polar_stereographic_variant_a.tif │ │ ├── polar_stereographic_variant_b.tif │ │ ├── ProjectedCSTypeGeoKey_3812_lcc2sp.tif │ │ ├── ProjectedCSTypeGeoKey_5456_lcc1sp.tif │ │ ├── hotine_oblique_mercator_variant_a.tif │ │ ├── hotine_oblique_mercator_variant_b.tif │ │ ├── transverse_mercator_south_oriented.tif │ │ ├── ProjectedCSTypeGeoKey_29101_polyconic.tif │ │ ├── ProjectedCSTypeGeoKey_5329_mercator1sp.tif │ │ ├── ProjectedCSTypeGeoKey_5641_mercator2sp.tif │ │ ├── ProjectedCSTypeGeoKey_28191_cassini_soldner.tif │ │ ├── ProjectedCSTypeGeoKey_3083_albers_equal_area.tif │ │ ├── ProjectedCSTypeGeoKey_3814_transverse_mercator.tif │ │ ├── ProjectedCSTypeGeoKey_5588_oblique_stereographic.tif │ │ ├── ProjectedCSTypeGeoKey_4087_equidistant_cylindrical.tif │ │ ├── ProjectedCSTypeGeoKey_27200_new_zealand_mapping_grid.tif │ │ ├── ProjectedCSTypeGeoKey_8441_oblique_mercator_laborde.tif │ │ ├── ProjectedCSTypeGeoKey_3035_lambert_azimuthal_equal_area.tif │ │ ├── ProjectedCSTypeGeoKey_3032_polar_stereographic_variant_b.tif │ │ ├── ProjectedCSTypeGeoKey_3410_lambert_cylindrical_equal_area.tif │ │ ├── ProjectedCSTypeGeoKey_5482_polar_stereographic_variant_a.tif │ │ ├── ProjectedCSTypeGeoKey_6808_hotine_oblique_mercator_variant_a.tif │ │ ├── ProjectedCSTypeGeoKey_8065_hotine_oblique_mercator_variant_b.tif │ │ └── ProjectedCSTypeGeoKey_2046_transverse_mercator_south_oriented.tif │ ├── testgeotifcp │ └── Makefile.am ├── cmake │ ├── Makefile.am │ ├── geo_config.h.in │ ├── COPYING-CMAKE-SCRIPTS │ ├── project-config-version.cmake.in │ ├── project-config.cmake.in │ └── CMakeLists.txt ├── geo_config.h.in ├── libxtiff │ ├── Makefile.am │ └── CMakeLists.txt ├── libgeotiff.pc.in ├── bin │ ├── Makefile.am │ ├── CMakeLists.txt │ ├── applygeo.c │ └── makegeo.c ├── geotiffio.h ├── README.WIN ├── epsg_pm.inc ├── .gitignore ├── geo_config.h.vc ├── epsg_units.inc ├── README_BIN ├── autogen.sh ├── docs │ ├── geotifcp.html │ └── index.dox ├── epsg_ellipse.inc ├── geokeys.h ├── HOWTO-RELEASE ├── geo_free.c ├── epsg_vertcs.inc ├── geo_simpletags.h ├── Makefile.am ├── geokeys_v1_1.inc └── geovalues.h ├── geotiff ├── welcome.txt ├── html │ ├── geotiff.gif │ ├── rpc_eq1.gif │ ├── rpc_eq2.gif │ ├── api │ │ ├── doxygen.png │ │ ├── tab_b.gif │ │ ├── tab_l.gif │ │ ├── tab_r.gif │ │ ├── pages.html │ │ ├── structctb-members.html │ │ ├── structgtiff-members.html │ │ ├── structGeoKey-members.html │ │ ├── structST__KEY-members.html │ │ ├── structKeyEntry-members.html │ │ ├── structST__TIFF-members.html │ │ ├── structKeyHeader-members.html │ │ ├── struct__KeyInfo-members.html │ │ ├── structdatafile__s-members.html │ │ ├── structTempKeyData-members.html │ │ ├── struct__TIFFMethod-members.html │ │ ├── structctb.html │ │ ├── structgtiff.html │ │ ├── structGeoKey.html │ │ ├── structKeyEntry.html │ │ ├── structKeyHeader.html │ │ ├── structST__KEY.html │ │ ├── struct__KeyInfo.html │ │ ├── structST__TIFF.html │ │ ├── structTempKeyData.html │ │ ├── struct__TIFFMethod.html │ │ ├── structdatafile__s.html │ │ ├── tabs.css │ │ ├── annotated.html │ │ ├── globals_func.html │ │ ├── geo__incode__defs_8h_source.html │ │ ├── globals.html │ │ ├── files.html │ │ ├── geotiffio_8h_source.html │ │ └── geo__config_8h_source.html │ ├── gifs │ │ ├── bbal.gif │ │ ├── bball.gif │ │ ├── clrbar.gif │ │ ├── rball.gif │ │ ├── sec2.gif │ │ ├── table.gif │ │ ├── wball.gif │ │ ├── cartlab.gif │ │ ├── geotiff.gif │ │ ├── cartbutton.gif │ │ ├── clrbar_half.gif │ │ └── clrbar_short.gif │ ├── STDI-0002_v2.1.pdf │ ├── proj_list │ │ ├── guid7.html │ │ ├── Wkt_adam.zip │ │ ├── epsg_om.html │ │ ├── guid7_files │ │ │ ├── line.gif │ │ │ ├── gn7-fig1.gif │ │ │ ├── gn7-fig2.gif │ │ │ ├── gn7-fig3.gif │ │ │ ├── gn7-fig4.gif │ │ │ ├── gn7-fig5.gif │ │ │ ├── gn7-fig6.gif │ │ │ ├── gn7-fig7.gif │ │ │ ├── gn7-fig8.gif │ │ │ ├── gn7-fig9.gif │ │ │ ├── tit_epsg.gif │ │ │ └── ImageEPSGlogo.gif │ │ ├── hotine_oblique_mercator.html │ │ ├── transverse_mercator_modified_alaska.html │ │ ├── eckert_vi.html │ │ ├── eckert_iv.html │ │ ├── gall_stereographic.html │ │ ├── sinusoidal.html │ │ ├── mollweide.html │ │ ├── gnomonic.html │ │ ├── new_zealand_map_grid.html │ │ ├── orthographic.html │ │ ├── robinson.html │ │ ├── rosenmund_oblique_mercator.html │ │ ├── vandergrinten.html │ │ ├── lambert_azimuthal_equal_area.html │ │ ├── azimuthal_equidistant.html │ │ ├── polyconic.html │ │ ├── stereographic.html │ │ ├── laborde_oblique_mercator.html │ │ ├── miller_cylindrical.html │ │ ├── equidistant_conic.html │ │ ├── transverse_mercator_south_oriented.html │ │ ├── cylindrical_equal_area.html │ │ ├── geos.html │ │ ├── albers_equal_area_conic.html │ │ └── equirectangular.html │ ├── spec │ │ ├── gifs │ │ │ ├── bbal.gif │ │ │ ├── bball.gif │ │ │ ├── clrbar.gif │ │ │ ├── rball.gif │ │ │ ├── sec2.gif │ │ │ ├── table.gif │ │ │ ├── wball.gif │ │ │ ├── cartlab.gif │ │ │ ├── geotiff.gif │ │ │ ├── cartbutton.gif │ │ │ ├── clrbar_half.gif │ │ │ └── clrbar_short.gif │ │ ├── gifsgeotiff.gif │ │ ├── geotiff2.1.html │ │ ├── geotiff2.html │ │ ├── geotiff4.html │ │ ├── geotiff2.3.html │ │ ├── geotiff2.2.html │ │ ├── geotiff5.html │ │ └── geotiffhome.html │ ├── index.html │ ├── geotiff.html │ ├── refresh_from_libgeotiff.sh │ └── geotifcp.html └── spec │ └── VERSION ├── .github └── environment.yml └── .travis.yml /libgeotiff/AUTHORS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libgeotiff/COPYING: -------------------------------------------------------------------------------- 1 | See LICENSE file. 2 | 3 | -------------------------------------------------------------------------------- /libgeotiff/man/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = man1 2 | -------------------------------------------------------------------------------- /geotiff/welcome.txt: -------------------------------------------------------------------------------- 1 | GeoTIFF Information: 2 | 3 | See https://github.com/OSGeo/libgeotiff 4 | -------------------------------------------------------------------------------- /geotiff/html/geotiff.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/geotiff.gif -------------------------------------------------------------------------------- /geotiff/html/rpc_eq1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/rpc_eq1.gif -------------------------------------------------------------------------------- /geotiff/html/rpc_eq2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/rpc_eq2.gif -------------------------------------------------------------------------------- /geotiff/html/api/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/api/doxygen.png -------------------------------------------------------------------------------- /geotiff/html/api/tab_b.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/api/tab_b.gif -------------------------------------------------------------------------------- /geotiff/html/api/tab_l.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/api/tab_l.gif -------------------------------------------------------------------------------- /geotiff/html/api/tab_r.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/api/tab_r.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/bbal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/bbal.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/bball.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/bball.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/clrbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/clrbar.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/rball.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/rball.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/sec2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/sec2.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/table.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/wball.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/wball.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/cartlab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/cartlab.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/geotiff.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/geotiff.gif -------------------------------------------------------------------------------- /libgeotiff/test/data/byte.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/byte.tif -------------------------------------------------------------------------------- /geotiff/html/STDI-0002_v2.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/STDI-0002_v2.1.pdf -------------------------------------------------------------------------------- /geotiff/html/gifs/cartbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/cartbutton.gif -------------------------------------------------------------------------------- /geotiff/html/gifs/clrbar_half.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/clrbar_half.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7.html -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/bbal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/bbal.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/bball.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/bball.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/clrbar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/clrbar.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/rball.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/rball.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/sec2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/sec2.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/table.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/table.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/wball.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/wball.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifsgeotiff.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifsgeotiff.gif -------------------------------------------------------------------------------- /libgeotiff/man/man1/Makefile.am: -------------------------------------------------------------------------------- 1 | man_MANS = applygeo.1 geotifcp.1 listgeo.1 2 | 3 | EXTRA_DIST = $(man_MANS) 4 | 5 | -------------------------------------------------------------------------------- /libgeotiff/test/data/byte_v11.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/byte_v11.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/lcc1sp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/lcc1sp.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/lcc2sp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/lcc2sp.tif -------------------------------------------------------------------------------- /geotiff/html/gifs/clrbar_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/gifs/clrbar_short.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/Wkt_adam.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/Wkt_adam.zip -------------------------------------------------------------------------------- /geotiff/html/proj_list/epsg_om.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/epsg_om.html -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/cartlab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/cartlab.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/geotiff.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/geotiff.gif -------------------------------------------------------------------------------- /geotiff/spec/VERSION: -------------------------------------------------------------------------------- 1 | The current version of this GeoTIFF spec is 1.8.1, 2 | supporting GeoTIFF Revision 1.0 Final. 3 | 4 | -------------------------------------------------------------------------------- /libgeotiff/test/data/pcs_32064.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/pcs_32064.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/polyconic.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/polyconic.tif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/cartbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/cartbutton.gif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/clrbar_half.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/clrbar_half.gif -------------------------------------------------------------------------------- /libgeotiff/test/data/mercator1sp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/mercator1sp.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/mercator2sp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/mercator2sp.tif -------------------------------------------------------------------------------- /geotiff/html/spec/gifs/clrbar_short.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/spec/gifs/clrbar_short.gif -------------------------------------------------------------------------------- /libgeotiff/test/data/cassini_soldner.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/cassini_soldner.tif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/line.gif -------------------------------------------------------------------------------- /libgeotiff/test/data/albers_equal_area.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/albers_equal_area.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/pixel_is_point_wgs84.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/pixel_is_point_wgs84.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/transverse_mercator.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/transverse_mercator.tif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig1.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig2.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig3.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig4.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig5.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig6.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig7.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig8.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/gn7-fig9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/gn7-fig9.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/tit_epsg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/tit_epsg.gif -------------------------------------------------------------------------------- /libgeotiff/test/data/GeogGeodeticDatumGeoKey.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/GeogGeodeticDatumGeoKey.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/GeogPrimeMeridianGeoKey.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/GeogPrimeMeridianGeoKey.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/epsg_27563_allgeokeys.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/epsg_27563_allgeokeys.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/equidistant_cylindrical.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/equidistant_cylindrical.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/oblique_stereographic.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/oblique_stereographic.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/epsg_27563_only_pcs_code.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/epsg_27563_only_pcs_code.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/new_zealand_mapping_grid.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/new_zealand_mapping_grid.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/oblique_mercator_laborde.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/oblique_mercator_laborde.tif -------------------------------------------------------------------------------- /geotiff/html/proj_list/guid7_files/ImageEPSGlogo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/guid7_files/ImageEPSGlogo.gif -------------------------------------------------------------------------------- /geotiff/html/proj_list/hotine_oblique_mercator.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/geotiff/html/proj_list/hotine_oblique_mercator.html -------------------------------------------------------------------------------- /libgeotiff/test/data/GeogAngularUnitsGeoKey_9114.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/GeogAngularUnitsGeoKey_9114.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjLinearUnitsGeoKey_9036.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjLinearUnitsGeoKey_9036.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/lambert_azimuthal_equal_area.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/lambert_azimuthal_equal_area.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/lambert_cylindrical_equal_area.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/lambert_cylindrical_equal_area.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/polar_stereographic_variant_a.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/polar_stereographic_variant_a.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/polar_stereographic_variant_b.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/polar_stereographic_variant_b.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_3812_lcc2sp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_3812_lcc2sp.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_5456_lcc1sp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_5456_lcc1sp.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/hotine_oblique_mercator_variant_a.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/hotine_oblique_mercator_variant_a.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/hotine_oblique_mercator_variant_b.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/hotine_oblique_mercator_variant_b.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/transverse_mercator_south_oriented.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/transverse_mercator_south_oriented.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_29101_polyconic.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_29101_polyconic.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_5329_mercator1sp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_5329_mercator1sp.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_5641_mercator2sp.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_5641_mercator2sp.tif -------------------------------------------------------------------------------- /libgeotiff/cmake/Makefile.am: -------------------------------------------------------------------------------- 1 | EXTRA_DIST = FindPROJ.cmake \ 2 | geo_config.h.in \ 3 | project-config-version.cmake.in \ 4 | project-config.cmake.in \ 5 | CMakeLists.txt 6 | -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_28191_cassini_soldner.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_28191_cassini_soldner.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_3083_albers_equal_area.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_3083_albers_equal_area.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_3814_transverse_mercator.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_3814_transverse_mercator.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_5588_oblique_stereographic.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_5588_oblique_stereographic.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_4087_equidistant_cylindrical.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_4087_equidistant_cylindrical.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_27200_new_zealand_mapping_grid.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_27200_new_zealand_mapping_grid.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_8441_oblique_mercator_laborde.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_8441_oblique_mercator_laborde.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_3035_lambert_azimuthal_equal_area.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_3035_lambert_azimuthal_equal_area.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_3032_polar_stereographic_variant_b.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_3032_polar_stereographic_variant_b.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_3410_lambert_cylindrical_equal_area.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_3410_lambert_cylindrical_equal_area.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_5482_polar_stereographic_variant_a.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_5482_polar_stereographic_variant_a.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_6808_hotine_oblique_mercator_variant_a.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_6808_hotine_oblique_mercator_variant_a.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_8065_hotine_oblique_mercator_variant_b.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_8065_hotine_oblique_mercator_variant_b.tif -------------------------------------------------------------------------------- /libgeotiff/test/data/ProjectedCSTypeGeoKey_2046_transverse_mercator_south_oriented.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OSGeo/libgeotiff/HEAD/libgeotiff/test/data/ProjectedCSTypeGeoKey_2046_transverse_mercator_south_oriented.tif -------------------------------------------------------------------------------- /.github/environment.yml: -------------------------------------------------------------------------------- 1 | name: build 2 | channels: 3 | - conda-forge 4 | dependencies: 5 | - conda 6 | - mamba 7 | - compilers 8 | - ninja 9 | - cmake 10 | - proj 11 | - ccache 12 | - libtiff 13 | - zlib 14 | - libjpeg-turbo 15 | 16 | -------------------------------------------------------------------------------- /libgeotiff/geo_config.h.in: -------------------------------------------------------------------------------- 1 | #ifndef GEO_CONFIG_H 2 | #define GEO_CONFIG_H 3 | 4 | /* Define if you have the header file. */ 5 | #undef GEOTIFF_HAVE_STRINGS_H 6 | 7 | #undef GEO_NORMALIZE_DISABLE_TOWGS84 8 | 9 | #endif /* ndef GEO_CONFIG_H */ 10 | -------------------------------------------------------------------------------- /libgeotiff/cmake/geo_config.h.in: -------------------------------------------------------------------------------- 1 | #ifndef GEO_CONFIG_H 2 | #define GEO_CONFIG_H 3 | 4 | /* Define if you have the header file. */ 5 | #cmakedefine GEOTIFF_HAVE_STRINGS_H 1 6 | 7 | #cmakedefine GEO_NORMALIZE_DISABLE_TOWGS84 8 | 9 | #endif /* ndef GEO_CONFIG_H */ 10 | -------------------------------------------------------------------------------- /libgeotiff/libxtiff/Makefile.am: -------------------------------------------------------------------------------- 1 | include_HEADERS = xtiffio.h 2 | 3 | if TIFF_IS_CONFIG 4 | TIFF_CFLAGS = @TIFF_INC@ -DHAVE_TIFF=1 5 | endif 6 | 7 | AM_CFLAGS = -I../ -I$(srcdir)/.. $(TIFF_CFLAGS) 8 | 9 | libxtiff_la_SOURCES = xtiff.c 10 | 11 | noinst_LTLIBRARIES = libxtiff.la 12 | -------------------------------------------------------------------------------- /libgeotiff/libgeotiff.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: @PACKAGE_NAME@ 7 | Description: GeoTIFF file format library 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lgeotiff 10 | Cflags: -I${includedir} 11 | Requires.private: proj, libtiff-4 12 | -------------------------------------------------------------------------------- /libgeotiff/libxtiff/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # 3 | # CMake configuration file to build libxtiff library 4 | # 5 | # Author: Mateusz Loskot 6 | # 7 | ############################################################################### 8 | 9 | ADD_LIBRARY(xtiff STATIC xtiff.c) 10 | -------------------------------------------------------------------------------- /geotiff/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | HTML REDIRECT 7 | 8 | 9 | 10 |

Redirecting to http://geotiff.osgeo.org/

11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /geotiff/html/geotiff.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | HTML REDIRECT 7 | 8 | 9 | 10 |

Redirecting to http://geotiff.osgeo.org/

11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /libgeotiff/bin/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | makegeo_SOURCES = makegeo.c 3 | geotifcp_SOURCES = geotifcp.c 4 | listgeo_SOURCES = listgeo.c 5 | applygeo_SOURCES = applygeo.c 6 | 7 | bin_PROGRAMS = geotifcp listgeo applygeo 8 | 9 | noinst_PROGRAMS = makegeo 10 | 11 | if TIFF_IS_CONFIG 12 | TIFF_CFLAGS = @TIFF_INC@ -DHAVE_TIFF=1 13 | endif 14 | 15 | AM_CFLAGS = -I../ -I$(srcdir)/.. -I$(srcdir)/../libxtiff $(TIFF_CFLAGS) @PROJ_INCLUDE@ 16 | 17 | LDADD = ../libgeotiff.la 18 | 19 | EXTRA_DIST = getopt.c 20 | 21 | -------------------------------------------------------------------------------- /geotiff/html/refresh_from_libgeotiff.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | LIBGEOTIFF_DIR=../../libgeotiff 4 | 5 | if [ "$1" != "" ] ; then 6 | LIBGEOTIFF_DIR=$1 7 | fi 8 | 9 | if [ ! -d $LIBGEOTIFF_DIR -o ! -f $LIBGEOTIFF_DIR/docs/Doxyfile ] ; then 10 | echo "Did not find libgeotiff directory at $LIBGEOTIFF" 11 | echo "The location of the checked out libgeotiff directory can be provided" 12 | echo "as the argument to this script." 13 | exit 1; 14 | fi 15 | 16 | (cd $LIBGEOTIFF_DIR ; make docs) 17 | 18 | cp $LIBGEOTIFF_DIR/docs/api/* api 19 | cp $LIBGEOTIFF_DIR/docs/*.html . 20 | -------------------------------------------------------------------------------- /libgeotiff/geotiffio.h: -------------------------------------------------------------------------------- 1 | /* 2 | * geotiffio.h 3 | * 4 | * Standard include file for geotiff, including all 5 | * key and code definitions. 6 | * 7 | * copyright (c) 1995 Niles D. Ritter 8 | * 9 | * Permission granted to use this software, so long as this copyright 10 | * notice accompanies any products derived therefrom. 11 | */ 12 | 13 | 14 | #ifndef LIBGEOTIFF_GEOTIFFIO_H_ 15 | #define LIBGEOTIFF_GEOTIFFIO_H_ 16 | 17 | #include "geotiff.h" /* public key interface */ 18 | #include "geovalues.h" /* key code definitions */ 19 | 20 | #endif /* LIBGEOTIFF_GEOTIFFIO_H_ */ 21 | -------------------------------------------------------------------------------- /libgeotiff/README.WIN: -------------------------------------------------------------------------------- 1 | Windows Build 2 | ------------- 3 | 4 | Most of the notes in the README apply on Windows as well; however, to 5 | configure and build follow the following steps: 6 | 7 | o Make sure you have the required environment variables set for VC++. Often 8 | this is accomplished by running the VCVARS32.BAT file from the VC++ bin 9 | directory. 10 | 11 | o Edit makefile.vc, updating the TIFF_DIR (or TIFF_LIB and TIFF_INC) variable 12 | to point to the location of the tiff build tree. 13 | 14 | o Build using the command ``nmake -f makefile.vc'' 15 | 16 | If you don't use makefile.vc, you will need to copy geo_config.h.vc to 17 | geo_config.h by hand. 18 | -------------------------------------------------------------------------------- /libgeotiff/epsg_pm.inc: -------------------------------------------------------------------------------- 1 | /* EPSG/GeoTIFF Rev 0.2 Prime Meridian Database */ 2 | 3 | /* C database for Geotiff include files. */ 4 | /* the macro ValuePair() must be defined */ 5 | /* by the enclosing include file */ 6 | 7 | #ifdef INCLUDE_OLD_CODES 8 | #include old_pm.inc 9 | #endif /* OLD Codes */ 10 | 11 | ValuePair(PM_Greenwich, 8901) 12 | ValuePair(PM_Lisbon, 8902) 13 | ValuePair(PM_Paris, 8903) 14 | ValuePair(PM_Bogota, 8904) 15 | ValuePair(PM_Madrid, 8905) 16 | ValuePair(PM_Rome, 8906) 17 | ValuePair(PM_Bern, 8907) 18 | ValuePair(PM_Jakarta, 8908) 19 | ValuePair(PM_Ferro, 8909) 20 | ValuePair(PM_Brussels, 8910) 21 | ValuePair(PM_Stockholm, 8911) 22 | /* end of list */ 23 | -------------------------------------------------------------------------------- /geotiff/html/spec/geotiff2.1.html: -------------------------------------------------------------------------------- 1 |

GeoTIFF Web Page Table of Contents Top of Section 2

2 | 3 |

2.1 Notation

4 | This spec follows the notation remarks of the TIFF 6.0 spec, regarding 5 | "is", "shall", "should", and "may"; the first two indicate mandatory 6 | requirements, "should" indicates a strong recommendation, while "may" indicates 7 | an option.

8 | 9 | 10 | -------------------------------------------------------------------------------- /libgeotiff/.gitignore: -------------------------------------------------------------------------------- 1 | Makefile.in 2 | aclocal.m4 3 | autom4te.cache/ 4 | bin/Makefile.in 5 | cmake/Makefile.in 6 | compile 7 | config.guess 8 | config.sub 9 | configure 10 | depcomp 11 | INSTALL 12 | install-sh 13 | libxtiff/Makefile.in 14 | ltmain.sh 15 | m4/libtool.m4 16 | m4/ltoptions.m4 17 | m4/ltsugar.m4 18 | m4/ltversion.m4 19 | m4/lt~obsolete.m4 20 | man/Makefile.in 21 | man/man1/Makefile.in 22 | missing 23 | .deps/ 24 | Makefile 25 | bin/.deps/ 26 | bin/Makefile 27 | cmake/Makefile 28 | config.log 29 | config.status 30 | geo_config.h 31 | libtool 32 | libxtiff/.deps/ 33 | libxtiff/Makefile 34 | man/Makefile 35 | man/man1/Makefile 36 | stamp-h1 37 | *.o 38 | *.lo 39 | *.la 40 | .libs/ 41 | bin/applygeo 42 | bin/geotifcp 43 | bin/listgeo 44 | bin/makegeo 45 | -------------------------------------------------------------------------------- /libgeotiff/man/man1/applygeo.1: -------------------------------------------------------------------------------- 1 | \" TITLE: applygeo Man Pages 2 | \" AUTHOR: Bas Couwenberg 3 | \" 4 | .TH APPLYGEO "1" "August 2016" "libgeotiff 1.4.1" "libgeotiff Manual Pages" 5 | .SH NAME 6 | applygeo \- apply georeferencing to an existing file 7 | 8 | .SH SYNOPSIS 9 | .B applygeo 10 | \fIfile.geo\fR \fIfile.tiff\fR 11 | .SH DESCRIPTION 12 | 13 | .PP 14 | .B applygeo 15 | is a utility for applying georeferencing to an existing file. 16 | 17 | .SH OPTIONS 18 | .TP 6 19 | \fIfile.geo\fR 20 | file containing projection (eg. from listgeo) 21 | .TP 6 22 | \fIfile.tiff\fR 23 | TIFF file into which the projection is written 24 | 25 | .SH AUTHORS 26 | jeskynar and Frank Warmerdam . 27 | 28 | .SH "SEE ALSO" 29 | .BR geotifcp (1) 30 | .BR listgeo (1) 31 | 32 | -------------------------------------------------------------------------------- /libgeotiff/geo_config.h.vc: -------------------------------------------------------------------------------- 1 | #ifndef GEO_CONFIG_H 2 | #define GEO_CONFIG_H 3 | 4 | /* Define if you have the ANSI C header files. */ 5 | #ifndef STDC_HEADERS 6 | #define STDC_HEADERS 1 7 | #endif 8 | 9 | /* Define if your processor stores words with the most significant 10 | byte first (like Motorola and SPARC, unlike Intel and VAX). */ 11 | /* #undef WORDS_BIGENDIAN */ 12 | 13 | /* Define if you have the header file. */ 14 | #ifndef HAVE_STDLIB_H 15 | #define HAVE_STDLIB_H 1 16 | #endif 17 | 18 | /* Define if you have the header file. */ 19 | #ifndef HAVE_STRING_H 20 | #define HAVE_STRING_H 1 21 | #endif 22 | 23 | /* Build as DLL */ 24 | #define BUILD_AS_DLL 1 25 | 26 | /* Turn off TOWGS84 if necessary */ 27 | /* #define GEO_NORMALIZE_DISABLE_TOWGS84 1 */ 28 | 29 | #endif /* ndef GEO_CONFIG_H */ 30 | -------------------------------------------------------------------------------- /geotiff/html/spec/geotiff2.html: -------------------------------------------------------------------------------- 1 |

GeoTIFF Web Page Table of Contents

2 | 3 |

2 Baseline GeoTIFF

4 |

5 |

6 | 7 | 8 |

2.1 Notation

9 | 10 |

2.2 GeoTIFF Design Considerations

11 | 12 |

2.3 GeoTIFF Software Requirements

13 | 14 |

2.4 GeoTIFF File and "Key" Structure

15 | 16 |

2.5 Coordinate Systems in GeoTIFF

17 | 18 |

2.6 Coordinate Transformations

19 | 20 |

2.7 Geocoding Raster Data

21 | -------------------------------------------------------------------------------- /libgeotiff/epsg_units.inc: -------------------------------------------------------------------------------- 1 | /* 2 | * Rev. 0.2 EPSG/POSC Units Database. 3 | */ 4 | 5 | #ifdef INCLUDE_OLD_CODES 6 | #include geo_units.inc 7 | #endif /* OLD Codes */ 8 | 9 | ValuePair(Linear_Meter, 9001) 10 | ValuePair(Linear_Foot, 9002) 11 | ValuePair(Linear_Foot_US_Survey, 9003) 12 | ValuePair(Linear_Foot_Modified_American, 9004) 13 | ValuePair(Linear_Foot_Clarke, 9005) 14 | ValuePair(Linear_Foot_Indian, 9006) 15 | ValuePair(Linear_Link, 9007) 16 | ValuePair(Linear_Link_Benoit, 9008) 17 | ValuePair(Linear_Link_Sears, 9009) 18 | ValuePair(Linear_Chain_Benoit, 9010) 19 | ValuePair(Linear_Chain_Sears, 9011) 20 | ValuePair(Linear_Yard_Sears, 9012) 21 | ValuePair(Linear_Yard_Indian, 9013) 22 | ValuePair(Linear_Fathom, 9014) 23 | ValuePair(Linear_Mile_International_Nautical, 9015) 24 | /* 25 | * Angular Units 26 | */ 27 | ValuePair(Angular_Radian, 9101) 28 | ValuePair(Angular_Degree, 9102) 29 | ValuePair(Angular_Arc_Minute, 9103) 30 | ValuePair(Angular_Arc_Second, 9104) 31 | ValuePair(Angular_Grad, 9105) 32 | ValuePair(Angular_Gon, 9106) 33 | ValuePair(Angular_DMS, 9107) 34 | ValuePair(Angular_DMS_Hemisphere, 9108) 35 | /* end of list */ 36 | -------------------------------------------------------------------------------- /libgeotiff/README_BIN: -------------------------------------------------------------------------------- 1 | libgeotiff Binary Distribution for Unix 2 | --------------------------------------- 3 | 4 | This tree contains a binary distribution of libgeotiff, and related 5 | utilities (listgeo, and geotifcp) for a Unix platform (as indicated in 6 | the distribution filename). 7 | 8 | The distribution should consist of: 9 | 10 | README: this file 11 | bin/listgeo: utility program 12 | bin/geotifcp: utility program 13 | lib/libgeotiff.a: static library for libgeotiff, applications also have 14 | to link against libtiff. 15 | lib/libgeotiff-$VERSION.so: Shared library version of the above. 16 | lib/libgeotiff.so: link to the specific shared library. 17 | include: The include files for libgeotiff. 18 | 19 | This distribution is intended to be suitable to untar directly under 20 | /usr/local or /usr to give a rough equivelent to having done a "make install" 21 | from the libgeotiff source, though this README should be removed. 22 | 23 | User documentation for listgeo and geotifcp can be found at: 24 | 25 | http://www.remotesensing.org/geotiff/listgeo.html 26 | http://www.remotesensing.org/geotiff/geotifcp.html 27 | 28 | General information on libgeotiff, and GeoTIFF can be found at: 29 | 30 | http://www.remotesensing.org/geotiff/geotiff.html 31 | 32 | or 33 | 34 | http://www.geotiff.org/ 35 | 36 | 37 | -------------------------------------------------------------------------------- /geotiff/html/api/pages.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Page Index 6 | 7 | 8 | 9 | 10 | 11 | 21 |
22 |

Related Pages

Here is a list of all related documentation pages: 26 |
27 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  28 | 29 | doxygen 1.6.3
30 | 31 | 32 | -------------------------------------------------------------------------------- /libgeotiff/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # $Id: autogen.sh 61 2007-12-11 20:13:48Z hobu $ 3 | # 4 | # Autotools boostrapping script 5 | # 6 | # We deliberately limit this to automake and autoconf since 7 | # we don't want geo_config.h.in regenerated automatically. 8 | # 9 | giveup() 10 | { 11 | echo 12 | echo " Something went wrong, giving up!" 13 | echo 14 | mv geo_config.h.in.safe geo_config.h.in 15 | exit 1 16 | } 17 | 18 | cp geo_config.h.in geo_config.h.in.safe 19 | OSTYPE=`uname -s` 20 | 21 | for libtoolize in glibtoolize libtoolize; do 22 | LIBTOOLIZE=`which $libtoolize 2>/dev/null` 23 | if test "$LIBTOOLIZE"; then 24 | break; 25 | fi 26 | done 27 | 28 | #AMFLAGS="--add-missing --copy --force-missing" 29 | AMFLAGS="--add-missing --copy" 30 | if test "$OSTYPE" = "IRIX" -o "$OSTYPE" = "IRIX64"; then 31 | AMFLAGS=$AMFLAGS" --include-deps"; 32 | fi 33 | 34 | echo "Running aclocal" 35 | aclocal || giveup 36 | #echo "Running autoheader" 37 | #autoheader || giveup 38 | echo "Running libtoolize" 39 | $LIBTOOLIZE --force --copy || giveup 40 | echo "Running automake" 41 | automake $AMFLAGS # || giveup 42 | echo "Running autoconf" 43 | autoconf || giveup 44 | mv geo_config.h.in.safe geo_config.h.in 45 | 46 | echo "======================================" 47 | echo "Now you are ready to run './configure'" 48 | echo "======================================" 49 | -------------------------------------------------------------------------------- /geotiff/html/spec/geotiff4.html: -------------------------------------------------------------------------------- 1 |

GeoTIFF Web Page Table of Contents

2 | 3 |

4 Extended GeoTIFF

4 | 5 |
 6 | This section is for future development TBD.
 7 | Possible additional GeoKeys for Revision 2.0:
 8 |    PerspectHeightGeoKey   (General Vertical Nearsided Perspective)
 9 |    SOMInclinAngleGeoKey   (SOM)
10 |    SOMAscendLongGeoKey    (SOM)
11 |    SOMRevPeriodGeoKey     (SOM)
12 |    SOMEndOfPathGeoKey     (SOM)  ? is this needed ?  SHORT
13 |    SOMRatioGeoKey         (SOM)
14 |    SOMPathNumGeoKey       (SOM)    SHORT
15 |    SOMSatelliteNumGeoKey  (SOM)    SHORT
16 |    OEAShapeMGeoKey        (Oblated Equal Area)
17 |    OEAShapeNGeoKey        (Oblated Equal Area)
18 |    OEARotationAngleGeoKey (Oblated Equal Area)
19 | Other items for consideration:
20 | o Digital Elevation Model information, such as Vertical Datums, Sounding Datums.
21 | o Accuracy Keys for linear, circular, and spherical errors, etc.
22 |
o Source information, such as details of an original coordinate system
23 |   and of transformations between it and the coordinate system in which
24 |   data is being exchanged.

25 | 26 | 27 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/transverse_mercator_modified_alaska.html: -------------------------------------------------------------------------------- 1 | 2 | Transverse Mercator (Modified Alaska) 3 | 4 | 5 | 6 |

Transverse Mercator (Modified Alaska)

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 |
Name 11 | Transverse Mercator (Modified Alaska) 12 |
EPSG Code 15 | - 16 |
GeoTIFF Code 19 | CT_TransverseMercator_Modified_Alaska (2) 20 |
Supported By 23 | GeoTIFF 24 |
27 | 28 |

Projection Parameters

29 | 30 | 31 | 38 | 45 | 52 | 59 | 66 |
Name 32 | EPSG # 33 | GeoTIFF ID 34 | Units 35 | Notes 36 | 37 |
Latitude of natural origin 39 | 1 40 | NatOriginLat 41 | Angular 42 | 43 | 44 |
Longitude of natural origin 46 | 2 47 | NatOriginLong 48 | Angular 49 | 50 | 51 |
Scale factor at natural origin 53 | 5 54 | ScaleAtNatOrigin 55 | Unitless 56 | 57 | 58 |
False Easting 60 | 6 61 | FalseEasting 62 | Linear 63 | 64 | 65 |
False Northing 67 | 7 68 | FalseNorthing 69 | Linear 70 | 71 | 72 |
73 | 74 |

Notes

75 | 76 | I don't know anything about this projection. I am just assuming that it's 77 | parameters are similar to Transverse 78 | Mercator.

79 | 80 | 81 | -------------------------------------------------------------------------------- /libgeotiff/cmake/COPYING-CMAKE-SCRIPTS: -------------------------------------------------------------------------------- 1 | Redistribution and use in source and binary forms, with or without 2 | modification, are permitted provided that the following conditions 3 | are met: 4 | 5 | 1. Redistributions of source code must retain the copyright 6 | notice, this list of conditions and the following disclaimer. 7 | 2. Redistributions in binary form must reproduce the copyright 8 | notice, this list of conditions and the following disclaimer in the 9 | documentation and/or other materials provided with the distribution. 10 | 3. The name of the author may not be used to endorse or promote products 11 | derived from this software without specific prior written permission. 12 | 13 | THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 14 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 15 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 16 | IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 17 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 18 | NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 | THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/eckert_vi.html: -------------------------------------------------------------------------------- 1 | 2 | Eckert VI 3 | 4 | 5 | 6 |

Eckert VI

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Eckert VI 12 |
EPSG Code 15 | - 16 |
GeoTIFF Code 19 | - 20 |
OGC WKT Name 23 | Eckert_VI 24 |
Supported By 27 | OGC WKT (unofficial), PROJ.4, Mapinfo 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 42 | 43 | 50 | 51 | 58 | 59 | 66 | 67 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 |
Central Meridian 44 | 45 | 46 | central_meridian 47 | Angular 48 | 49 |
False Easting 52 | 53 | 54 | false_easting 55 | Linear 56 | 57 |
False Northing 60 | 61 | 62 | false_northing 63 | Linear 64 | 65 |
68 | 69 |

Notes

70 | 71 | PROJ.4 classifies Eckert VI as pseudocylindrical, equal area. It appears 72 | that PROJ.4 only supports it as a spherical projection, and this may be 73 | true of most packages. Generally it is used for world views I gather.

74 | 75 |

PROJ.4 Organization

76 | 77 |
78 |   +proj=eck6 +lon_0=Central Meridian
79 |               +x_0=False Easting
80 |               +y_0=False Northing
81 | 
82 | 83 | 84 | 85 | 86 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/eckert_iv.html: -------------------------------------------------------------------------------- 1 | 2 | Eckert IV 3 | 4 | 5 | 6 |

Eckert IV

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Eckert IV 12 |
EPSG Code 15 | - 16 |
GeoTIFF Code 19 | - 20 |
OGC WKT Name 23 | Eckert_IV 24 |
Supported By 27 | OGC WKT (unofficial), PROJ.4, Mapinfo 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 42 | 43 | 50 | 51 | 58 | 59 | 66 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 |
Central Meridian 44 | 45 | 46 | central_meridian 47 | Angular 48 | 49 |
False Easting 52 | 53 | 54 | false_easting 55 | Linear 56 | 57 |
False Northing 60 | 61 | 62 | false_northing 63 | Linear 64 | 65 |
67 | 68 |

Notes

69 | 70 | PROJ.4 classifies Eckert IV as pseudocylindrical, equal area. It appears 71 | that PROJ.4 only supports it as a spherical projection, and this may be 72 | true of most packages. Generally it is used for world views I gather.

73 | 74 |

PROJ.4 Organization

75 | 76 |
77 |   +proj=eck4 +lon_0=Central Meridian
78 |               +x_0=False Easting
79 |               +y_0=False Northing
80 | 
81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/gall_stereographic.html: -------------------------------------------------------------------------------- 1 | 2 | Gall Stereographic 3 | 4 | 5 | 6 |

Gall Stereographic

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 | 33 | 34 |
Name 11 | Gall Stereograpic 12 |
Alias 15 | Gall 16 |
EPSG Code 19 | - 20 |
GeoTIFF Code 23 | - 24 |
OGC WKT Name 27 | Gall_Stereographic 28 |
Supported By 31 | OGC WKT (unofficial), PROJ.4, Mapinfo 32 |
35 | 36 |

Projection Parameters

37 | 38 | 39 | 46 | 47 | 54 | 55 | 62 | 63 | 70 |
Name 40 | EPSG # 41 | GeoTIFF ID 42 | OGC WKT 43 | Units 44 | Notes 45 |
Central Meridian 48 | 49 | 50 | central_meridian 51 | Angular 52 | 53 |
False Easting 56 | 57 | 58 | false_easting 59 | Linear 60 | 61 |
False Northing 64 | 65 | 66 | false_northing 67 | Linear 68 | 69 |
71 | 72 |

Notes

73 | 74 | This is classified as a cylindrical, but neither equal area nor conformal. 75 | Note that a form of 76 | Cylindrical Equal Area is known 77 | as Gall Orthographic.

78 | 79 |

PROJ.4 Organization

80 | 81 |
82 |   +proj=gall +lon_0=Central Meridian
83 |              +x_0=False Easting
84 |              +y_0=False Northing
85 | 
86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/sinusoidal.html: -------------------------------------------------------------------------------- 1 | 2 | Sinusoidal 3 | 4 | 5 | 6 |

Sinusoidal

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Sinusoidal 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_Sinusoidal (24) 20 |
OGC WKT Name 23 | Sinusoidal 24 |
Supported By 27 | GeoTIFF, PROJ.4, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Longitude of projection center 44 | 2 45 | ProjCenterLong 46 | longitude_of_center 47 | Angular 48 | 49 | 50 |
False Easting 52 | 6 53 | FalseEasting 54 | false_easting 55 | Linear 56 | 57 | 58 |
False Northing 60 | 7 61 | FalseNorthing 62 | false_northing 63 | Linear 64 | 65 | 66 |
67 | 68 |

Notes

69 | 70 | Intergraph files use NatOriginLat/Long instead of CenterLat/Long. Earlier 71 | discussions of Sinusoidal don't include a scale, and CenterLat, but 72 | Intergraph's files do. I have omitted them from the above list, but I 73 | imagine they may be added back.

74 | 75 |

PROJ.4 Organization

76 | 77 | 78 |
79 |   +proj=sinu +lon_0=Longitude at projection center
80 |              +x_0=False Easting
81 |              +y_0=False Northing
82 | 
83 |
84 | 85 | 86 | -------------------------------------------------------------------------------- /geotiff/html/spec/geotiff2.3.html: -------------------------------------------------------------------------------- 1 |

GeoTIFF Web Page Table of Contents Top of Section 2

2 | 3 |

2.3 GeoTIFF Software Requirements

4 | GeoTIFF requires support for all documented TIFF 6.0 tag data-types, and in 5 | particular requires the IEEE double-precision floating point "DOUBLE" type tag. 6 | Most of the parameters for georeferencing will not have sufficient accuracy 7 | with single-precision IEEE, nor with RATIONAL format storage. The only other 8 | alternative for storing high-precision values would be to encode as ASCII, but 9 | this does not conform to TIFF recommendations for data encoding.

10 |

11 | It is worth emphasizing here that the TIFF spec indicates that TIFF-compliant 12 | readers shall honor the 'byte-order' indicator, meaning that 4-byte integers 13 | from files created on opposite order machines will be swapped in software, and 14 | that 8-byte DOUBLE's will be 8-byte swapped.

15 |

16 | A GeoTIFF reader/writer, in addition to supporting the standard TIFF tag types, 17 | must also have an additional module which can parse the "Geokey" MetaTag 18 | information. A public-domain software package for performing this function is 19 | now available; see the "References" in section 5 for the location. 20 |

 
21 | 
22 | 


--------------------------------------------------------------------------------
/geotiff/html/api/structctb-members.html:
--------------------------------------------------------------------------------
 1 | 
 2 | 
 3 | 
 4 | 
 5 | libgeotiff: Member List
 6 | 
 7 | 
 8 | 
 9 | 
10 | 
11 | 
27 | 
28 |

ctb Member List

This is the complete list of members for ctb, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/mollweide.html: -------------------------------------------------------------------------------- 1 | 2 | Mollweide 3 | 4 | 5 | 6 |

Mollweide

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 | 33 | 34 | 37 | 38 | 41 | 42 | 45 | 46 |
Name 11 | Mollweide 12 |
Alias 15 | Hornolographic 16 |
Alias 19 | Hornalographic 20 |
Alias 23 | Babinet 24 |
Alias 27 | Elliptical 28 |
EPSG Code 31 | - 32 |
GeoTIFF Code 35 | - 36 |
OGC WKT Name 39 | Mollweide 40 |
Supported By 43 | OGC WKT (unofficial), PROJ.4, Mapinfo 44 |
47 | 48 |

Projection Parameters

49 | 50 | 51 | 58 | 59 | 66 | 67 | 74 | 75 | 82 |
Name 52 | EPSG # 53 | GeoTIFF ID 54 | OGC WKT 55 | Units 56 | Notes 57 |
Central Meridian 60 | 61 | 62 | central_meridian 63 | Angular 64 | 65 |
False Easting 68 | 69 | 70 | false_easting 71 | Linear 72 | 73 |
False Northing 76 | 77 | 78 | false_northing 79 | Linear 80 | 81 |
83 | 84 |

Notes

85 | 86 | This is classified as a pseudocylindrical and equal area.

87 | 88 |

PROJ.4 Organization

89 | 90 |
 91 |   +proj=moll +lon_0=Central Meridian
 92 |              +x_0=False Easting
 93 |              +y_0=False Northing
 94 | 
95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/gnomonic.html: -------------------------------------------------------------------------------- 1 | 2 | Gnomonic 3 | 4 | 5 | 6 |

Gnomonic

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Gnomonic 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_Gnomonic (19) 20 |
OGC WKT Name 23 | Gnomonic 24 |
Supported By 27 | GeoTIFF, PROJ.4 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of projection center 44 | 1 45 | ProjCenterLat 46 | latitude_of_origin 47 | Angular 48 | 49 | 50 |
Longitude of projection center 52 | 2 53 | ProjCenterLong 54 | central_meridian 55 | Angular 56 | 57 | 58 |
False Easting 60 | 6 61 | FalseEasting 62 | false_easting 63 | Linear 64 | 65 | 66 |
False Northing 68 | 7 69 | FalseNorthing 70 | false_northing 71 | Linear 72 | 73 | 74 |
75 | 76 |

Notes

77 | 78 | I get slightly different results from PROJ.4, and PCI (GCTP)'s 79 | results as noted in 80 | Random Issues.

81 | 82 |

PROJ.4 Organization

83 | 84 | 85 |
86 |   +proj=gnom  +lat_0=Latitude at projection center
87 |               +lon_0=Longitude at projection center
88 |               +x_0=False Easting
89 |               +y_0=False Northing
90 | 
91 |
92 | 93 | 94 | -------------------------------------------------------------------------------- /geotiff/html/api/structgtiff-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

gtiff Member List

This is the complete list of members for gtiff, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/api/structGeoKey-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

GeoKey Member List

This is the complete list of members for GeoKey, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/api/structST__KEY-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

ST_KEY Member List

This is the complete list of members for ST_KEY, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/api/structKeyEntry-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

KeyEntry Member List

This is the complete list of members for KeyEntry, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/api/structST__TIFF-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

ST_TIFF Member List

This is the complete list of members for ST_TIFF, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/api/structKeyHeader-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

KeyHeader Member List

This is the complete list of members for KeyHeader, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/api/struct__KeyInfo-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

_KeyInfo Member List

This is the complete list of members for _KeyInfo, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/api/structdatafile__s-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

datafile_s Member List

This is the complete list of members for datafile_s, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /libgeotiff/man/man1/listgeo.1: -------------------------------------------------------------------------------- 1 | \" TITLE: libgeotiff Man Pages 2 | \" AUTHOR: Marco Cecchetti 3 | \" 4 | .TH LISTGEO "1" "October 2008" "libgeotiff 1.2.5" "libgeotiff Manual Pages" 5 | .SH NAME 6 | listgeo \- dump geotiff metadata 7 | 8 | .SH SYNOPSIS 9 | .B listgeo 10 | [\-tfw] [\-no_norm] [\-proj4] [\-t \fIDIR\fP] file 11 | .SH DESCRIPTION 12 | 13 | .PP 14 | The program listgeo takes a GeoTIFF file as input and dumps to the standard 15 | output a GeoTIFF "metadata" file, which is human readable, and may also be 16 | used as input to other programs which use the "GTIFImport" routine, such as 17 | geotifcp. 18 | 19 | .SH OPTIONS 20 | listgeo accepts the following options: 21 | .TP 6 22 | .B \-d 23 | report lat/long corners in decimal degrees instead of DMS 24 | .TP 6 25 | .B \-tfw 26 | Generate a .tfw (ESRI TIFF World) file for the target file 27 | .TP 6 28 | .B \-no-norm 29 | Don't report 'normalized' parameter values 30 | .TP 6 31 | .B \-proj4 32 | Report PROJ.4 equivelent projection definition 33 | .TP 6 34 | .B \-t \fIDIR\fP 35 | force to look in \fIDIR\fP for EPSG_CVS files, overriding default behaviour 36 | 37 | .SH OTHER INFO 38 | This program is distributed with libgeotiff software. The home page is located 39 | at https://trac.osgeo.org/geotiff/. Here you can find links about other 40 | related projects. A mailing list about libgeotiff development is currenctly 41 | active at geotiff@lists.maptools.org. 42 | 43 | .SH AUTHORS 44 | Niles Ritter, Frank Warmerdam , 45 | Derrick J. Brashear 46 | and many others contributors. 47 | 48 | .SH "SEE ALSO" 49 | .BR geotifcp (1) 50 | .BR applygeo (1) 51 | 52 | -------------------------------------------------------------------------------- /geotiff/html/api/structTempKeyData-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

TempKeyData Member List

This is the complete list of members for TempKeyData, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/api/struct__TIFFMethod-members.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Member List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

_TIFFMethod Member List

This is the complete list of members for _TIFFMethod, including all inherited members. 29 |
30 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  31 | 32 | doxygen 1.6.3
33 | 34 | 35 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/new_zealand_map_grid.html: -------------------------------------------------------------------------------- 1 | 2 | New Zealand Map Grid 3 | 4 | 5 | 6 |

New Zealand Map Grid

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | New Zealand Map Grid 12 |
EPSG Code 15 | 9811 16 |
GeoTIFF Code 19 | CT_NewZealandMapGrid (26) 20 |
OGC WKT Name 23 | New_Zealand_Map_Grid 24 |
Supported By 27 | EPSG, GeoTIFF, PROJ.4 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 42 | 43 | 50 | 51 | 58 | 59 | 66 | 67 | 74 | 75 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 |
Latitude of natural origin 44 | 1 45 | NatOriginLat 46 | latitude_of_origin 47 | Angular 48 | 49 |
Longitude of natural origin 52 | 2 53 | NatOriginLong 54 | central_meridian 55 | Angular 56 | 57 |
False Easting 60 | 6 61 | FalseEasting 62 | false_easting 63 | Linear 64 | 65 |
False Northing 68 | 7 69 | FalseNorthing 70 | false_northing 71 | Linear 72 | 73 |
76 | 77 |

PROJ.4 Organization

78 | 79 | 80 |
81 |   +proj=nzmg  +lat_0=Latitude of natural origin
82 |               +lon_0=Longitude of natural origin
83 |               +x_0=False Easting
84 |               +y_0=False Northing
85 | 
86 |
87 | 88 |

EPSG Notes

89 | 90 | New Zealand Department of Lands technical circular 1973/32.

91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | -------------------------------------------------------------------------------- /geotiff/html/geotifcp.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | geotifcp - Copy TIFF, Installing GeoTIFF Metadata 4 | 5 | 6 | 7 | 8 |

geotifcp - Copy TIFF with updated GeoTIFF Metadata

9 | 10 |
11 | Syntax:   geotifcp [options] [-e esri_worldfile] [-g metadata] input output
12 | 
13 | 14 | The program geotifcp is identical in function to the LIBTIFF program 15 | "tiffcp", with the additional feature that if the "-g " 16 | option is used the GeoTIFF information from the file 17 | will be installed into the output file. The "-e worldfile" option will 18 | override the tiepoint and scale information from the metadata file based 19 | on the contents of the ESRI worldfile.

20 | 21 | If the "-g" option is not used the geotiff information from the source 22 | file is preserved in the new output file.

23 | 24 | "geotifcp" inherits all the other file-transformation capabilities 25 | of the tiffcp program; for help on the additional parameters give 26 | the command:

27 |

28 |   %  geotifcp -h
29 | 
30 | 31 | The metadata format is the same as is described in the 32 | listgeo program. Normally metadata files for use with geotifcp are 33 | generated from a similar file with listgeo, and then modified by hand 34 | as required.

35 | 36 |

See Also:

37 | 38 |
    39 |
  1. 40 | listgeo - Dump GeoTIFF Metadata

    41 | 42 |

  2. 43 | 44 | http://www.remotesensing.org/geotiff/geotiff.html - GeoTIFF/libgeotiff Home Page

    45 | 46 |

47 | 48 | 49 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/orthographic.html: -------------------------------------------------------------------------------- 1 | 2 | Orthographic 3 | 4 | 5 | 6 |

Orthographic

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Orthographic 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_Orthographic (21) 20 |
OGC WKT Name 23 | Orthographic 24 |
Supported By 27 | GeoTIFF, PROJ.4, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of projection center 44 | 1 45 | ProjCenterLat 46 | latitude_of_origin 47 | Angular 48 | 49 | 50 |
Longitude of projection center 52 | 2 53 | ProjCenterLong 54 | central_meridian 55 | Angular 56 | 57 | 58 |
False Easting 60 | 6 61 | FalseEasting 62 | false_easting 63 | Linear 64 | 65 | 66 |
False Northing 68 | 7 69 | FalseNorthing 70 | false_northing 71 | Linear 72 | 73 | 74 |
75 | 76 |

Notes

77 | 78 | I get slightly different results from PROJ.4, and PCI (GCTP)'s 79 | results as noted in 80 | Random Issues.

81 | 82 |

PROJ.4 Organization

83 | 84 | 85 |
86 |   +proj=ortho +lat_0=Latitude at projection center
87 |               +lon_0=Longitude at projection center
88 |               +x_0=False Easting
89 |               +y_0=False Northing
90 | 
91 |
92 | 93 | 94 | -------------------------------------------------------------------------------- /libgeotiff/docs/geotifcp.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | geotifcp - Copy TIFF, Installing GeoTIFF Metadata 4 | 5 | 6 | 7 | 8 |

geotifcp - Copy TIFF with updated GeoTIFF Metadata

9 | 10 |
11 | Syntax:   geotifcp [options] [-e esri_worldfile] [-g metadata] input output
12 | 
13 | 14 | The program geotifcp is identical in function to the LIBTIFF program 15 | "tiffcp", with the additional feature that if the "-g " 16 | option is used the GeoTIFF information from the file 17 | will be installed into the output file. The "-e worldfile" option will 18 | override the tiepoint and scale information from the metadata file based 19 | on the contents of the ESRI worldfile.

20 | 21 | If the "-g" option is not used the geotiff information from the source 22 | file is preserved in the new output file.

23 | 24 | "geotifcp" inherits all the other file-transformation capabilities 25 | of the tiffcp program; for help on the additional parameters give 26 | the command:

27 |

28 |   %  geotifcp -h
29 | 
30 | 31 | The metadata format is the same as is described in the 32 | listgeo program. Normally metadata files for use with geotifcp are 33 | generated from a similar file with listgeo, and then modified by hand 34 | as required.

35 | 36 |

See Also:

37 | 38 |
    39 |
  1. 40 | listgeo - Dump GeoTIFF Metadata

    41 | 42 |

  2. 43 | 44 | http://www.remotesensing.org/geotiff/geotiff.html - GeoTIFF/libgeotiff Home Page

    45 | 46 |

47 | 48 | 49 | -------------------------------------------------------------------------------- /libgeotiff/bin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # 3 | # CMake configuration file to build GeoTIFF utility programs 4 | # 5 | # Author: Mateusz Loskot 6 | # 7 | ############################################################################### 8 | 9 | INCLUDE_DIRECTORIES( 10 | . 11 | ${CMAKE_SOURCE_DIR}) 12 | 13 | IF(WIN32 AND MSVC) 14 | SET(GETOPT_SOURCE getopt.c) 15 | ENDIF() 16 | ############################################################################### 17 | # Collect programs to build 18 | 19 | SET(GEOTIFF_UTILITIES makegeo listgeo applygeo) 20 | 21 | MESSAGE(STATUS "Adding GeoTIFF utilities to build") 22 | 23 | FOREACH(utility ${GEOTIFF_UTILITIES}) 24 | ADD_EXECUTABLE(${utility} ${utility}.c ${GETOPT_SOURCE}) 25 | TARGET_LINK_LIBRARIES(${utility} PRIVATE ${GEOTIFF_LIBRARY_TARGET}) 26 | ENDFOREACH() 27 | 28 | ADD_EXECUTABLE(geotifcp geotifcp.c ${GETOPT_SOURCE}) 29 | TARGET_LINK_LIBRARIES(geotifcp 30 | PRIVATE 31 | ${GEOTIFF_LIBRARY_TARGET} 32 | ${JPEG_LIBRARIES} 33 | ${ZLIB_LIBRARIES}) 34 | target_include_directories(geotifcp PRIVATE $) 35 | 36 | SET(GEOTIFF_UTILITIES ${GEOTIFF_UTILITIES} geotifcp ) 37 | 38 | MESSAGE(STATUS "Adding GeoTIFF utilities to build - done: ${GEOTIFF_UTILITIES}") 39 | 40 | ############################################################################### 41 | # Targets installation 42 | 43 | INSTALL(TARGETS ${GEOTIFF_UTILITIES} 44 | RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} 45 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} 46 | ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) 47 | -------------------------------------------------------------------------------- /libgeotiff/cmake/project-config-version.cmake.in: -------------------------------------------------------------------------------- 1 | # Version checking for @PROJECT_NAME@ 2 | 3 | set (PACKAGE_VERSION "@PROJECT_VERSION@") 4 | set (PACKAGE_VERSION_MAJOR "@PROJECT_VERSION_MAJOR@") 5 | set (PACKAGE_VERSION_MINOR "@PROJECT_VERSION_MINOR@") 6 | set (PACKAGE_VERSION_PATCH "@PROJECT_VERSION_PATCH@") 7 | 8 | if (NOT PACKAGE_FIND_NAME STREQUAL "@PROJECT_NAME@") 9 | # Check package name (in particular, because of the way cmake finds 10 | # package config files, the capitalization could easily be "wrong"). 11 | # This is necessary to ensure that the automatically generated 12 | # variables, e.g., _FOUND, are consistently spelled. Make 13 | # this a WARNING, because this is a user error that needs to be fixed. 14 | message (WARNING 15 | "Mismatched package names: use find_package(@PROJECT_NAME@ ...) instead" 16 | " of find_package(${PACKAGE_FIND_NAME} ...)") 17 | set (PACKAGE_VERSION_UNSUITABLE TRUE) 18 | elseif (NOT (APPLE OR CMAKE_SIZEOF_VOID_P EQUAL @CMAKE_SIZEOF_VOID_P@)) 19 | # Reject if there's a 32-bit/64-bit mismatch (may not be necessary 20 | # with Apple since a multi-architecture library might be built for 21 | # that platform). 22 | message (STATUS 23 | "${CMAKE_CURRENT_LIST_FILE} unsuitable because package built with " 24 | "sizeof(*void) = @CMAKE_SIZEOF_VOID_P@") 25 | set (PACKAGE_VERSION_UNSUITABLE TRUE) 26 | elseif (PACKAGE_FIND_VERSION) 27 | if (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION) 28 | set (PACKAGE_VERSION_EXACT TRUE) 29 | elseif (PACKAGE_FIND_VERSION VERSION_LESS PACKAGE_VERSION 30 | AND PACKAGE_FIND_VERSION_MAJOR EQUAL PACKAGE_VERSION_MAJOR) 31 | set (PACKAGE_VERSION_COMPATIBLE TRUE) 32 | endif () 33 | endif () 34 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/robinson.html: -------------------------------------------------------------------------------- 1 | 2 | Robinson 3 | 4 | 5 | 6 |

Robinson

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Robinson 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_Robinson (23) 20 |
OGC WKT Name 23 | Robinson 24 |
Supported By 27 | GeoTIFF, PROJ.4, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Longitude of projection center 44 | 2 45 | ProjCenterLong 46 | longitude_of_center 47 | Angular 48 | 49 | 50 |
False Easting 52 | 6 53 | FalseEasting 54 | false_easting 55 | Linear 56 | 57 | 58 |
False Northing 60 | 7 61 | FalseNorthing 62 | false_northing 63 | Linear 64 | 65 | 66 |
67 | 68 |

Notes

69 | 70 | Intergraph files use NatOriginLat/Long instead of CenterLat/Long. Earlier 71 | discussions of Robinson don't include a scale, and CenterLat, but Intergraph's 72 | files do. I have omitted them from the above list, but I imagine they 73 | may be added back.

74 | 75 | I also get very substantially different results from PROJ.4's Robinson 76 | support, and PCI (GCTP)'s results as noted in 77 | Random Issues.

78 | 79 |

PROJ.4 Organization

80 | 81 | 82 |
83 |   +proj=robin +lon_0=Longitude at projection center
84 |               +x_0=False Easting
85 |               +y_0=False Northing
86 | 
87 |
88 | 89 | 90 | -------------------------------------------------------------------------------- /geotiff/html/api/structctb.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: ctb Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

ctb Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file:
    33 |
  • cpl_csv.c
  • 34 |
35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/rosenmund_oblique_mercator.html: -------------------------------------------------------------------------------- 1 | 2 | Rosenmund Oblique Mercator 3 | 4 | 5 | 6 |

Rosenmund Oblique Mercator

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 |
Name 11 | Rosenmund Oblique Mercator 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_ObliqueMercator_Rosenmund (5) 20 |
Supported By 23 | GeoTIFF 24 |
27 | 28 |

Projection Parameters

29 | 30 | 31 | 37 | 38 | 44 | 45 | 51 | 52 | 58 | 59 | 65 | 66 | 72 | 73 | 80 | 81 | 88 | 89 |
Name 32 | EPSG # 33 | GeoTIFF ID 34 | Units 35 | Notes 36 |
Latitude of projection center 39 | 1 40 | CenterLat 41 | Angular 42 | 43 |
Longitude of projection center 46 | 2 47 | CenterLong 48 | Angular 49 | 50 |
Azimuth of initial line 53 | 3 54 | AzimuthAngle 55 | Angular 56 | 57 |
Angle from Rectified to Skew Grid 60 | 4 61 | (missing in GeoTIFF) 62 | Angular 63 | 64 |
Scale factor on initial line 67 | 5 68 | ScaleAtCenter 69 | Unitless 70 | 71 |
Easting at projection center 74 | 6 75 | FalseEasting 76 | Linear 77 | As far as I know this is just a normal false easting despite the 78 | different EPSG name. 79 |
Northing at projection center 82 | 7 83 | FalseNorthing 84 | Linear 85 | As far as I know this is just a normal false northing despite the 86 | different EPSG name. 87 |
90 | 91 |

Notes

92 | 93 | I don't really know anything about this projection ... just assumed to 94 | be similar to Oblique Mercator in terms of parameters. There is no defined 95 | support for this in OGC WKT. 96 |

97 | 98 | 99 | -------------------------------------------------------------------------------- /geotiff/html/api/structgtiff.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: gtiff Struct Reference 6 | 7 | 8 | 9 | 10 | 11 |

27 |
28 |

gtiff Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/vandergrinten.html: -------------------------------------------------------------------------------- 1 | 2 | VanDerGrinten 3 | 4 | 5 | 6 |

VanDerGrinten

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 | 33 | 34 |
Name 11 | VanDerGrinten 12 |
Alias 15 | VanDerGrinten I 16 |
EPSG Code 19 | 20 |
GeoTIFF Code 23 | CT_VanDerGrinten (25) 24 |
OGC WKT Name 27 | VanDerGrinten 28 |
Supported By 31 | GeoTIFF, PROJ.4, OGC WKT 32 |
35 | 36 |

Projection Parameters

37 | 38 | 39 | 47 | 55 | 63 |
Name 40 | EPSG # 41 | GeoTIFF ID 42 | OGC WKT 43 | Units 44 | Notes 45 | 46 |
Longitude of projection center 48 | 2 49 | ProjCenterLong 50 | central_meridian 51 | Angular 52 | 53 | 54 |
False Easting 56 | 6 57 | FalseEasting 58 | false_easting 59 | Linear 60 | 61 | 62 |
False Northing 64 | 7 65 | FalseNorthing 66 | false_northing 67 | Linear 68 | 69 | 70 |
71 | 72 |

Notes

73 | 74 | Intergraph files use NatOriginLat/Long instead of CenterLat/Long. Earlier 75 | discussions of VanDerGrinten don't include a scale, and CenterLat, but 76 | Intergraph's 77 | files do. I have omitted them from the above list, but I imagine they 78 | may be added back.

79 | 80 | Note that VanDerGrinten is a spherical projection. Care must be taken 81 | translating between systems that derive a spherical radius approximation 82 | from the ellipsoid by different mechanisms.

83 | 84 |

PROJ.4 Organization

85 | 86 | 87 |
88 |   +proj=vandg +lon_0=Longitude at projection center
89 |               +x_0=False Easting
90 |               +y_0=False Northing
91 | 
92 |
93 | 94 | 95 | -------------------------------------------------------------------------------- /geotiff/html/api/structGeoKey.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: GeoKey Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

GeoKey Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/api/structKeyEntry.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: KeyEntry Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

KeyEntry Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/lambert_azimuthal_equal_area.html: -------------------------------------------------------------------------------- 1 | 2 | Lambert Azimuthal Equal Area 3 | 4 | 5 | 6 |

Lambert Azimuthal Equal Area

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Lambert Azimuthal Equal Area 12 |
EPSG Code 15 | 9820 16 |
GeoTIFF Code 19 | CT_LambertAzimEqualArea (10) 20 |
OGC WKT Name 23 | Lambert_Azimuthal_Equal_Area 24 |
Supported By 27 | GeoTIFF, PROJ.4, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of projection center 44 | 1 45 | ProjCenterLat 46 | latitude_of_center 47 | Angular 48 | 49 | 50 |
Longitude of projection center 52 | 2 53 | ProjCenterLong 54 | longitude_of_center 55 | Angular 56 | 57 | 58 |
False Easting 60 | 6 61 | FalseEasting 62 | false_easting 63 | Linear 64 | 65 | 66 |
False Northing 68 | 7 69 | FalseNorthing 70 | false_northing 71 | Linear 72 | 73 | 74 |
75 | 76 |

Notes

77 | 78 | Intergraph also includes a scale at the origin, and uses NatOriginLat/Long 79 | instead of ProjCenterLat/Long.

80 | 81 | Results differ somewhat between PROJ.4, and PCI (GCTP) as shown in 82 | Random Issues.

83 | 84 | 85 |

PROJ.4 Organization

86 | 87 | 88 |
89 |   +proj=laea  +lat_0=Latitude at projection center
90 |               +lon_0=Longitude at projection center
91 |               +x_0=False Easting
92 |               +y_0=False Northing
93 | 
94 |
95 | 96 | 97 | -------------------------------------------------------------------------------- /geotiff/html/api/structKeyHeader.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: KeyHeader Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

KeyHeader Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/api/structST__KEY.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: ST_KEY Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

ST_KEY Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/api/struct__KeyInfo.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: _KeyInfo Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

_KeyInfo Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/api/structST__TIFF.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: ST_TIFF Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

ST_TIFF Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/api/structTempKeyData.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: TempKeyData Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

TempKeyData Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/api/struct__TIFFMethod.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: _TIFFMethod Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

_TIFFMethod Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/api/structdatafile__s.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: datafile_s Struct Reference 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

datafile_s Struct Reference

29 |

List of all members.

30 | 31 |
32 |
The documentation for this struct was generated from the following file: 35 |
36 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  37 | 38 | doxygen 1.6.3
39 | 40 | 41 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/azimuthal_equidistant.html: -------------------------------------------------------------------------------- 1 | 2 | Azimuthal Equidistant 3 | 4 | 5 | 6 |

Azimuthal Equidistant

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Azimuthal Equidistant 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_AzimuthalEquidistant (12) 20 |
OGC WKT Name 23 | Azimuthal_Equidistant 24 |
Supported By 27 | GeoTIFF, PROJ.4, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of projection center 44 | 1 45 | ProjCenterLat 46 | latitude_of_center 47 | Angular 48 | 49 | 50 |
Longitude of projection center 52 | 2 53 | ProjCenterLong 54 | longitude_of_center 55 | Angular 56 | 57 | 58 |
False Easting 60 | 6 61 | FalseEasting 62 | false_easting 63 | Linear 64 | 65 | 66 |
False Northing 68 | 7 69 | FalseNorthing 70 | false_northing 71 | Linear 72 | 73 | 74 |
75 | 76 |

Notes

77 | 78 | Intergraph uses NatOriginLat and NatOriginLong instead of ProjCenterLat/Long 79 | but I have organized to match discussions on geotiff-l, and PCI/Erdas practise. 80 |

81 | 82 | I also can't get projection results to match between PROJ.4 and PCI (GCTP) 83 | as mentioned in Random Issues.

84 | 85 |

PROJ.4 Organization

86 | 87 | 88 |
89 |   +proj=aeqd  +lat_0=Latitude at projection center
90 |               +lon_0=Longitude at projection center
91 |               +x_0=False Easting
92 |               +y_0=False Northing
93 | 
94 |
95 | 96 | 97 | -------------------------------------------------------------------------------- /libgeotiff/epsg_ellipse.inc: -------------------------------------------------------------------------------- 1 | /* 2 | * GeoTIFF Rev. 0.2 Ellipsoids 3 | */ 4 | 5 | /* C database for Geotiff include files. */ 6 | /* the macro ValuePair() must be defined */ 7 | /* by the enclosing include file */ 8 | 9 | #ifdef INCLUDE_OLD_CODES 10 | #include old_ellipse.inc 11 | #endif /* OLD Codes */ 12 | 13 | ValuePair(Ellipse_Airy_1830, 7001) 14 | ValuePair(Ellipse_Airy_Modified_1849, 7002) 15 | ValuePair(Ellipse_Australian_National_Spheroid, 7003) 16 | ValuePair(Ellipse_Bessel_1841, 7004) 17 | ValuePair(Ellipse_Bessel_Modified, 7005) 18 | ValuePair(Ellipse_Bessel_Namibia, 7006) 19 | ValuePair(Ellipse_Clarke_1858, 7007) 20 | ValuePair(Ellipse_Clarke_1866, 7008) 21 | ValuePair(Ellipse_Clarke_1866_Michigan, 7009) 22 | ValuePair(Ellipse_Clarke_1880_Benoit, 7010) 23 | ValuePair(Ellipse_Clarke_1880_IGN, 7011) 24 | ValuePair(Ellipse_Clarke_1880_RGS, 7012) 25 | ValuePair(Ellipse_Clarke_1880_Arc, 7013) 26 | ValuePair(Ellipse_Clarke_1880_SGA_1922, 7014) 27 | ValuePair(Ellipse_Everest_1830_1937_Adjustment, 7015) 28 | ValuePair(Ellipse_Everest_1830_1967_Definition, 7016) 29 | ValuePair(Ellipse_Everest_1830_1975_Definition, 7017) 30 | ValuePair(Ellipse_Everest_1830_Modified, 7018) 31 | ValuePair(Ellipse_GRS_1980, 7019) 32 | ValuePair(Ellipse_Helmert_1906, 7020) 33 | ValuePair(Ellipse_Indonesian_National_Spheroid, 7021) 34 | ValuePair(Ellipse_International_1924, 7022) 35 | ValuePair(Ellipse_International_1967, 7023) 36 | ValuePair(Ellipse_Krassowsky_1940, 7024) 37 | ValuePair(Ellipse_NWL_9D, 7025) 38 | ValuePair(Ellipse_NWL_10D, 7026) 39 | ValuePair(Ellipse_Plessis_1817, 7027) 40 | ValuePair(Ellipse_Struve_1860, 7028) 41 | ValuePair(Ellipse_War_Office, 7029) 42 | ValuePair(Ellipse_WGS_84, 7030) 43 | ValuePair(Ellipse_GEM_10C, 7031) 44 | ValuePair(Ellipse_OSU86F, 7032) 45 | ValuePair(Ellipse_OSU91A, 7033) 46 | ValuePair(Ellipse_Clarke_1880, 7034) 47 | ValuePair(Ellipse_Sphere, 7035) 48 | /* end of list */ 49 | -------------------------------------------------------------------------------- /libgeotiff/geokeys.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * 3 | * geokeys.h - Public registry for valid GEOTIFF GeoKeys. 4 | * 5 | * Written By: Niles D. Ritter 6 | * 7 | * copyright (c) 1995 Niles D. Ritter 8 | * 9 | * Permission granted to use this software, so long as this copyright 10 | * notice accompanies any products derived therefrom. 11 | **********************************************************************/ 12 | 13 | #ifndef LIBGEOTIFF_GEOKEYS_H_ 14 | #define LIBGEOTIFF_GEOKEYS_H_ 15 | 16 | /* The GvCurrentRevision number should be incremented whenever a 17 | * new set of Keys are defined or modified in "geokeys.inc", and comments 18 | * added to the "Revision History" section above. If only code 19 | * _values_ are augmented, the "GvCurrentMinorRev" number should 20 | * be incremented instead (see "geovalues.h"). Whenever the 21 | * GvCurrentRevision is incremented, the GvCurrentMinorRev should 22 | * be reset to zero. 23 | * 24 | * 25 | * The Section Numbers below refer to the GeoTIFF Spec sections 26 | * in which these values are documented. 27 | * 28 | */ 29 | #define GvCurrentRevision 1 /* Final 1.0 Release */ 30 | 31 | #ifdef ValuePair 32 | # undef ValuePair 33 | #endif 34 | #define ValuePair(name,value) name = value, 35 | 36 | typedef enum { 37 | BaseGeoKey = 1024, /* First valid code */ 38 | 39 | # include "geokeys.inc" /* geokey database */ 40 | #define ONLY_GEOTIFF_V1_1_CHANGES 41 | # include "geokeys_v1_1.inc" /* geokey database */ 42 | #undef ONLY_GEOTIFF_V1_1_CHANGES 43 | ReservedEndGeoKey = 32767, 44 | 45 | /* Key space available for Private or internal use */ 46 | PrivateBaseGeoKey = 32768, /* Consistent with TIFF Private tags */ 47 | PrivateEndGeoKey = 65535, 48 | 49 | EndGeoKey = 65535 /* Largest Possible GeoKey ID */ 50 | } geokey_t; 51 | 52 | #endif /* LIBGEOTIFF_GEOKEYS_H_ */ 53 | -------------------------------------------------------------------------------- /libgeotiff/HOWTO-RELEASE: -------------------------------------------------------------------------------- 1 | Preparing a libgeotiff Release 2 | ============================== 3 | 4 | 1) 5 | a) Update the LIBGEOTIFF_MAJOR_VERSION/LIBGEOTIFF_MINOR_VERSION/ 6 | LIBGEOTIFF_PATCH_VERSION/LIBGEOTIFF_REV_VERSION variables in configure.ac 7 | 8 | b) Update the second value of AC_INIT() in configure.ac 9 | 10 | 2) run autogen.sh 11 | 12 | 3) Update -version-info CURRENT/REVISION/AGE values in Makefile.am 13 | - For a release with no interface changes just bump REVISION. 14 | - Adding interfaces, bump CURRENT/AGE, set REVISION to 0. 15 | - Deleting interfaces / compatibility issues - bump CURRENT, others to zero. 16 | 17 | 4) 18 | a) Update the LIBGEOTIFF_MAJOR_VERSION/LIBGEOTIFF_MINOR_VERSION/ 19 | LIBGEOTIFF_PATCH_VERSION/LIBGEOTIFF_REV_VERSION variables in CMakeLists 20 | 21 | b) Update LINK_VERSION / LINK_SOVERSION in CMakeLists.txt 22 | 23 | 5) Update NEWS 24 | 25 | 6) Commit the above changes. 26 | 27 | 7) Tag the release 28 | 29 | git tag -a -m "Create tag x.y.z" x.y.z 30 | 31 | 8) Prepare a zip and tar.gz file using a command like: 32 | 33 | make dist 34 | 35 | 9) Test build and install on at least one Unix platform. Test build on a 36 | Windows system. 37 | 38 | 10) The resulting files (eg. libgeotiff-1.1.5.tar.gz and libgeotiff-1.1.5.zip) 39 | should be copied to the distribution directory (geotiff/libgeotiff on 40 | upload.osgeo.org). Update the README file in that directory to 41 | indicate the new current release. 42 | 43 | scp libgeotiff-1.1.5.{tar.gz,zip} warmerdam@upload.osgeo.org:/osgeo/download/geotiff/libgeotiff 44 | 45 | 11) Announce on GeoTIFF mailing list: geotiff@lists.osgeo.org 46 | Include a summary of the ChangeLog items for the most recent release. 47 | 48 | 12) [outdated ?] Update entry at http://www.freshmeat.net/projects/libgeotiff 49 | 50 | 13) Update http://geotiff.osgeo.org/ trac wiki page to point to most recent 51 | release, including the most recent release version number. 52 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | matrix: 2 | fast_finish: true 3 | include: 4 | 5 | - os: linux 6 | compiler: gcc 7 | language: cpp 8 | sudo: required 9 | dist: jammy 10 | env: 11 | - BUILD_NAME=linux 12 | 13 | # Causes "Owner OSGeo does not have enough credits" since we downgraded our Travis plan 14 | #- os: osx 15 | # osx_image: xcode14.2 16 | # compiler: clang 17 | # cache: 18 | # apt: true 19 | # directories: 20 | # - $HOME/.ccache 21 | # env: 22 | # - BUILD_NAME=osx 23 | # - CC=clang 24 | # - CXX=clang++ 25 | # addons: 26 | # homebrew: 27 | # packages: 28 | # - ccache 29 | 30 | cache: 31 | directories: 32 | - $HOME/.ccache 33 | 34 | before_install: 35 | - if test "$TRAVIS_OS_NAME" = "linux"; then sudo apt install g++ libjpeg-dev libz-dev libtiff-dev libsqlite3-dev; fi 36 | - if test "$TRAVIS_OS_NAME" = "osx"; then brew update; brew install ccache; fi 37 | 38 | install: 39 | - git clone --depth=1 https://github.com/OSGeo/PROJ proj 40 | - export CC="ccache $CC" 41 | - export CXX="ccache $CXX" 42 | - $CC --version 43 | - (cd proj && cmake . -DBUILD_APPS=OFF -DBUILD_TESTING=OFF && make -j3 && sudo make install && (if test "$TRAVIS_OS_NAME" = "linux"; then sudo ldconfig; fi)) 44 | - cd libgeotiff 45 | - ./autogen.sh 46 | - ./configure 47 | - make distcheck 48 | - mkdir libgeotiff 49 | - cat libgeotiff*.tar.gz | tar xz -C libgeotiff --strip-components=1 50 | - cd libgeotiff 51 | - mkdir build_autoconf 52 | - cd build_autoconf 53 | - CFLAGS="-Wall -Wextra -Werror" ../configure 54 | - make -j3 55 | - make check 56 | - cd .. 57 | - mkdir build_cmake 58 | - cd build_cmake 59 | - cmake .. -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_C_FLAGS="-Wall -Wextra -Werror" 60 | - make -j3 61 | 62 | script: 63 | - echo "done" 64 | 65 | notifications: 66 | #email: 67 | # recipients: 68 | # - gdal-commits@lists.osgeo.org 69 | 70 | irc: 71 | channels: 72 | - "irc.freenode.org#gdal" 73 | use_notice: true 74 | -------------------------------------------------------------------------------- /libgeotiff/geo_free.c: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * 3 | * geo_free.c -- Public routines for GEOTIFF GeoKey access. 4 | * 5 | * Written By: Niles D. Ritter. 6 | * 7 | * copyright (c) 1995 Niles D. Ritter 8 | * 9 | * Permission granted to use this software, so long as this copyright 10 | * notice accompanies any products derived therefrom. 11 | * 12 | **********************************************************************/ 13 | 14 | #include "geotiff.h" /* public interface */ 15 | #include "geo_tiffp.h" /* external TIFF interface */ 16 | #include "geo_keyp.h" /* private interface */ 17 | 18 | #include "proj.h" 19 | 20 | /********************************************************************** 21 | * 22 | * Public Routines 23 | * 24 | **********************************************************************/ 25 | 26 | /** 27 | 28 | This function deallocates an existing GeoTIFF access handle previously 29 | created with GTIFNew(). If the handle was 30 | used to write GeoTIFF keys to the TIFF file, the 31 | GTIFWriteKeys() function should be used 32 | to flush results to the file before calling GTIFFree(). GTIFFree() 33 | should be called before XTIFFClose() is 34 | called on the corresponding TIFF file handle.

35 | 36 | */ 37 | 38 | void GTIFFree(GTIF* gtif) 39 | { 40 | if (!gtif) return; 41 | 42 | /* Free parameter arrays */ 43 | if (gtif->gt_double) _GTIFFree (gtif->gt_double); 44 | if (gtif->gt_short) _GTIFFree (gtif->gt_short); 45 | 46 | /* Free GeoKey arrays */ 47 | if (gtif->gt_keys) 48 | { 49 | for (int i = 0; i < MAX_KEYS; i++) 50 | { 51 | if (gtif->gt_keys[i].gk_type == TYPE_ASCII) 52 | { 53 | _GTIFFree (gtif->gt_keys[i].gk_data); 54 | } 55 | } 56 | _GTIFFree (gtif->gt_keys); 57 | } 58 | if (gtif->gt_keyindex) _GTIFFree (gtif->gt_keyindex); 59 | 60 | if (gtif->own_pj_context) 61 | { 62 | proj_context_destroy(gtif->pj_context); 63 | } 64 | 65 | _GTIFFree (gtif); 66 | } 67 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/polyconic.html: -------------------------------------------------------------------------------- 1 | 2 | Polyconic 3 | 4 | 5 | 6 |

Polyconic

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Polyconic 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_Polyconic (22) 20 |
OGC WKT Name 23 | Polyconic 24 |
Supported By 27 | GeoTIFF, GXF, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 | 75 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of false origin 44 | 1 45 | NatOriginLat 46 | latitude_of_origin 47 | Angular 48 | 49 | 50 |
Longitude of false origin 52 | 2 53 | NatOriginLong 54 | central_meridian 55 | Angular 56 | 57 | 58 |
Scale factor at natural origin 60 | 5 61 | ScaleAtNatOrigin 62 | (not included) 63 | Unitless 64 | 65 | 66 |
Easting of false origin 68 | 6 69 | FalseEasting 70 | false_easting 71 | Linear 72 | 73 | 74 |
Northing of false origin 76 | 7 77 | FalseNorthing 78 | false_northing 79 | Linear 80 | 81 | 82 |
83 | 84 |

Notes

85 | 86 | In Geosoft GXF format it is known by the name "*Polyconic" 87 | indicating that it isn't an EPSG projection.

88 | 89 | Discussions on the GeoTIFF mailing list a few years suggested that this 90 | projection should use ProjCenterLat and ProjCenterLong instead of 91 | NatOriginLat and NatOriginLong. Intergraph uses natural origin, and PCI 92 | uses ProjCenter as I believe does Erdas.

93 | 94 |

PROJ.4 Organization

95 | 96 | 97 |
 98 |   +proj=stere +lat_0=Latitude at natural origin
 99 |               +lon_0=Longitude at natural origin
100 |               +x_0=False Easting
101 |               +y_0=False Northing
102 | 
103 |
104 | 105 | 106 | 107 | -------------------------------------------------------------------------------- /libgeotiff/epsg_vertcs.inc: -------------------------------------------------------------------------------- 1 | /* 2 | * EPSG/POSC Ellipsoid-referenced Vertical CS 3 | * Note: these should correspond exactly with the Ellipsoid database. 4 | */ 5 | ValuePair(VertCS_Airy_1830_ellipsoid, 5001) 6 | ValuePair(VertCS_Airy_Modified_1849_ellipsoid, 5002) 7 | ValuePair(VertCS_ANS_ellipsoid, 5003) 8 | ValuePair(VertCS_Bessel_1841_ellipsoid, 5004) 9 | ValuePair(VertCS_Bessel_Modified_ellipsoid, 5005) 10 | ValuePair(VertCS_Bessel_Namibia_ellipsoid, 5006) 11 | ValuePair(VertCS_Clarke_1858_ellipsoid, 5007) 12 | ValuePair(VertCS_Clarke_1866_ellipsoid, 5008) 13 | ValuePair(VertCS_Clarke_1880_Benoit_ellipsoid, 5010) 14 | ValuePair(VertCS_Clarke_1880_IGN_ellipsoid, 5011) 15 | ValuePair(VertCS_Clarke_1880_RGS_ellipsoid, 5012) 16 | ValuePair(VertCS_Clarke_1880_Arc_ellipsoid, 5013) 17 | ValuePair(VertCS_Clarke_1880_SGA_1922_ellipsoid, 5014) 18 | ValuePair(VertCS_Everest_1830_1937_Adjustment_ellipsoid, 5015) 19 | ValuePair(VertCS_Everest_1830_1967_Definition_ellipsoid, 5016) 20 | ValuePair(VertCS_Everest_1830_1975_Definition_ellipsoid, 5017) 21 | ValuePair(VertCS_Everest_1830_Modified_ellipsoid, 5018) 22 | ValuePair(VertCS_GRS_1980_ellipsoid, 5019) 23 | ValuePair(VertCS_Helmert_1906_ellipsoid, 5020) 24 | ValuePair(VertCS_INS_ellipsoid, 5021) 25 | ValuePair(VertCS_International_1924_ellipsoid, 5022) 26 | ValuePair(VertCS_International_1967_ellipsoid, 5023) 27 | ValuePair(VertCS_Krassowsky_1940_ellipsoid, 5024) 28 | ValuePair(VertCS_NWL_9D_ellipsoid, 5025) 29 | ValuePair(VertCS_NWL_10D_ellipsoid, 5026) 30 | ValuePair(VertCS_Plessis_1817_ellipsoid, 5027) 31 | ValuePair(VertCS_Struve_1860_ellipsoid, 5028) 32 | ValuePair(VertCS_War_Office_ellipsoid, 5029) 33 | ValuePair(VertCS_WGS_84_ellipsoid, 5030) 34 | ValuePair(VertCS_GEM_10C_ellipsoid, 5031) 35 | ValuePair(VertCS_OSU86F_ellipsoid, 5032) 36 | ValuePair(VertCS_OSU91A_ellipsoid, 5033) 37 | /* 38 | * Other established Vertical CS 39 | */ 40 | ValuePair(VertCS_Newlyn, 5101) 41 | ValuePair(VertCS_North_American_Vertical_Datum_1929, 5102) 42 | ValuePair(VertCS_North_American_Vertical_Datum_1988, 5103) 43 | ValuePair(VertCS_Yellow_Sea_1956, 5104) 44 | ValuePair(VertCS_Baltic_Sea, 5105) 45 | ValuePair(VertCS_Caspian_Sea, 5106) 46 | /* end of list */ 47 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/stereographic.html: -------------------------------------------------------------------------------- 1 | 2 | Stereographic 3 | 4 | 5 | 6 |

Stereographic

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Stereographic 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_Stereographic (14) 20 |
OGC WKT Name 23 | Stereographic 24 |
Supported By 27 | GeoTIFF, PROJ.4, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 | 75 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of projection center 44 | 1 45 | ProjCenterLat 46 | latitude_of_origin 47 | Angular 48 | 49 | 50 |
Longitude of projection center 52 | 2 53 | ProjCenterLong 54 | central_meridian 55 | Angular 56 | 57 | 58 |
Scale factor at natural origin 60 | 5 61 | ScaleAtNatOrigin 62 | scale_factor 63 | Unitless 64 | Defaults to 1.0 when not available. 65 | 66 |
False Easting 68 | 6 69 | FalseEasting 70 | false_easting 71 | Linear 72 | 73 | 74 |
False Northing 76 | 7 77 | FalseNorthing 78 | false_northing 79 | Linear 80 | 81 | 82 |
83 | 84 |

Notes

85 | 86 | I don't know whether this is really fundamentally different than 87 | Oblique Stereographic. See Oblique 88 | Stereographic for more information.

89 | 90 | The GeoTIFF formula doesn't 91 | include a scale, but I don't see why it shouldn't. 92 | Mapinfo, and GCTP seem to include a scale, so I am adding it to the 93 | official formulation even though GeoTIFF hasn't normally included it.

94 | 95 |

PROJ.4 Organization

96 | 97 | 98 |
 99 |   +proj=stere +lat_0=Latitude at projection center
100 |               +lon_0=Longitude at projection center
101 |               +x_0=False Easting
102 |               +y_0=False Northing
103 | 
104 |
105 | 106 | 107 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/laborde_oblique_mercator.html: -------------------------------------------------------------------------------- 1 | 2 | Laborde Oblique Mercator 3 | 4 | 5 | 6 |

Laborde Oblique Mercator

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Laborde Oblique Mercator 12 |
EPSG Code 15 | 9813 16 |
GeoTIFF Code 19 | CT_ObliqueMercator_Laborde (4) 20 |
OGC WKT Name 23 | Laborde_Oblique_Mercator 24 |
Supported By 27 | EPSG, GeoTIFF, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 42 | 43 | 50 | 51 | 58 | 59 | 66 | 67 | 75 | 76 | 83 | 84 | 91 | 92 | 99 | 100 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 |
Latitude of projection center 44 | 1 45 | CenterLat 46 | latitude_of_center 47 | Angular 48 | 49 |
Longitude of projection center 52 | 2 53 | CenterLong 54 | longitude_of_center 55 | Angular 56 | 57 |
Azimuth of initial line 60 | 3 61 | AzimuthAngle 62 | azimuth 63 | Angular 64 | 65 |
68 | 69 | 70 | rectified_grid_angle 71 | Angular 72 | Presumable this should be available for other sources in a manner 73 | similar to Oblique Mercator. Defaults to 90. 74 |
Scale factor on initial line 77 | 5 78 | ScaleAtCenter 79 | scale_factor 80 | Unitless 81 | 82 |
False Easting 85 | 6 86 | FalseEasting 87 | false_easting 88 | Linear 89 | 90 |
False Northing 93 | 7 94 | FalseNorthing 95 | false_northing 96 | Linear 97 | 98 |
101 | 102 |

Notes

103 | 104 | When using the 105 | Hotine Oblique Mercator 106 | equations to evaluate this, I 107 | imagine the angle from rectified to skewed grid would be 90.

108 | 109 | I don't have information on what the OGC parameters should be.

110 | 111 |

EPSG Notes

112 | 113 | Can be accomodated by Oblique Mercator method (code 9815).

114 | 115 | 116 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/miller_cylindrical.html: -------------------------------------------------------------------------------- 1 | 2 | Miller Cylindrical 3 | 4 | 5 | 6 |

Miller Cylindrical

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Miller Cylindrical 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_MillerCylindrical (20) 20 |
OGC WKT Name 23 | Miller_Cylindrical 24 |
Supported By 27 | GeoTIFF, PROJ.4, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of projection center 44 | 1 45 | ProjCenterLat 46 | latitude_of_center 47 | Angular 48 | This is normally zero and optional in GeoTIFF. 49 | 50 |
Longitude of projection center 52 | 2 53 | ProjCenterLong 54 | longitude_of_center 55 | Angular 56 | 57 | 58 |
False Easting 60 | 6 61 | FalseEasting 62 | false_easting 63 | Linear 64 | 65 | 66 |
False Northing 68 | 7 69 | FalseNorthing 70 | false_northing 71 | Linear 72 | 73 | 74 |
75 | 76 |

Notes

77 | 78 | The spec indicates that there should only be a center longitude, not a 79 | center latitude. Intergraph includes a latitude, so I have included it 80 | here, but if not specified it should be taken as zero.

81 | 82 | Intergraph uses NatOriginLat and NatOriginLong instead of ProjCenterLat/Long. 83 |

84 | 85 | Intergraph also supplies a scale at the origin, which isn't in the spec. 86 | I am ignoring this for now, but eventually a pass should be made adding 87 | scale as an option for any projection it can be made to work for as per 88 | Peter Laskowski's suggestion.

89 | 90 |

PROJ.4 Organization

91 | 92 | 93 |
 94 |   +proj=mill  +lat_0=Latitude at projection center
 95 |               +lon_0=Longitude at projection center
 96 |               +x_0=False Easting
 97 |               +y_0=False Northing
 98 | 
99 |
100 | 101 | 102 | -------------------------------------------------------------------------------- /libgeotiff/cmake/project-config.cmake.in: -------------------------------------------------------------------------------- 1 | # Configure @PROJECT_NAME@ 2 | # 3 | # Set 4 | # @PROJECT_NAME@_FOUND = 1 5 | # @PROJECT_NAME@_INCLUDE_DIRS = /usr/local/include 6 | # @PROJECT_NAME@_LIBRARY_DIRS = /usr/local/lib 7 | # @PROJECT_NAME@_BINARY_DIRS = /usr/local/bin 8 | # @PROJECT_NAME@_VERSION = 1.4.1 (for example) 9 | 10 | # For compatibility with FindGeoTIFF.cmake, also set 11 | # @PROJECT_NAME_UPPER@_FOUND 12 | # @PROJECT_NAME_UPPER@_INCLUDE_DIR 13 | # @PROJECT_NAME_UPPER@_LIBRARY 14 | # @PROJECT_NAME_UPPER@_LIBRARIES 15 | 16 | # Tell the user project where to find our headers and libraries 17 | get_filename_component (_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) 18 | get_filename_component (_ROOT "${_DIR}/@PROJECT_ROOT_DIR@" ABSOLUTE) 19 | set (@PROJECT_NAME@_INCLUDE_DIRS "${_ROOT}/include") 20 | set (@PROJECT_NAME@_LIBRARY_DIRS "${_ROOT}/lib") 21 | set (@PROJECT_NAME@_BINARY_DIRS "${_ROOT}/bin") 22 | unset (_ROOT) 23 | unset (_DIR) 24 | 25 | include(CMakeFindDependencyMacro) 26 | @CONFIG_PUBLIC_DEPENDENCIES@ 27 | set (@PROJECT_NAME@_LIBRARIES @GEOTIFF_LIBRARY_TARGET@) 28 | if("@BUILD_SHARED_LIBS@") 29 | set (@PROJECT_NAME@_SHARED_LIBRARIES ${@PROJECT_NAME@_LIBRARIES}) 30 | else() 31 | set (@PROJECT_NAME@_STATIC_LIBRARIES ${@PROJECT_NAME@_LIBRARIES}) 32 | @CONFIG_PRIVATE_DEPENDENCIES@ 33 | endif() 34 | 35 | if(NOT @PROJECT_NAME@_FIND_QUIETLY) 36 | message (STATUS "Reading ${CMAKE_CURRENT_LIST_FILE}") 37 | # @PROJECT_NAME@_VERSION is set by version file 38 | message (STATUS 39 | "@PROJECT_NAME@ configuration, version ${@PROJECT_NAME@_VERSION}") 40 | message (STATUS " include directory: \${@PROJECT_NAME@_INCLUDE_DIRS}") 41 | if("@BUILD_SHARED_LIBS@") 42 | message (STATUS " \${@PROJECT_NAME@_LIBRARIES} set to shared library") 43 | else() 44 | message (STATUS " \${@PROJECT_NAME@_LIBRARIES} set to static libraries") 45 | endif() 46 | endif() 47 | 48 | # Read in the exported definition of the library 49 | include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME_LOWER@-depends.cmake") 50 | 51 | # For compatibility with FindGeoTIFF.cmake 52 | set (@PROJECT_NAME_UPPER@_FOUND 1) 53 | set (@PROJECT_NAME_UPPER@_LIBRARIES ${@PROJECT_NAME@_LIBRARIES}) 54 | set (@PROJECT_NAME_UPPER@_INCLUDE_DIR ${@PROJECT_NAME@_INCLUDE_DIRS}) 55 | set (@PROJECT_NAME_UPPER@_LIBRARY ${@PROJECT_NAME@_LIBRARIES}) 56 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/equidistant_conic.html: -------------------------------------------------------------------------------- 1 | 2 | Equidistant Conic 3 | 4 | 5 | 6 |

Equidistant Conic

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Equidistant Conic 12 |
EPSG Code 15 | 16 |
GeoTIFF Code 19 | CT_EquidistantConic (13) 20 |
OGC WKT Name 23 | Equidistant_Conic 24 |
Supported By 27 | GeoTIFF, GXF, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 | 75 | 83 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of first standard parallel 44 | 1 45 | StdParallel1 46 | standard_parallel_1 47 | Angular 48 | 49 | 50 |
Latitude of second standard parallel 52 | 2 53 | StdParallel2 54 | standard_parallel_2 55 | Angular 56 | 57 | 58 |
Latitude of false origin 60 | 3 61 | NatOriginLat 62 | latitude_of_center 63 | Angular 64 | 65 | 66 |
Longitude of false origin 68 | 4 69 | NatOriginLong 70 | longitude_of_center 71 | Angular 72 | 73 | 74 |
Easting of false origin 76 | 6 77 | FalseEasting 78 | false_easting 79 | Linear 80 | 81 | 82 |
Northing of false origin 84 | 7 85 | FalseNorthing 86 | false_northing 87 | Linear 88 | 89 | 90 |
91 | 92 |

Notes

93 | 94 | In Geosoft GXF format it is known by the name "*Equidistant Conic" 95 | indicating that it isn't an EPSG projection. The GXF definition also 96 | refers to the origin as the false origin rather than the natural origin.

97 | 98 |

PROJ.4 Organization

99 | 100 | 101 |
102 |   +proj=eqdc  +lat_1=Latitude of first standard parallel
103 |               +lat_2=Latitude of second standard parallel
104 |               +lat_0=Latitude of center
105 |               +lon_0=Longitude of center
106 |               +x_0=False Origin Easting
107 |               +y_0=False Origin Northing
108 | 
109 |
110 | 111 | 112 | 113 | 114 | -------------------------------------------------------------------------------- /geotiff/html/spec/geotiff2.2.html: -------------------------------------------------------------------------------- 1 |

GeoTIFF Web Page Table of Contents Top of Section 2

2 | 3 |

2.2 GeoTIFF Design Considerations

4 | Every effort has been made to adhere to the philosophy of TIFF data 5 | abstraction. The GeoTIFF tags conform to a hierarchical data structure of tags 6 | and keys, similar to the tags which have been implemented in the "basic" and 7 | "extended" TIFF tags already supported in TIFF Version 6 specification. The 8 | following are some points considered in the design of GeoTIFF:

9 |

10 | o Private binary structures, while permitted under the TIFF spec, are in 11 | general difficult to maintain, and are intrinsically platform- dependent. 12 | Whenever possible, information should be sorted into their intrinsic 13 | data-types, and placed into appropriately named tags. Also, implementors of 14 | TIFF readers would be more willing to honor a new tag specification if it does 15 | not require parsing novel binary structures.

16 |

17 | o Any Tag value which is to be used as a "keyword" switch or modifier should be 18 | a SHORT type, rather than an ASCII string. This avoids common mistakes of 19 | mis-spelling a keyword, as well as facilitating an implementation in code using 20 | the "switch/case" features of most languages. In general, scanning ASCII 21 | strings for keywords (CaseINSensitiVE?) is a hazardous (not to mention slower 22 | and more complex) operation.

23 |

24 | o True "Extensibility" strongly suggests that the Tags defined have a 25 | sufficiently abstract definition so that the same tag and its values may be 26 | used and interpreted in different ways as more complex information spaces are 27 | developed. For example, the old SubFileType tag (255) had to be obsoleted and 28 | replaced with a NewSubFileType tag, because images began appearing which could 29 | not fit into the narrowly defined classes for that Tag. Conversely, the 30 | YCbCrSubsampling Tag has taken on new meaning and importance as the JPEG 31 | compression standard for TIFF becomes finalized. 32 |

 
33 | 
34 | 


--------------------------------------------------------------------------------
/libgeotiff/docs/index.dox:
--------------------------------------------------------------------------------
 1 | /*! \page index
 2 | 
 3 | 
4 | LIBGEOTIFF 5 |
6 | 7 |

Functions

8 | 9 |
    10 |
  • GTIFFree(): Free GeoTIFF access handle. 11 |
  • GTIFGetDefn(): Read and Normalize GeoTIFF Definition. 12 |
  • GTIFKeyGet(): Read GeoTIFF GeoKey. 13 |
  • GTIFKeySet(): Write GeoTIFF GeoKey. 14 |
  • GTIFNew(): Create GeoTIFF access handle. 15 |
  • GTIFWriteKeys(): Flush GeoTIFF Keys. 16 |
  • XTIFFClose(): Close GeoTIFF file. 17 |
  • XTIFFOpen(): Open GeoTIFF file. 18 |
19 | 20 |

General Notes

21 | 22 | The libgeotiff library should compile cleanly with most ANSI-C or 23 | ANSI C++ compilers. All headers have appropriate extern "C" {} 24 | protection to ensure that entry points retain C linkage even if compiled 25 | with a C++ compiler.

26 | 27 |

Source Tree

28 | 29 | The 30 | current CVS tree is available on the web. The source can be 31 | downloaded anonymously using the cvs checkout osrs/geotiff/libgeotiff 32 | command after logging in using the instructions on the remotesensing.org 33 | CVS howto page.

34 | 35 |

Include Files

36 | 37 |
    38 |
  • xtiffio.h: the primary interface header file for all TIFF 39 | routines, using the extended GeoTIFF tags.

    40 | 41 |

  • geotiffio.h: the primary interface header file for all GTIF 42 | routines, keys and code values.

    43 | 44 |

  • geotiff.h: an interface header file for all GTIF 45 | routines, if code values are not required.

    46 | 47 |

  • geokeys.h: defines all valid GEOTIFF GeoKeys.

    48 | 49 |

  • geo_normalize.h: Defined all functions and structures related 50 | to normalization of GeoTIFF information based on PROJ database.

    51 | 52 |

53 | 54 |

Licensing

55 | 56 | All the source code in this toolkit are either in the public domain, or under 57 | an X style license. In any event it is all considered to be free to use 58 | for any purpose (including commercial software). No credit is required 59 | though some of the code requires that the specific source code modules 60 | retain their existing copyright statements. In particular, no part of this code is 61 | copyleft, nor does it imply any requirement for users to disclose 62 | this or their own source code.

63 | 64 | */ 65 | -------------------------------------------------------------------------------- /geotiff/html/api/tabs.css: -------------------------------------------------------------------------------- 1 | /* tabs styles, based on http://www.alistapart.com/articles/slidingdoors */ 2 | 3 | DIV.tabs 4 | { 5 | float : left; 6 | width : 100%; 7 | background : url("tab_b.gif") repeat-x bottom; 8 | margin-bottom : 4px; 9 | } 10 | 11 | DIV.tabs UL 12 | { 13 | margin : 0px; 14 | padding-left : 10px; 15 | list-style : none; 16 | } 17 | 18 | DIV.tabs LI, DIV.tabs FORM 19 | { 20 | display : inline; 21 | margin : 0px; 22 | padding : 0px; 23 | } 24 | 25 | DIV.tabs FORM 26 | { 27 | float : right; 28 | } 29 | 30 | DIV.tabs A 31 | { 32 | float : left; 33 | background : url("tab_r.gif") no-repeat right top; 34 | border-bottom : 1px solid #84B0C7; 35 | font-size : 80%; 36 | font-weight : bold; 37 | text-decoration : none; 38 | } 39 | 40 | DIV.tabs A:hover 41 | { 42 | background-position: 100% -150px; 43 | } 44 | 45 | DIV.tabs A:link, DIV.tabs A:visited, 46 | DIV.tabs A:active, DIV.tabs A:hover 47 | { 48 | color: #1A419D; 49 | } 50 | 51 | DIV.tabs SPAN 52 | { 53 | float : left; 54 | display : block; 55 | background : url("tab_l.gif") no-repeat left top; 56 | padding : 5px 9px; 57 | white-space : nowrap; 58 | } 59 | 60 | DIV.tabs #MSearchBox 61 | { 62 | float : right; 63 | display : inline; 64 | font-size : 1em; 65 | } 66 | 67 | DIV.tabs TD 68 | { 69 | font-size : 80%; 70 | font-weight : bold; 71 | text-decoration : none; 72 | } 73 | 74 | 75 | 76 | /* Commented Backslash Hack hides rule from IE5-Mac \*/ 77 | DIV.tabs SPAN {float : none;} 78 | /* End IE5-Mac hack */ 79 | 80 | DIV.tabs A:hover SPAN 81 | { 82 | background-position: 0% -150px; 83 | } 84 | 85 | DIV.tabs LI.current A 86 | { 87 | background-position: 100% -150px; 88 | border-width : 0px; 89 | } 90 | 91 | DIV.tabs LI.current SPAN 92 | { 93 | background-position: 0% -150px; 94 | padding-bottom : 6px; 95 | } 96 | 97 | DIV.navpath 98 | { 99 | background : none; 100 | border : none; 101 | border-bottom : 1px solid #84B0C7; 102 | text-align : center; 103 | margin : 2px; 104 | padding : 2px; 105 | } 106 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/transverse_mercator_south_oriented.html: -------------------------------------------------------------------------------- 1 | 2 | Transverse Mercator (South Oriented) 3 | 4 | 5 | 6 |

Transverse Mercator (South Oriented)

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Transverse Mercator (South Oriented) 12 |
EPSG Code 15 | 9808 16 |
GeoTIFF Code 19 | CT_TransvMercator_SouthOriented (27) 20 |
OGC WKT Name 23 | Transverse_Mercator_South_Orientated 24 |
Supported By 27 | EPSG, GeoTIFF, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 | 75 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of natural origin 44 | 1 45 | NatOriginLat 46 | latitude_of_origin 47 | Angular 48 | 49 | 50 |
Longitude of natural origin 52 | 2 53 | NatOriginLong 54 | central_meridian 55 | Angular 56 | 57 | 58 |
Scale factor at natural origin 60 | 5 61 | ScaleAtNatOrigin 62 | scale_factor 63 | Unitless 64 | 65 | 66 |
False Easting 68 | 6 69 | FalseEasting 70 | false_easting 71 | Linear 72 | 73 | 74 |
False Northing 76 | 7 77 | FalseNorthing 78 | false_northing 79 | Linear 80 | 81 | 82 |
83 | 84 |

EPSG Notes

85 | 86 | For the mapping of southern Africa a south oriented Transverse Mercator projection is 87 | used. Here the coordinate axes are called Westings and Southings and increment to the 88 | West and South from the origin respectively. The Transverse Mercator formulas need to 89 | be modified to cope with this arrangement with

90 |

 91 | 	Westing, W = k0 *[A + (1 - T + C)A3/6 + (5 - 18T + T2 + 72C - 58e'2)A5/120] -
 92 | FE
 93 | 
 94 | 	Southing, S = k0{M - M0 + *tan*[A2/2 + (5 - T + 9C + 4C2)A4/24 +
 95 | 				(61 - 58T + T2 + 600C - 330e'2)A6/720]}- FN
 96 | 
97 | In these formulas the terms FE and FN have been retained for consistency of the 98 | terminology. For the reverse formulas, those for the standard Transverse 99 | Mercator above apply, with the exception that:

100 | 101 |

102 | 	M1 = M0 + (S + FN)/k0
103 | and	D = (W + FE)/(*1k0), with *1 = * for *1
104 | 
105 | 106 | 107 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/cylindrical_equal_area.html: -------------------------------------------------------------------------------- 1 | 2 | Cylindrical Equal Area 3 | 4 | 5 | 6 |

Cylindrical Equal Area

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 | 33 | 34 | 37 | 38 | 41 | 42 | 45 | 46 | 49 | 50 |
Name 11 | Cylindrical Equal Area 12 |
Alias 15 | Normal Authalic Cylindrical (FME) 16 |
Alias 19 | Lambert Cylindrical Equal Area 20 |
Alias 23 | Behrmann (standard parallel = 30) 24 |
Alias 27 | Gall Orthographic (standard parallel = 45) 28 |
Alias 31 | Peters (approximated by Gall Orthographic) 32 |
EPSG Code 35 | - 36 |
GeoTIFF Code 39 | CT_CylindricalEqualArea (28) 40 |
OGC WKT Name 43 | Cylindrical_Equal_Area 44 |
Supported By 47 | OGC WKT (unofficial), PROJ.4, Mapinfo 48 |
51 | 52 |

Projection Parameters

53 | 54 | 55 | 62 | 63 | 70 | 71 | Known as latitude of true scale in PROJ.4 78 | 79 | 86 | 87 | 94 |
Name 56 | EPSG # 57 | GeoTIFF ID 58 | OGC WKT 59 | Units 60 | Notes 61 |
Central Meridian 64 | 65 | NatOriginLong 66 | central_meridian 67 | Angular 68 | 69 |
Standard Parallel 72 | 73 | StdParallel1 74 | standard_parallel_1 75 | Angular 76 | Defaults to zero. 77 |
False Easting 80 | 81 | FalseEasting 82 | false_easting 83 | Linear 84 | 85 |
False Northing 88 | 89 | FalseNorthing 90 | false_northing 91 | Linear 92 | 93 |
95 | 96 |

Notes

97 | 98 | This is classified as a cylindrical and equal area projection, as one might 99 | expect from the name. There does not seem to be an EPSG equivelent. The GeoTIFF 100 | code was added Feb 2005, and so is not likely widely supported.

101 | 102 | For documentation, the Cylindrical Equal-Area projection is discussed in 103 | Snyder, Map Projections -- a Working Manual (1987) on pg 76ff.

104 | 105 |

PROJ.4 Organization

106 | 107 |
108 |   +proj=cea +lon_0=Central Meridian
109 |             +lat_ts=Standard Parallel
110 |             +x_0=False Easting
111 |             +y_0=False Northing
112 | 
113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/geos.html: -------------------------------------------------------------------------------- 1 | 2 | GEOS - Geostationary Satellite View 3 | 4 | 5 | 6 |

GEOS - Geostationary Satellite View

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 | 33 | 34 | 37 | 38 |
Name 11 | Geostationary Satellite View 12 |
Alias 15 | GEOS 16 |
Alias 19 | Normalized Geostationary Projection 20 |
EPSG Code 23 | (none) 24 |
GeoTIFF Code 27 | 28 |
OGC WKT Name 31 | GEOS 32 |
Supported By 35 | PROJ.4, OGC WKT 36 |
39 | 40 |

Projection Parameters

41 | 42 | 43 | 51 | 59 | 67 | 75 |
Name 44 | EPSG # 45 | GeoTIFF ID 46 | OGC WKT 47 | Units 48 | Notes 49 | 50 |
Longitude of natural origin 52 | 2 53 | NatOriginLong 54 | central_meridian 55 | Angular 56 | 57 | 58 |
Satellite Height 60 | ? 61 | ? 62 | satellite_height 63 | Linear 64 | 65 | 66 |
False Easting 68 | 6 69 | FalseEasting 70 | false_easting 71 | Linear 72 | 73 | 74 |
False Northing 76 | 7 77 | FalseNorthing 78 | false_northing 79 | Linear 80 | 81 | 82 |
83 | 84 |

Notes

85 | 86 | Documented in document CGMS 03 (Coordinate Group for Meteorological 87 | Satellites - LRIT/HRIT Global Specification). Possibly availble at url 88 | 89 | http://www.eumetsat.int/en/area4/msg/news/us_doc/cgms_03_26.pdf. The 90 | GEOS projection is detailed in section 4.4.3.2.

91 | 92 | The document suggests a spheroid with a major axis of 93 | 6378169.0m and a semi minor axis of 6356583.8m.

94 | 95 | The document describes the satellite height as distance from the 96 | satellite to the center of earth, but for various reasons I have chosen 97 | to specify it as height above the ellipsoid in the WKT (and in PROJ.4). 98 | The document suggests a height of 42164000m which on the suggested 99 | ellipsoid translates to 35785831m above the ellipsoid.

100 | 101 |

PROJ.4 Organization

102 | 103 | 104 |
105 |   +proj=geos  +lon_0=Central Meridian
106 |               +h=Satellite Height
107 |               +x_0=False Easting
108 |               +y_0=False Northing
109 | 
110 |
111 | 112 | 113 | -------------------------------------------------------------------------------- /libgeotiff/test/testgeotifcp: -------------------------------------------------------------------------------- 1 | : 2 | # Test geotifcp 3 | 4 | TEST_CLI_DIR=`dirname $0` 5 | DATA_DIR=`dirname $0`/data 6 | 7 | EXE=$1 8 | LISTGEO_EXE=$2 9 | 10 | usage() 11 | { 12 | echo "Usage: ${0} " 13 | echo 14 | exit 1 15 | } 16 | 17 | if test -z "${EXE}"; then 18 | EXE=../bin/geotifcp 19 | LISTGEO_EXE=../bin/listgeo 20 | fi 21 | 22 | if test ! -x ${EXE}; then 23 | echo "*** ERROR: Can not find '${EXE}' program!" 24 | exit 1 25 | fi 26 | 27 | if test ! -x ${LISTGEO_EXE}; then 28 | echo "*** ERROR: Can not find '${LISTGEO_EXE}' program!" 29 | exit 1 30 | fi 31 | 32 | echo "============================================" 33 | echo "Running ${0} using ${EXE}:" 34 | echo "============================================" 35 | 36 | 37 | OUT=testgeotifcp_out 38 | 39 | rm -f ${OUT} 40 | 41 | $LISTGEO_EXE ${DATA_DIR}/albers_equal_area.tif > tmp_albers_equal_area.txt 42 | $EXE -g tmp_albers_equal_area.txt ${DATA_DIR}/byte.tif tmp_albers_equal_area.tif 43 | $LISTGEO_EXE tmp_albers_equal_area.tif >> ${OUT} 44 | rm -f tmp_albers_equal_area.txt 45 | rm -f tmp_albers_equal_area.tif 46 | echo "" >> ${OUT} 47 | 48 | $LISTGEO_EXE ${DATA_DIR}/ProjectedCSTypeGeoKey_3083_albers_equal_area.tif > tmp_ProjectedCSTypeGeoKey_3083_albers_equal_area.txt 49 | $EXE -g tmp_ProjectedCSTypeGeoKey_3083_albers_equal_area.txt ${DATA_DIR}/byte.tif tmp_ProjectedCSTypeGeoKey_3083_albers_equal_area.tif 50 | $LISTGEO_EXE tmp_ProjectedCSTypeGeoKey_3083_albers_equal_area.tif >> ${OUT} 51 | rm -f tmp_ProjectedCSTypeGeoKey_3083_albers_equal_area.txt 52 | rm -f tmp_ProjectedCSTypeGeoKey_3083_albers_equal_area.tif 53 | echo "" >> ${OUT} 54 | 55 | # Test copying a GeoTIFF v1.1 file 56 | $LISTGEO_EXE ${DATA_DIR}/byte_v11.tif > tmp_byte_v11.txt 57 | $EXE -g tmp_byte_v11.txt ${DATA_DIR}/byte.tif tmp_byte_v11.tif 58 | $LISTGEO_EXE tmp_byte_v11.tif >> ${OUT} 59 | rm -f tmp_byte_v11.txt 60 | rm -f tmp_byte_v11.tif 61 | echo "" >> ${OUT} 62 | 63 | # Test changing the version number 64 | $EXE -v 1:1:1 ${DATA_DIR}/byte.tif tmp_byte_v11.tif 65 | $LISTGEO_EXE tmp_byte_v11.tif >> ${OUT} 66 | rm -f tmp_byte_v11.tif 67 | echo "" >> ${OUT} 68 | 69 | # do 'diff' with distribution results 70 | echo "diff ${OUT} with testgeotifcp_out.dist" 71 | diff -u ${OUT} ${TEST_CLI_DIR}/testgeotifcp_out.dist 72 | if [ $? -ne 0 ] ; then 73 | echo "" 74 | echo "PROBLEMS HAVE OCCURRED" 75 | echo "test file ${OUT} saved" 76 | echo 77 | exit 100 78 | else 79 | echo "TEST OK" 80 | echo "test file ${OUT} removed" 81 | echo 82 | /bin/rm -f ${OUT} 83 | exit 0 84 | fi 85 | -------------------------------------------------------------------------------- /libgeotiff/geo_simpletags.h: -------------------------------------------------------------------------------- 1 | /****************************************************************************** 2 | * Copyright (c) 2008, Frank Warmerdam 3 | * 4 | * Permission is hereby granted, free of charge, to any person obtaining a 5 | * copy of this software and associated documentation files (the "Software"), 6 | * to deal in the Software without restriction, including without limitation 7 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 | * and/or sell copies of the Software, and to permit persons to whom the 9 | * Software is furnished to do so, subject to the following conditions: 10 | * 11 | * The above copyright notice and this permission notice shall be included 12 | * in all copies or substantial portions of the Software. 13 | * 14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20 | * DEALINGS IN THE SOFTWARE. 21 | ***************************************************************************** 22 | * 23 | * geo_simpletags.h 24 | * 25 | * Provides interface for a "simple tags io in memory" mechanism 26 | * as an alternative to accessing a real tiff file using libtiff. 27 | * 28 | ****************************************************************************/ 29 | 30 | #ifndef LIBGEOTIFF_GEO_SIMPLETAGS_H_ 31 | #define LIBGEOTIFF_GEO_SIMPLETAGS_H_ 32 | 33 | #include "geotiff.h" 34 | 35 | #if defined(__cplusplus) 36 | extern "C" { 37 | #endif 38 | 39 | #define STT_SHORT 1 40 | #define STT_DOUBLE 2 41 | #define STT_ASCII 3 42 | 43 | typedef struct { 44 | int tag; 45 | int count; 46 | int type; 47 | void *data; 48 | } ST_KEY; 49 | 50 | typedef struct { 51 | int key_count; 52 | ST_KEY *key_list; 53 | } ST_TIFF; 54 | 55 | typedef void *STIFF; 56 | 57 | void GTIF_DLL GTIFSetSimpleTagsMethods(TIFFMethod *method); 58 | 59 | int GTIF_DLL ST_SetKey( ST_TIFF *, int tag, int count, 60 | int st_type, void *data ); 61 | int GTIF_DLL ST_GetKey( ST_TIFF *, int tag, int *count, 62 | int *st_type, void **data_ptr ); 63 | 64 | ST_TIFF GTIF_DLL *ST_Create( void ); 65 | void GTIF_DLL ST_Destroy( ST_TIFF * ); 66 | 67 | int GTIF_DLL ST_TagType( int tag ); 68 | 69 | #if defined(__cplusplus) 70 | } 71 | #endif 72 | 73 | #endif /* LIBGEOTIFF_GEO_SIMPLETAGS_H_ */ 74 | -------------------------------------------------------------------------------- /libgeotiff/Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = libxtiff . bin man cmake test 2 | 3 | AUTOMAKE_OPTIONS = dist-zip subdir-objects 4 | ACLOCAL_AMFLAGS = -I m4 5 | 6 | include $(top_srcdir)/m4/doxygen.am 7 | 8 | PROJ_CFLAGS= @PROJ_INCLUDE@ 9 | 10 | if TIFF_IS_CONFIG 11 | TIFF_CFLAGS = @TIFF_INC@ -DHAVE_TIFF=1 12 | endif 13 | 14 | AM_CFLAGS = -I$(srcdir)/libxtiff $(PROJ_CFLAGS) $(TIFF_CFLAGS) 15 | 16 | include_HEADERS = geotiffio.h \ 17 | geovalues.h \ 18 | geonames.h \ 19 | geokeys.h \ 20 | geo_tiffp.h \ 21 | geo_keyp.h \ 22 | geo_normalize.h \ 23 | cpl_serv.h \ 24 | geo_simpletags.h \ 25 | epsg_datum.inc \ 26 | epsg_gcs.inc \ 27 | epsg_pm.inc \ 28 | epsg_units.inc \ 29 | geo_ctrans.inc \ 30 | epsg_ellipse.inc \ 31 | epsg_pcs.inc \ 32 | epsg_proj.inc \ 33 | epsg_vertcs.inc \ 34 | geokeys.inc \ 35 | geokeys_v1_1.inc 36 | 37 | nodist_include_HEADERS = geotiff.h \ 38 | geo_config.h 39 | 40 | libgeotiff_la_SOURCES = cpl_serv.c \ 41 | geo_extra.c \ 42 | geo_free.c \ 43 | geo_get.c \ 44 | geo_names.c \ 45 | geo_new.c \ 46 | geo_normalize.c \ 47 | geo_print.c \ 48 | geo_set.c \ 49 | geo_simpletags.c \ 50 | geo_tiffp.c \ 51 | geo_trans.c \ 52 | geo_write.c \ 53 | geo_strtod.c \ 54 | geotiff_proj4.c 55 | 56 | libgeotiff_la_LDFLAGS = -version-info 7:3:2 ${NOUNDEFINED} 57 | 58 | libgeotiff_la_LIBADD = libxtiff/libxtiff.la 59 | 60 | lib_LTLIBRARIES = libgeotiff.la 61 | 62 | pkgconfig_DATA = libgeotiff.pc 63 | pkgconfigdir = $(libdir)/pkgconfig 64 | 65 | EXTRA_DIST = autogen.sh \ 66 | geo_config.h.vc \ 67 | README \ 68 | README.WIN \ 69 | README_BIN \ 70 | LICENSE \ 71 | CMakeLists.txt \ 72 | libxtiff/CMakeLists.txt \ 73 | bin/CMakeLists.txt \ 74 | docs/Doxyfile \ 75 | docs/geotifcp.html \ 76 | docs/index.dox \ 77 | docs/listgeo.html \ 78 | docs/manual.txt 79 | 80 | MOSTLYCLEANFILES = $(DX_CLEANFILES) 81 | -------------------------------------------------------------------------------- /libgeotiff/cmake/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ############################################################################# 2 | # Config file generation and installation 3 | ############################################################################# 4 | 5 | # geotiff-config.cmake for the install tree. It's installed in 6 | # ${INSTALL_CMAKE_DIR} and @PROJECT_ROOT_DIR@ is the relative 7 | # path to the root from there. (Note that the whole install tree can 8 | # be relocated.) 9 | if (NOT WIN32) 10 | set (INSTALL_CMAKE_DIR "share/cmake/${PROJECT_NAME}") 11 | set (PROJECT_ROOT_DIR "../../..") 12 | else () 13 | set (INSTALL_CMAKE_DIR "cmake") 14 | set (PROJECT_ROOT_DIR "..") 15 | endif () 16 | 17 | configure_file (project-config.cmake.in project-config.cmake @ONLY) 18 | configure_file (project-config-version.cmake.in 19 | project-config-version.cmake @ONLY) 20 | install (FILES 21 | "${CMAKE_CURRENT_BINARY_DIR}/project-config.cmake" 22 | DESTINATION "${INSTALL_CMAKE_DIR}" 23 | RENAME "${PROJECT_NAME_LOWER}-config.cmake") 24 | install (FILES 25 | "${CMAKE_CURRENT_BINARY_DIR}/project-config-version.cmake" 26 | DESTINATION "${INSTALL_CMAKE_DIR}" 27 | RENAME "${PROJECT_NAME_LOWER}-config-version.cmake") 28 | # Make information about the cmake targets (the library and the tools) 29 | # available. 30 | install (EXPORT depends 31 | FILE ${PROJECT_NAME_LOWER}-depends.cmake 32 | DESTINATION "${INSTALL_CMAKE_DIR}") 33 | 34 | 35 | # ------------------------------------------------------------------------------ 36 | # CPACK controls 37 | #------------------------------------------------------------------------------ 38 | 39 | 40 | SET(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) 41 | SET(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) 42 | SET(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) 43 | SET(CPACK_PACKAGE_NAME "GeoTIFF") 44 | 45 | SET(CPACK_SOURCE_GENERATOR "TBZ2;TGZ;ZIP") 46 | SET(CPACK_PACKAGE_VENDOR "GeoTIFF Development Team") 47 | SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") 48 | 49 | set(CPACK_SOURCE_PACKAGE_FILE_NAME 50 | "lib${PROJECT_NAME_LOWER}-${GeoTIFF_VERSION}") 51 | 52 | set(CPACK_SOURCE_IGNORE_FILES 53 | "/\\\\.gitattributes" 54 | "/\\\\.DS_Store" 55 | "/\\\\.git/" 56 | "\\\\.swp$" 57 | "~$" 58 | "\\\\.\\\\#" 59 | "/\\\\#" 60 | "CMakeScripts/" 61 | "COPYING-CMAKE-SCRIPTS" 62 | "_CPack_Packages" 63 | "cmake_install.cmake" 64 | ".gitignore" 65 | ".ninja" 66 | ".deps" 67 | "HOWTORELEASE.txt" 68 | "README" 69 | "build/" 70 | "CMakeFiles" 71 | "CTestTestfile.cmake" 72 | ".gz" 73 | ".bz2" 74 | ) 75 | 76 | include(CPack) 77 | add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source) 78 | -------------------------------------------------------------------------------- /geotiff/html/spec/geotiff5.html: -------------------------------------------------------------------------------- 1 |

GeoTIFF Web Page Table of Contents

2 | 3 |

5 References

4 | 5 |
 1. EPSG/POSC Projection Coding System Tables. Available via FTP to:
 6 |       ftp://ftpmcmc.cr.usgs.gov/release/geotiff/jpl-mirror/tables
 7 | 
 8 |  2. TIFF Revision 6.0 Specification: A PDF formatted version
 9 |     is available via FTP to:
10 | ftp://ftp.adobe.com/pub/adobe/DeveloperSupport/TechNotes/PDFfiles/TIFF6.pdf
11 |      PostScript formatted text versions available at:.
12 |        ftp://sgi.com/graphics/tiff/TIFF6.ps.Z   (compressed)
13 |        ftp://sgi.com/graphics/tiff/TIFF6.ps     (uncompressed)
14 |  3. LIBGEOTIFF -- Public Domain GeoTIFF library, available via anonymous
15 |     FTP to:
16 |       ftp://ftpmcmc.cr.usgs.gov/release/geotiff/jpl-mirror/code
17 |  4. LIBTIFF -- Public Domain TIFF library, available via anonymous
18 |     FTP to:
19 |       ftp://sgi.com/graphics/tiff/
20 | 
21 |  5. Spatial Data Transfer Standard (SDTS) of the USGS.
22 |    (Federal Information Processing Standard (FIPS) 173):
23 | 
24 |       ftp://sdts.er.usgs.gov/pub/sdts/
25 | 
26 |         SDTS Task Force
27 |         U.S. Geological Survey
28 |         526 National Center
29 |         Reston, VA 22092
30 | 
31 |         E-mail: sdts@usgs.gov
32 |  6. Map use: reading, analysis, interpretation.
33 |        Muehrcke, Phillip C. 1986. Madison, WI: JP Publications.
34 | 
35 |  7. Map projections: a working manual. Snyder, John P. 1987.
36 |     USGS Professional Paper 1395.
37 |     Washington, DC: United States Government Printing Office.
38 |  8. Notes for GIS and The Geographer's Craft at U. Texas, on the
39 |     World Wide Web (WWW) (current as of 10 April 1995):
40 | 
41 |      http://wwwhost.cc.utexas.edu/ftp/pub/grg/gcraft/notes/notes.html
42 |  9. Digital Geographic Information Exchange Standard (DIGEST).
43 |      Allied Geographic Publication No 3, Edition 1.2 (AGeoP-3)
44 |      (NATO Unclassified).
45 | 10. POSC Petrotechnical Open Software Corporation Web site:
46 |       http://www.posc.org/
47 |  
48 | 49 | -------------------------------------------------------------------------------- /geotiff/html/proj_list/albers_equal_area_conic.html: -------------------------------------------------------------------------------- 1 | 2 | Albers Equal-Area Conic 3 | 4 | 5 | 6 |

Albers Equal-Area Conic

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 |
Name 11 | Albers Equal-Area Conic 12 |
EPSG Code 15 | 9822 16 |
GeoTIFF Code 19 | CT_AlbersEqualArea (11) 20 |
OGC WKT Name 23 | Albers_Conic_Equal_Area 24 |
Supported By 27 | GeoTIFF, GXF, OGC WKT 28 |
31 | 32 |

Projection Parameters

33 | 34 | 35 | 43 | 51 | 59 | 67 | 75 | 83 |
Name 36 | EPSG # 37 | GeoTIFF ID 38 | OGC WKT 39 | Units 40 | Notes 41 | 42 |
Latitude of first standard parallel 44 | 1 45 | StdParallel1 46 | standard_parallel_1 47 | Angular 48 | 49 | 50 |
Latitude of second standard parallel 52 | 2 53 | StdParallel2 54 | standard_parallel_2 55 | Angular 56 | 57 | 58 |
Latitude of false origin 60 | 3 61 | NatOriginLat 62 | latitude_of_center 63 | Angular 64 | 65 | 66 |
Longitude of false origin 68 | 4 69 | NatOriginLong 70 | longitude_of_center 71 | Angular 72 | 73 | 74 |
Easting of false origin 76 | 6 77 | FalseEasting 78 | fase_easting 79 | Linear 80 | 81 | 82 |
Northing of false origin 84 | 7 85 | FalseNorthing 86 | fase_northing 87 | Linear 88 | 89 | 90 |
91 | 92 |

Notes

93 | 94 | This projection is supported by GCTP, and many other packages.

95 | 96 | In Geosoft GXF format it is known by the name "*Albers Equal-Area Conic" 97 | indicating that it isn't an EPSG projection.

98 | 99 | GeoTIFF: 100 | I have incorporated a version that corresponds to the GeoSoft, Intergraph and 101 | PCI definitions, and mostly like the second option here, but using 102 | NatOriginLat, and NatOriginLong rather than FalseOriginLat/FalseOriginLong or 103 | NatOriginLat/CenterLong as sometimes is done. This doesn't match the 104 | earlier AlbersEqualArea = LinearUnits + StdParallel1 + StdParallel2 + 105 | CenterLong + NatOriginLat + FalseEasting + FalseNorthing proposition 106 | form the GeoTIFF mailing list.

107 | 108 |

PROJ.4 Organization

109 | 110 | 111 |
112 |   +proj=aea   +lat_1=Latitude of first standard parallel
113 |               +lat_2=Latitude of second standard parallel
114 |               +lat_0=Latitude of false origin
115 |               +lon_0=Longitude of false origin
116 |               +x_0=Easting of false origin
117 |               +y_0=Northing of false origin
118 | 
119 |
120 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /libgeotiff/bin/applygeo.c: -------------------------------------------------------------------------------- 1 | /* applygeo.c */ 2 | #include 3 | #include 4 | #include "geotiff.h" 5 | #include "xtiffio.h" 6 | 7 | static int 8 | InstallGeoTIFF(const char *geofile, const char *tiffile) 9 | { 10 | TIFF *tif = XTIFFOpen(tiffile, "r+"); /* TIFF-level descriptor */ 11 | if (!tif) 12 | { 13 | perror(tiffile); 14 | fprintf(stderr, "Cannot open TIFF file %s (does not exist or not a valid TIFF file)\n", tiffile); 15 | return(-1); 16 | } 17 | 18 | /* If we have existing geokeys, try to wipe them 19 | by writing a dummy geokey directory. (#2546) */ 20 | 21 | uint16_t *panVI = NULL; 22 | uint16_t nKeyCount; 23 | if( TIFFGetField( tif, TIFFTAG_GEOKEYDIRECTORY, 24 | &nKeyCount, &panVI ) ) 25 | { 26 | uint16_t anGKVersionInfo[4] = { 1, 1, 0, 0 }; 27 | double adfDummyDoubleParams[1] = { 0.0 }; 28 | 29 | TIFFSetField( tif, TIFFTAG_GEOKEYDIRECTORY, 30 | 4, anGKVersionInfo ); 31 | TIFFSetField( tif, TIFFTAG_GEODOUBLEPARAMS, 32 | 1, adfDummyDoubleParams ); 33 | TIFFSetField( tif, TIFFTAG_GEOASCIIPARAMS, "" ); 34 | } 35 | 36 | GTIF *gtif = GTIFNew(tif); /* GeoKey-level descriptor */ 37 | if (!gtif) 38 | { 39 | fprintf(stderr, "Internal error (GTIFNew)\n"); 40 | return(-2); 41 | } 42 | 43 | /* Read GeoTIFF projection information from geofile */ 44 | FILE *fp = fopen(geofile, "r"); 45 | if( fp == NULL ) 46 | { 47 | perror( geofile ); 48 | fprintf(stderr, "Cannot open projection definition file %s\n", geofile); 49 | return(-3); 50 | } 51 | if (!GTIFImport(gtif, 0, fp)) 52 | { 53 | fprintf(stderr,"Projection definition file is not valid (%s)\n", geofile); 54 | return(-4); 55 | } 56 | fclose(fp); 57 | 58 | /* Install GeoTIFF keys into the TIFF file */ 59 | GTIFWriteKeys(gtif); 60 | 61 | /* Clean up */ 62 | GTIFFree(gtif); 63 | TIFFRewriteDirectory(tif); 64 | XTIFFClose(tif); 65 | return(0); 66 | } 67 | 68 | int 69 | main(int argc, char *argv[]) 70 | { 71 | char *usage = "usage: %s file.geo file.tiff\n" 72 | "geo\tfile containing projection (eg. from listgeo)\n" 73 | "tiff\tTIFF file into which the projection is written\n"; 74 | if( argc != 3 ) 75 | { 76 | fprintf(stderr, usage, "applygeo"); 77 | exit(1); 78 | } 79 | 80 | char *prog = argv[0]; 81 | char *geofile = argv[1]; 82 | char *tiffile = argv[2]; 83 | 84 | if (!geofile || !tiffile) 85 | { 86 | fprintf(stderr, usage, prog); 87 | exit(1); 88 | } 89 | 90 | const int rc = InstallGeoTIFF(geofile, tiffile); 91 | if (rc) 92 | { 93 | fprintf(stderr, "%s: error %d applying projection from %s into TIFF %s\n", prog, rc, geofile, tiffile); 94 | exit(2); 95 | } 96 | 97 | return(0); 98 | } 99 | -------------------------------------------------------------------------------- /geotiff/html/api/annotated.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Class List 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

Class List

Here are the classes, structs, unions and interfaces with brief descriptions: 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 |
_KeyInfo
_TIFFMethod
ctb
datafile_s
GeoKey
GTIFDefn
gtiff
KeyEntry
KeyHeader
ST_KEY
ST_TIFF
TempKeyData
42 |
43 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  44 | 45 | doxygen 1.6.3
46 | 47 | 48 | -------------------------------------------------------------------------------- /libgeotiff/bin/makegeo.c: -------------------------------------------------------------------------------- 1 | /* 2 | * makegeo.c -- example client code for LIBGEO geographic 3 | * TIFF tag support. 4 | * 5 | * Author: Niles D. Ritter 6 | * 7 | * Revision History: 8 | * 31 October, 1995 Fixed reversed lat-long coordinates NDR 9 | * 10 | */ 11 | 12 | #include "geotiffio.h" 13 | #include "xtiffio.h" 14 | #include 15 | #include 16 | 17 | void SetUpTIFFDirectory(TIFF *tif); 18 | void SetUpGeoKeys(GTIF *gtif); 19 | void WriteImage(TIFF *tif); 20 | 21 | #define WIDTH 20L 22 | #define HEIGHT 20L 23 | 24 | int main() 25 | { 26 | const char *fname = "newgeo.tif"; 27 | 28 | TIFF *tif=XTIFFOpen(fname,"w"); /* TIFF-level descriptor */ 29 | if (!tif) { 30 | printf("failure in makegeo\n"); 31 | return -1; 32 | } 33 | 34 | GTIF *gtif = GTIFNew(tif); /* GeoKey-level descriptor */ 35 | if (!gtif) 36 | { 37 | printf("failure in makegeo\n"); 38 | printf("failed in GTIFNew\n"); 39 | TIFFClose(tif); 40 | return -1; 41 | } 42 | 43 | SetUpTIFFDirectory(tif); 44 | SetUpGeoKeys(gtif); 45 | WriteImage(tif); 46 | 47 | GTIFWriteKeys(gtif); 48 | GTIFFree(gtif); 49 | XTIFFClose(tif); 50 | return 0; 51 | } 52 | 53 | 54 | void SetUpTIFFDirectory(TIFF *tif) 55 | { 56 | TIFFSetField(tif,TIFFTAG_IMAGEWIDTH, WIDTH); 57 | TIFFSetField(tif,TIFFTAG_IMAGELENGTH, HEIGHT); 58 | TIFFSetField(tif,TIFFTAG_COMPRESSION, COMPRESSION_NONE); 59 | TIFFSetField(tif,TIFFTAG_PHOTOMETRIC, PHOTOMETRIC_MINISBLACK); 60 | TIFFSetField(tif,TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG); 61 | TIFFSetField(tif,TIFFTAG_BITSPERSAMPLE, 8); 62 | TIFFSetField(tif,TIFFTAG_ROWSPERSTRIP, 20L); 63 | 64 | const double tiepoints[6]={0,0,0,130.0,32.0,0.0}; 65 | const double pixscale[3]={1,1,0}; 66 | TIFFSetField(tif,TIFFTAG_GEOTIEPOINTS, 6,tiepoints); 67 | TIFFSetField(tif,TIFFTAG_GEOPIXELSCALE, 3,pixscale); 68 | } 69 | 70 | void SetUpGeoKeys(GTIF *gtif) 71 | { 72 | GTIFKeySet(gtif, GTModelTypeGeoKey, TYPE_SHORT, 1, ModelGeographic); 73 | GTIFKeySet(gtif, GTRasterTypeGeoKey, TYPE_SHORT, 1, RasterPixelIsArea); 74 | GTIFKeySet(gtif, GTCitationGeoKey, TYPE_ASCII, 0, "Just An Example"); 75 | GTIFKeySet(gtif, GeographicTypeGeoKey, TYPE_SHORT, 1, KvUserDefined); 76 | GTIFKeySet(gtif, GeogCitationGeoKey, TYPE_ASCII, 0, "Everest Ellipsoid Used."); 77 | GTIFKeySet(gtif, GeogAngularUnitsGeoKey, TYPE_SHORT, 1, Angular_Degree); 78 | GTIFKeySet(gtif, GeogLinearUnitsGeoKey, TYPE_SHORT, 1, Linear_Meter); 79 | GTIFKeySet(gtif, GeogGeodeticDatumGeoKey, TYPE_SHORT, 1, KvUserDefined); 80 | GTIFKeySet(gtif, GeogEllipsoidGeoKey, TYPE_SHORT, 1, Ellipse_Everest_1830_1967_Definition); 81 | GTIFKeySet(gtif, GeogSemiMajorAxisGeoKey, TYPE_DOUBLE, 1, (double)6377298.556); 82 | GTIFKeySet(gtif, GeogInvFlatteningGeoKey, TYPE_DOUBLE, 1, (double)300.8017); 83 | } 84 | 85 | void WriteImage(TIFF *tif) 86 | { 87 | char buffer[WIDTH]; 88 | 89 | memset(buffer,0,(size_t)WIDTH); 90 | for (int i=0;i 2 | Equirectangular 3 | 4 | 5 | 6 |

Equirectangular

7 | 8 | 9 | 10 | 13 | 14 | 17 | 18 | 21 | 22 | 25 | 26 | 29 | 30 | 33 | 34 | 37 | 38 | 41 | 42 |
Name 11 | Equirectangular 12 |
Alias 15 | Plate Caree 16 |
Alias 19 | Equidistant Cylindrical 20 |
Alias 23 | Simple Cylindrical 24 |
EPSG Code 27 | 9823 (spherical), 9842 (elliptical) 28 |
GeoTIFF Code 31 | CT_Equirectangular (17) 32 |
OGC WKT Name 35 | Equirectangular 36 |
Supported By 39 | GeoTIFF, PROJ.4, OGC WKT 40 |
43 | 44 |

Projection Parameters

45 | 46 | 47 | 48 | 57 | 66 | 75 | 84 | 93 |
Name 49 | EPSG # 50 | GeoTIFF ID 51 | OGC(OGR) WKT 52 | ESRI PE WKT 53 | PROJ.4 54 | Units 55 | 56 |
Latitude of true scale 58 | 3 59 | ProjStdParallel1 60 | standard_parallel_1 61 | Standard_Parallel_1 62 | +lat_ts 63 | Angular 64 | 65 |
Latitude of origin 67 | 1 (8801) 68 | ProjCenterLat 69 | latitude_of_origin 70 | (unavailable) 71 | +lat_0 72 | Angular 73 | 74 |
Longitude of projection center 76 | 2 (8802/8822) 77 | ProjCenterLong 78 | central_meridian 79 | Central_Meridian 80 | +lon_0 81 | Angular 82 | 83 |
False Easting 85 | 6 86 | FalseEasting 87 | false_easting 88 | False_Easting 89 | +x_0 90 | Linear 91 | 92 |
False Northing 94 | 7 95 | FalseNorthing 96 | false_northing 97 | False_Northing 98 | +y_0 99 | Linear 100 | 101 |
102 | 103 |

Notes

104 | 105 | There are two latitudes that can be important for this projection. 106 | 107 | The latitude of true scale (lat_ts in PROJ.4, Standard_Parallel_1 in ESRI PE, 108 | PSEUDO_STD_PARALLEL_1 in OGR (1.6.0beta), unavailable in EPSG, 6th parm in 109 | GCTP) and the latitude of origin (lat_0 in PROJ.4, latitude_of_origin in OGR 110 | WKT, unavailable in ESRI PE, unavailable in GCTP). The latitude of origin is 111 | just an alternate origin and has no other effect on the equations. Often both 112 | are zero.

113 | 114 | Generally speaking, if you only have one of these latitudes 115 | provided, it is likely the latitude of true scale.

116 | 117 | For a period OGR used the name "latitude_of_origin" for the latitude of 118 | true scale, in error resulting in much confusion.

119 | 120 | Most libraries only implement the spherical version this projection. The 121 | rules for deriving a spherical radius from the ellipsoid defined for a 122 | coordinate system vary between libraries, causing some confusion and mixed 123 | results.

124 | 125 | Plate Caree is an alias, but generally implies that the latitude of true 126 | scale, and latitude of natural origin are zero. Simple Cylindrical is also 127 | an alias with the same assumptions.

128 | 129 | 130 | -------------------------------------------------------------------------------- /geotiff/html/api/globals_func.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Class Members 6 | 7 | 8 | 9 | 10 | 11 |

33 |
34 |   69 |
70 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  71 | 72 | doxygen 1.6.3
73 | 74 | 75 | -------------------------------------------------------------------------------- /geotiff/html/api/geo__incode__defs_8h_source.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: geo_incode_defs.h Source File 6 | 7 | 8 | 9 | 10 | 11 | 45 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  46 | 47 | doxygen 1.6.3
48 | 49 | 50 | -------------------------------------------------------------------------------- /geotiff/html/api/globals.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: Class Members 6 | 7 | 8 | 9 | 10 | 11 | 33 |
34 | Here is a list of all documented file members with links to the documentation: 69 |
70 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  71 | 72 | doxygen 1.6.3
73 | 74 | 75 | -------------------------------------------------------------------------------- /geotiff/html/api/files.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: File Index 6 | 7 | 8 | 9 | 10 | 11 | 27 |
28 |

File List

Here is a list of all documented files with brief descriptions: 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 |
cpl_serv.h [code]
geo_config.h [code]
geo_incode_defs.h [code]
geo_keyp.h [code]
geo_normalize.h [code]
geo_simpletags.h [code]
geo_tiffp.h [code]
geokeys.h [code]
geonames.h [code]
geotiff.h [code]
geotiffio.h [code]
geovalues.h [code]
42 |
43 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  44 | 45 | doxygen 1.6.3
46 | 47 | 48 | -------------------------------------------------------------------------------- /geotiff/html/spec/geotiffhome.html: -------------------------------------------------------------------------------- 1 | GeoTIFF Spec

3 | GeoTIFF Format Specification
4 | GeoTIFF Revision 1.0

5 |

6 | 7 |

   Specification Version: 1.8.2
 8 |    Last Modified: 28 December, 2000
9 |

Click Here for Table of Contents

10 |

Authors:

11 | 12 |
   Dr. Niles Ritter
13 |    (formerly of Jet Propulsion Laboratory)
14 |    email:ritter@earthlink.net
15 | 
16 |    Mike Ruth, SPOT Image Corp
17 |    Product Development Group
18 |    1897 Preston White Dr.
19 |    Reston, VA 22091
20 |    email:ruth@spot.com
21 |

Acknowledgments:

22 | 23 |
GeoTIFF Working Group:
24 |     Mike Ruth, Niles Ritter, Ed Grissom, Brett Borup, George Galang,
25 |     John Haller, Gary Stephenson, Steve Covington, Tim Nagy,
26 |     Jamie Moyers, Jim Stickley,Joe Messina, Yves Somer.
27 | Additional advice from discussions with Tom Lane, Sam Leffler regarding
28 | TIFF implementations.
29 | Roger Lott, Fredrik Lundh, and Jarle Land provided valuable information
30 | regarding projections, projection code databases and geodetics.
31 | 
32 | GeoTIFF Mailing list:
33 |     Posting: geotiff@remotesensing.org
34 |     Subscription: majordomo@remotesensing.org
35 |        (send message "subscribe geotiff").
36 | 37 |

Disclaimers and Notes for This Version:

38 |

39 | This proposal has not been approved by SPOT, JPL, or any other organization. 40 | This represents a proposal, which derives from many discussions between an 41 | international body of TIFF users and developers.

42 |

43 | The authors and their sponsors assume no liability for any special, incidental, 44 | indirect or consequences of any kind, or any damages whatsoever resulting from 45 | loss of use, data or profits, whether or not advised of the possibility of 46 | damage, and on any theory of liability, arising out of or in connection with 47 | the use of this specification.

48 | 49 |

Copyright

50 |

51 | Portions of this specification are copyrighted by Niles Ritter and Mike Ruth. 52 | Permission to copy without fee all or part of this material is granted provided 53 | that the copies are not made or distributed for direct or commercial advantage 54 | and this copyright notice appears.

55 | 56 |

Licenses and Trademarks

57 |

58 | Aldus and Adobe are registered trademarks, and TIFF is a registered trademark 59 | of Aldus Corp., now owned by Adobe. SPOT Image, ESRI, ERDAS, ARC/Info, 60 | Intergraph and Softdesk are registered trademarks. 61 |

Concurrence

62 |

63 | The following members of the GeoTIFF working group have reviewed and approved 64 | of this revision.

65 | 66 |

   Name                   Organization              Representing
67 |    --------------------   -----------------------   ------------
68 |    Niles Ritter           Jet Propulsion Labs       JPL Carto Group
69 |    Mike Ruth              SPOT Image Corp. (USA)    SPOT Image Corp. (USA)
70 |

71 | 72 | 73 | -------------------------------------------------------------------------------- /geotiff/html/api/geotiffio_8h_source.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: geotiffio.h Source File 6 | 7 | 8 | 9 | 10 | 11 |

48 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  49 | 50 | doxygen 1.6.3
51 | 52 | 53 | -------------------------------------------------------------------------------- /libgeotiff/geokeys_v1_1.inc: -------------------------------------------------------------------------------- 1 | /* GeoTIFF GeoKey Database for OGC GeoTIFF v1.1 */ 2 | 3 | /* C database for Geotiff include files. */ 4 | /* the macro ValuePair() must be defined */ 5 | /* by the enclosing include file */ 6 | 7 | /* GeoTIFF Configuration Keys */ 8 | 9 | #ifndef ONLY_GEOTIFF_V1_1_CHANGES 10 | ValuePair( GTModelTypeGeoKey, 1024) 11 | ValuePair( GTRasterTypeGeoKey, 1025) 12 | ValuePair( GTCitationGeoKey, 1026) 13 | #endif 14 | 15 | /* Geodetic CRS Parameter Keys */ 16 | 17 | ValuePair( GeodeticCRSGeoKey, 2048) 18 | ValuePair( GeodeticCitationGeoKey, 2049) 19 | ValuePair( GeodeticDatumGeoKey, 2050) 20 | ValuePair( PrimeMeridianGeoKey, 2051) 21 | #ifndef ONLY_GEOTIFF_V1_1_CHANGES 22 | ValuePair( GeogLinearUnitsGeoKey, 2052) 23 | ValuePair( GeogLinearUnitSizeGeoKey, 2053) 24 | ValuePair( GeogAngularUnitsGeoKey, 2054) 25 | ValuePair( GeogAngularUnitSizeGeoKey, 2055) 26 | #endif 27 | ValuePair( EllipsoidGeoKey, 2056) 28 | ValuePair( EllipsoidSemiMajorAxisGeoKey, 2057) 29 | ValuePair( EllipsoidSemiMinorAxisGeoKey, 2058) 30 | ValuePair( EllipsoidInvFlatteningGeoKey, 2059) 31 | #ifndef ONLY_GEOTIFF_V1_1_CHANGES 32 | ValuePair( GeogAzimuthUnitsGeoKey, 2060) 33 | #endif 34 | ValuePair( PrimeMeridianLongitudeGeoKey, 2061) 35 | 36 | #ifndef ONLY_GEOTIFF_V1_1_CHANGES 37 | ValuePair( GeogTOWGS84GeoKey, 2062) /* 2011 - proposed addition */ 38 | #endif 39 | 40 | /* Projected CRS Parameter Keys */ 41 | 42 | ValuePair( ProjectedCRSGeoKey, 3072) 43 | ValuePair( ProjectedCitationGeoKey, 3073) 44 | #ifndef ONLY_GEOTIFF_V1_1_CHANGES 45 | ValuePair( ProjectionGeoKey, 3074) 46 | #endif 47 | ValuePair( ProjMethodGeoKey, 3075) 48 | #ifndef ONLY_GEOTIFF_V1_1_CHANGES 49 | ValuePair( ProjLinearUnitsGeoKey, 3076) 50 | ValuePair( ProjLinearUnitSizeGeoKey, 3077) 51 | ValuePair( ProjStdParallel1GeoKey, 3078) 52 | ValuePair( ProjStdParallelGeoKey,ProjStdParallel1GeoKey) /* ** alias ** */ 53 | ValuePair( ProjStdParallel2GeoKey, 3079) 54 | ValuePair( ProjNatOriginLongGeoKey, 3080) 55 | ValuePair( ProjOriginLongGeoKey,ProjNatOriginLongGeoKey) /* ** alias ** */ 56 | ValuePair( ProjNatOriginLatGeoKey, 3081) 57 | ValuePair( ProjOriginLatGeoKey,ProjNatOriginLatGeoKey) /* ** alias ** */ 58 | ValuePair( ProjFalseEastingGeoKey, 3082) 59 | ValuePair( ProjFalseNorthingGeoKey, 3083) 60 | ValuePair( ProjFalseOriginLongGeoKey, 3084) 61 | ValuePair( ProjFalseOriginLatGeoKey, 3085) 62 | ValuePair( ProjFalseOriginEastingGeoKey, 3086) 63 | ValuePair( ProjFalseOriginNorthingGeoKey, 3087) 64 | ValuePair( ProjCenterLongGeoKey, 3088) 65 | ValuePair( ProjCenterLatGeoKey, 3089) 66 | ValuePair( ProjCenterEastingGeoKey, 3090) 67 | ValuePair( ProjCenterNorthingGeoKey, 3091) 68 | ValuePair( ProjScaleAtNatOriginGeoKey, 3092) 69 | ValuePair( ProjScaleAtOriginGeoKey,ProjScaleAtNatOriginGeoKey) /* ** alias ** */ 70 | ValuePair( ProjScaleAtCenterGeoKey, 3093) 71 | ValuePair( ProjAzimuthAngleGeoKey, 3094) 72 | ValuePair( ProjStraightVertPoleLongGeoKey, 3095) 73 | ValuePair( ProjRectifiedGridAngleGeoKey, 3096) 74 | #endif 75 | 76 | /* Vertical CRS Parameter Keys */ 77 | 78 | ValuePair( VerticalGeoKey, 4096) 79 | #ifndef ONLY_GEOTIFF_V1_1_CHANGES 80 | ValuePair( VerticalCitationGeoKey, 4097) 81 | ValuePair( VerticalDatumGeoKey, 4098) 82 | ValuePair( VerticalUnitsGeoKey, 4099) 83 | #endif 84 | 85 | /* End of Data base */ 86 | -------------------------------------------------------------------------------- /geotiff/html/api/geo__config_8h_source.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | libgeotiff: geo_config.h Source File 6 | 7 | 8 | 9 | 10 | 11 | 47 |
Generated on Tue Mar 6 15:25:15 2012 for libgeotiff by  48 | 49 | doxygen 1.6.3
50 | 51 | 52 | -------------------------------------------------------------------------------- /libgeotiff/test/Makefile.am: -------------------------------------------------------------------------------- 1 | # Executables paths passed to test scripts 2 | THIS_DIR = $(top_srcdir)/test 3 | EXEPATH = ../bin 4 | LISTGEOEXE = $(EXEPATH)/listgeo 5 | GEOTIFCPEXE = $(EXEPATH)/geotifcp 6 | 7 | # Test scripts 8 | TESTLISTGEO = $(THIS_DIR)/testlistgeo 9 | TESTGEOTIFCP = $(THIS_DIR)/testgeotifcp 10 | 11 | EXTRA_DIST = testlistgeo testlistgeo_out.dist \ 12 | testgeotifcp testgeotifcp_out.dist \ 13 | data/byte.tif \ 14 | data/byte_v11.tif \ 15 | data/pcs_32064.tif \ 16 | data/GeogPrimeMeridianGeoKey.tif \ 17 | data/GeogGeodeticDatumGeoKey.tif \ 18 | data/GeogAngularUnitsGeoKey_9114.tif \ 19 | data/ProjLinearUnitsGeoKey_9036.tif \ 20 | data/ProjectedCSTypeGeoKey_28191_cassini_soldner.tif \ 21 | data/cassini_soldner.tif \ 22 | data/ProjectedCSTypeGeoKey_27200_new_zealand_mapping_grid.tif \ 23 | data/new_zealand_mapping_grid.tif \ 24 | data/ProjectedCSTypeGeoKey_29101_polyconic.tif \ 25 | data/polyconic.tif \ 26 | data/ProjectedCSTypeGeoKey_6808_hotine_oblique_mercator_variant_a.tif \ 27 | data/hotine_oblique_mercator_variant_a.tif \ 28 | data/ProjectedCSTypeGeoKey_8065_hotine_oblique_mercator_variant_b.tif \ 29 | data/hotine_oblique_mercator_variant_b.tif \ 30 | data/ProjectedCSTypeGeoKey_8441_oblique_mercator_laborde.tif \ 31 | data/oblique_mercator_laborde.tif \ 32 | data/ProjectedCSTypeGeoKey_5456_lcc1sp.tif \ 33 | data/lcc1sp.tif \ 34 | data/ProjectedCSTypeGeoKey_5329_mercator1sp.tif \ 35 | data/mercator1sp.tif \ 36 | data/ProjectedCSTypeGeoKey_5641_mercator2sp.tif \ 37 | data/mercator2sp.tif \ 38 | data/ProjectedCSTypeGeoKey_5588_oblique_stereographic.tif \ 39 | data/oblique_stereographic.tif \ 40 | data/ProjectedCSTypeGeoKey_5482_polar_stereographic_variant_a.tif \ 41 | data/polar_stereographic_variant_a.tif \ 42 | data/ProjectedCSTypeGeoKey_3032_polar_stereographic_variant_b.tif \ 43 | data/polar_stereographic_variant_b.tif \ 44 | data/ProjectedCSTypeGeoKey_3814_transverse_mercator.tif \ 45 | data/transverse_mercator.tif \ 46 | data/ProjectedCSTypeGeoKey_2046_transverse_mercator_south_oriented.tif \ 47 | data/transverse_mercator_south_oriented.tif \ 48 | data/ProjectedCSTypeGeoKey_3812_lcc2sp.tif \ 49 | data/lcc2sp.tif \ 50 | data/ProjectedCSTypeGeoKey_3083_albers_equal_area.tif \ 51 | data/albers_equal_area.tif \ 52 | data/ProjectedCSTypeGeoKey_3035_lambert_azimuthal_equal_area.tif \ 53 | data/lambert_azimuthal_equal_area.tif \ 54 | data/ProjectedCSTypeGeoKey_3410_lambert_cylindrical_equal_area.tif \ 55 | data/lambert_cylindrical_equal_area.tif \ 56 | data/ProjectedCSTypeGeoKey_4087_equidistant_cylindrical.tif \ 57 | data/equidistant_cylindrical.tif \ 58 | data/pixel_is_point_wgs84.tif \ 59 | data/epsg_27563_only_pcs_code.tif \ 60 | data/epsg_27563_allgeokeys.tif 61 | 62 | check-local: 63 | $(TESTLISTGEO) $(LISTGEOEXE) 64 | $(TESTGEOTIFCP) $(GEOTIFCPEXE) $(LISTGEOEXE) 65 | 66 | -------------------------------------------------------------------------------- /libgeotiff/geovalues.h: -------------------------------------------------------------------------------- 1 | /********************************************************************** 2 | * 3 | * geovalues.h - Public registry for valid GEOTIFF key-values. 4 | * 5 | * Written By: Niles D. Ritter 6 | * 7 | * copyright (c) 1995 Niles D. Ritter 8 | * 9 | * Permission granted to use this software, so long as this copyright 10 | * notice accompanies any products derived therefrom. 11 | * 12 | **********************************************************************/ 13 | 14 | #ifndef LIBGEOTIFF_GEOVALUES_H_ 15 | #define LIBGEOTIFF_GEOVALUES_H_ 16 | 17 | /* If code values are added or modified, the "GvCurrentMinorRev" 18 | * number should be incremented here. If new Keys are added, then the 19 | * GvCurrentRevision number should be incremented instead, and the 20 | * GvCurrentMinorRev should be reset to zero (see "geokeys.h"). 21 | * 22 | * In addition, any changes here should be reflected in "geo_names.c" 23 | * 24 | */ 25 | 26 | #define GvCurrentMinorRev 0 /* First Major Rev EPSG Code Release */ 27 | 28 | 29 | /* 30 | * Universal key values -- defined for consistency 31 | */ 32 | #define KvUndefined 0 33 | #define KvUserDefined 32767 34 | 35 | #ifdef ValuePair 36 | # undef ValuePair 37 | #endif 38 | #define ValuePair(name,value) name = value, 39 | 40 | /* 41 | * The section numbers refer to the GeoTIFF Specification section 42 | * in which the code values are documented. 43 | */ 44 | 45 | /************************************************************ 46 | * 6.3.1 GeoTIFF General Codes 47 | ************************************************************/ 48 | 49 | /* 6.3.1.1 Model Type Codes */ 50 | typedef enum { 51 | ModelTypeProjected = 1, /* Projection Coordinate System */ 52 | ModelTypeGeographic = 2, /* Geographic latitude-longitude System */ 53 | ModelTypeGeocentric = 3, /* Geocentric (X,Y,Z) Coordinate System */ 54 | ModelProjected = ModelTypeProjected, /* alias */ 55 | ModelGeographic = ModelTypeGeographic, /* alias */ 56 | ModelGeocentric = ModelTypeGeocentric /* alias */ 57 | } modeltype_t; 58 | 59 | /* 6.3.1.2 Raster Type Codes */ 60 | typedef enum { 61 | RasterPixelIsArea = 1, /* Standard pixel-fills-grid-cell */ 62 | RasterPixelIsPoint = 2 /* Pixel-at-grid-vertex */ 63 | } rastertype_t; 64 | 65 | typedef enum { 66 | # include "epsg_gcs.inc" 67 | geographic_end 68 | } geographic_t; 69 | 70 | typedef enum { 71 | # include "epsg_datum.inc" 72 | geodeticdatum_end 73 | } geodeticdatum_t; 74 | 75 | typedef enum { 76 | # include "epsg_units.inc" 77 | Unit_End 78 | } geounits_t; 79 | 80 | typedef enum { 81 | # include "epsg_ellipse.inc" 82 | ellipsoid_end 83 | } ellipsoid_t; 84 | 85 | typedef enum { 86 | # include "epsg_pm.inc" 87 | primemeridian_end 88 | } primemeridian_t; 89 | 90 | typedef enum { 91 | # include "epsg_pcs.inc" 92 | pcstype_end 93 | } pcstype_t; 94 | 95 | typedef enum { 96 | # include "epsg_proj.inc" 97 | projection_end 98 | } projection_t; 99 | 100 | typedef enum { 101 | # include "geo_ctrans.inc" 102 | coordtrans_end 103 | } coordtrans_t; 104 | 105 | typedef enum { 106 | # include "epsg_vertcs.inc" 107 | vertcs_end 108 | } vertcstype_t; 109 | 110 | 111 | typedef enum { 112 | VDatumBase = 1 113 | } vdatum_t; 114 | 115 | #endif /* LIBGEOTIFF_GEOVALUES_H_ */ 116 | --------------------------------------------------------------------------------