aboutsummaryrefslogtreecommitdiff
path: root/data/CMakeLists.txt
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-02-04 14:48:52 +0100
committerKristian Evers <kristianevers@gmail.com>2019-02-04 20:30:12 +0100
commitd6aaddc5e0cb2bd9080a8fc4b77de947172c81d8 (patch)
treed5f76a37e4cadc6fff0e1b86a487209aa5057bbb /data/CMakeLists.txt
parent2e6dde7a7eae34b8f93c078480db077891f03068 (diff)
downloadPROJ-d6aaddc5e0cb2bd9080a8fc4b77de947172c81d8.tar.gz
PROJ-d6aaddc5e0cb2bd9080a8fc4b77de947172c81d8.zip
Remove all traces of nad2bin and nad2nad
The source material for the default grids used by PROJ has been moved to the proj-datumgrid repository. For that reason it is no longer necessary to include the nad2bin program in the PROJ repository and source distribution. From now on the nad2bin application will be kept in the proj-datumgrid repo. Previously the null grid was generated by running nad2bin on the null.lla file. Since nad2bin is no longer available null.lla has been replaced by its binary counterpart null. This file will be distributed and installed alongside PROJ. Build scripts and documenation has been adjusted so that nad2bin is not mentioned anywhere. Additionally all references to nad2nad has been removed as well. nad2nad has not been part of the PROJ distribution for quite some time so this has been long overdue.
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r--data/CMakeLists.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 859f9a60..8d3a06b2 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -22,17 +22,6 @@ file(GLOB GTX_FILES *.gtx)
set(GRIDSHIFT_FILES ${GSB_FILES} ${GTX_FILES})
set(GRIDSHIFT_FILES ${GRIDSHIFT_FILES}
)
-option(CONVERT_DATA "convert some ascii file to binary file for use in proj4" OFF)
-if(CONVERT_DATA)
- if (BUILD_NAD2BIN)
- set(LLA_GRID_DIR ${CMAKE_CURRENT_SOURCE_DIR})
- proj_convert_grid_lla2gsb(LLA_GRID_DIR)
- file(GLOB LLA_FILES *.lla)
- proj_append_lla_output_file(LLA_FILES GRIDSHIFT_FILES)
- else()
- message(ERROR " you need to compile nad2bin exe in order to convert data file" )
- endif(BUILD_NAD2BIN)
-endif(CONVERT_DATA)
set(ALL_SQL_IN "${CMAKE_CURRENT_SOURCE_DIR}/all.sql.in")
set(PROJ_DB "${CMAKE_CURRENT_SOURCE_DIR}/proj.db")