aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2022-01-31 00:12:34 +1300
committerGitHub <noreply@github.com>2022-01-31 00:12:34 +1300
commitddefc8d1dfddc815cbc3afef00c66853f9c0194c (patch)
treea794660f59698f20405ad90896f9c3ce38a53934 /data
parent4ecb0abb8c3d3f5efcdd79643bc3302aa9bc6d1e (diff)
downloadPROJ-ddefc8d1dfddc815cbc3afef00c66853f9c0194c.tar.gz
PROJ-ddefc8d1dfddc815cbc3afef00c66853f9c0194c.zip
Drop autotools; move remaining useful m4 macros (#3027)
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am226
1 files changed, 0 insertions, 226 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
deleted file mode 100644
index 2e6f7ae0..00000000
--- a/data/Makefile.am
+++ /dev/null
@@ -1,226 +0,0 @@
-DATAPATH = $(top_srcdir)/data
-
-pkgdata_DATA = proj.ini GL27 nad.lst nad27 nad83 world other.extra \
- CH \
- ITRF2000 ITRF2008 ITRF2014 proj.db \
- projjson.schema.json \
- deformation_model.schema.json \
- triangulation.schema.json
-
-SQL_ORDERED_LIST = sql/begin.sql \
- sql/proj_db_table_defs.sql \
- sql/conversion_triggers.sql \
- sql/customizations_early.sql \
- sql/metadata.sql \
- sql/unit_of_measure.sql \
- sql/extent.sql \
- sql/scope.sql \
- sql/coordinate_system.sql \
- sql/axis.sql \
- sql/ellipsoid.sql \
- sql/prime_meridian.sql \
- sql/geodetic_datum.sql \
- sql/geodetic_datum_ensemble_member.sql \
- sql/vertical_datum.sql \
- sql/vertical_datum_ensemble_member.sql \
- sql/conversion.sql \
- sql/geodetic_crs.sql \
- sql/projected_crs.sql \
- sql/vertical_crs.sql \
- sql/compound_crs.sql \
- sql/helmert_transformation.sql \
- sql/grid_transformation.sql \
- sql/grid_transformation_custom.sql \
- sql/other_transformation.sql \
- sql/other_transformation_custom.sql \
- sql/concatenated_operation.sql \
- sql/concatenated_operation_step.sql \
- sql/alias_name.sql \
- sql/supersession.sql \
- sql/deprecation.sql \
- sql/esri.sql \
- sql/ignf.sql \
- sql/nkg.sql \
- sql/iau.sql \
- sql/grid_alternatives.sql \
- sql/grid_alternatives_generated_noaa.sql \
- sql/customizations.sql \
- sql/nkg_post_customizations.sql \
- sql/commit.sql
-
-EXTRA_DIST = proj.ini GL27 nad.lst nad27 nad83 \
- world other.extra \
- CH \
- ITRF2000 ITRF2008 ITRF2014 \
- projjson.schema.json \
- deformation_model.schema.json \
- triangulation.schema.json \
- CMakeLists.txt \
- tests/test_nodata.gtx \
- tests/test_vgrid_bigendian_bigtiff.tif \
- tests/test_vgrid_bigendian.tif \
- tests/test_vgrid_bigtiff.tif \
- tests/test_vgrid_bottomup_with_matrix.tif \
- tests/test_vgrid_bottomup_with_scale.tif \
- tests/test_vgrid_deflate_floatingpointpredictor.tif \
- tests/test_vgrid_deflate.tif \
- tests/test_vgrid_float64.tif \
- tests/test_vgrid_in_second_channel.tif \
- tests/test_vgrid_int16.tif \
- tests/test_vgrid_int32.tif \
- tests/test_vgrid_uint32.tif \
- tests/test_vgrid_invalid_channel_type.tif \
- tests/test_vgrid_nodata.tif \
- tests/test_vgrid_pixelisarea.tif \
- tests/test_vgrid_pixelispoint.tif \
- tests/test_vgrid_uint16.tif \
- tests/test_vgrid_uint16_with_scale_offset.tif \
- tests/test_vgrid_unsupported_byte.tif \
- tests/test_vgrid_with_overview.tif \
- tests/test_vgrid_with_subgrid.tif \
- tests/test_hgrid.tif \
- tests/test_hgrid_separate.tif \
- tests/test_hgrid_tiled.tif \
- tests/test_hgrid_tiled_separate.tif \
- tests/test_hgrid_strip.tif \
- tests/test_hgrid_positive_west.tif \
- tests/test_hgrid_lon_shift_first.tif \
- tests/test_hgrid_radian.tif \
- tests/test_hgrid_degree.tif \
- tests/test_hgrid_with_overview.tif \
- tests/test_hgrid_extra_ifd_with_other_info.tif \
- tests/test_hgrid_with_subgrid.tif \
- tests/test_hgrid_with_subgrid_no_grid_name.tif \
- tests/subset_of_gr3df97a.tif \
- tests/egm96_15_uncompressed_truncated.tif \
- tests/test_vgrid_single_strip_truncated.tif \
- tests/nkgrf03vel_realigned_extract.tif \
- tests/nkgrf03vel_realigned_xy_extract.ct2 \
- tests/nkgrf03vel_realigned_z_extract.gtx \
- tests/test_hgrid_with_two_level_of_subgrids_no_grid_name.tif \
- tests/us_noaa_geoid06_ak_subset_at_antimeridian.tif \
- tests/test_hgrid_little_endian.gsb \
- tests/test_hgrid_big_endian.gsb \
- tests/test_3d_grid_projected.tif \
- tests/BETA2007.gsb \
- tests/MD \
- tests/alaska \
- tests/conus \
- tests/egm96_15_downsampled.gtx \
- tests/ntv1_can.dat \
- tests/ntv2_0_downsampled.gsb \
- tests/ntf_r93.gsb \
- tests/simple_model_degree_3d_grid.tif \
- tests/simple_model_degree_horizontal.json \
- tests/simple_model_degree_3d.json \
- tests/simple_model_metre_3d_grid.tif \
- tests/simple_model_metre_horizontal.json \
- tests/simple_model_metre_3d.json \
- tests/simple_model_metre_3d_geocentric.json \
- tests/simple_model_metre_vertical_grid.tif \
- tests/simple_model_metre_vertical.json \
- tests/simple_model_polar.json \
- tests/simple_model_polar.tif \
- tests/simple_model_wrap_east.json \
- tests/simple_model_wrap_east.tif \
- tests/simple_model_wrap_west.json \
- tests/simple_model_wrap_west.tif \
- tests/simple_model_projected.json \
- tests/tinshift_crs_implicit.json \
- tests/tinshift_simplified_kkj_etrs.json \
- tests/tinshift_simplified_n60_n2000.json \
- tests/tinshift_fallback_nearest_side.json \
- tests/tinshift_fallback_nearest_centroid.json \
- generate_proj_db.cmake sql_filelist.cmake \
- $(SQL_ORDERED_LIST)
-
-install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
- @for gridfile in $(DATAPATH)/*.gsb $(DATAPATH)/*.gtx $(DATAPATH)/ntv1_can.dat dummy \
- $(DATAPATH)/alaska $(DATAPATH)/conus $(DATAPATH)/hawaii \
- $(DATAPATH)/prvi $(DATAPATH)/stgeorge $(DATAPATH)/stlrnc $(DATAPATH)/stpaul \
- $(DATAPATH)/FL $(DATAPATH)/MD $(DATAPATH)/TN $(DATAPATH)/WI $(DATAPATH)/WO; do \
- if test "$$gridfile" != "dummy" -a -f "$$gridfile" ; then \
- echo $(INSTALL_DATA) $$gridfile $(DESTDIR)$(pkgdatadir)/`basename $$gridfile`; \
- $(INSTALL_DATA) $$gridfile $(DESTDIR)$(pkgdatadir)/`basename $$gridfile`; \
- fi; \
- done
-
-proj.db: $(DATAPATH)/sql/*.sql
- @echo "Make proj.db"
- $(RM) proj.db
- @export SQL_EXPANDED_LIST=""; \
- for x in $(SQL_ORDERED_LIST); do \
- export SQL_EXPANDED_LIST="$${SQL_EXPANDED_LIST} $(DATAPATH)/$$x"; \
- done; \
- cat $${SQL_EXPANDED_LIST} | sed 's/$${PROJ_VERSION}/${PACKAGE_VERSION}/' > all.sql.in; \
- if test "x$(PROJ_DB_CACHE_DIR)" != "x" -a -x "$$(command -v md5sum)" -a -f "$(PROJ_DB_CACHE_DIR)/proj.db" -a -f "$(PROJ_DB_CACHE_DIR)/proj.db.sql.md5" ; then \
- cat all.sql.in | md5sum | diff - "$(PROJ_DB_CACHE_DIR)/proj.db.sql.md5" > /dev/null \
- && (echo "Reusing cached proj.db"; cp "$(PROJ_DB_CACHE_DIR)/proj.db" proj.db); \
- fi; \
- if test ! -f proj.db ; then \
- cat all.sql.in | sqlite3 proj.db; \
- fi; \
- if [ $$? -ne 0 ] ; then \
- echo "Build of proj.db failed"; \
- $(RM) proj.db; \
- exit 1; \
- fi; \
- if test "x$(PROJ_DB_CACHE_DIR)" != "x" -a -x "$$(command -v md5sum)" ; then \
- mkdir -p "$(PROJ_DB_CACHE_DIR)"; \
- cat all.sql.in | md5sum > "$(PROJ_DB_CACHE_DIR)/proj.db.sql.md5"; \
- cp proj.db "$(PROJ_DB_CACHE_DIR)"; \
- fi; \
- $(RM) all.sql.in
-
-# For out-of-tree builds, link all file of the source data dir to the generated data
-# Also link select resource files in a for_tests subdirectory so that we are not
-# influenced by the presence of other grids
-
-# egm96_15_downsampled.gtx created with
-# gdal_translate proj-datumgrid/egm96_15.gtx egm96_15_downsampled.gtx -of GTX -outsize 25% 25% -r average
-
-# ntv2_0_downsampled.gsb created with:
-# gdal_translate NTv2:0:/home/even/proj/proj-datumgrid/north-america/ntv2_0.gsb /tmp/ntv2_0_downsampled.gsb -of NTv2 -outsize 10% 10%
-# gdal_translate NTv2:1:/home/even/proj/proj-datumgrid/north-america/ntv2_0.gsb /tmp/ntv2_0_downsampled.gsb -of NTv2 -outsize 10% 10% -co append_subdataset=yes
-# gdal_translate NTv2:2:/home/even/proj/proj-datumgrid/north-america/ntv2_0.gsb /tmp/ntv2_0_downsampled.gsb -of NTv2 -outsize 10% 10% -co append_subdataset=yes
-# gdal_translate NTv2:3:/home/even/proj/proj-datumgrid/north-america/ntv2_0.gsb /tmp/ntv2_0_downsampled.gsb -of NTv2 -outsize 10% 10% -co append_subdataset=yes
-# gdal_translate NTv2:99:/home/even/proj/proj-datumgrid/north-america/ntv2_0.gsb /tmp/ntv2_0_downsampled.gsb -of NTv2 -co append_subdataset=yes
-# gdal_translate NTv2:44:/home/even/proj/proj-datumgrid/north-america/ntv2_0.gsb /tmp/ntv2_0_downsampled.gsb -of NTv2 -co append_subdataset=yes
-# gdal_translate NTv2:4:/home/even/proj/proj-datumgrid/north-america/ntv2_0.gsb /tmp/ntv2_0_downsampled.gsb -of NTv2 -co append_subdataset=yes
-
-check-local:
- @if [ ! -f GL27 ]; then \
- for x in $(DATAPATH)/*; do \
- ln -sf $$x .; \
- done \
- fi; \
- rm -rf for_tests; \
- mkdir for_tests; \
- for x in $(DATAPATH)/GL27 \
- $(DATAPATH)/nad27 \
- $(DATAPATH)/nad83 \
- $(DATAPATH)/tests/ntv1_can.dat \
- $(DATAPATH)/tests/MD \
- $(DATAPATH)/tests/ntf_r93.gsb \
- $(DATAPATH)/tests/conus \
- $(DATAPATH)/tests/alaska \
- $(DATAPATH)/ITRF2000 \
- $(DATAPATH)/tests/BETA2007.gsb; \
- do \
- if test -f "$$x" ; then \
- ln -sf "../$$x" for_tests; \
- else \
- echo "ERROR: grid $$x missing: some tests will be skipped"; \
- exit 1; \
- fi \
- done; \
- ln -sf ../$(DATAPATH)/tests for_tests; \
- ln -sf ../$(DATAPATH)/tests/ntv2_0_downsampled.gsb for_tests/ntv2_0.gsb; \
- ln -sf ../$(DATAPATH)/tests/egm96_15_downsampled.gtx for_tests/egm96_15.gtx; \
- ln -sf ../$(DATAPATH)/proj.ini for_tests; \
- ln -sf ../proj.db for_tests
-
-clean-local:
- $(RM) proj.db
- $(RM) -rf for_tests