Files
PROJ/data/CH
T
Even Rouault 319a879a12 Introduce PROJ_DATA environment variable to deprecate PROJ_LIB
Given its looong existence and to avoid disruption in existing workflows,
PROJ_LIB will still work for the time being, and should probably be kept
functional at least for the PROJ 10 series.
A runtime debug message is logged (PROJ_DEBUG>=2) if using PROJ_LIB to
point to the recommended PROJ_DATA.

The PROJ_LIB_ENV_VAR_TRIED_LAST CMake option is renamed consistently to
PROJ_DATA_ENV_VAR_TRIED_LAST and a CMake warning is emitted when the old
name is used (in which case the value of PROJ_LIB_ENV_VAR_TRIED_LAST is
used for PROJ_DATA_ENV_VAR_TRIED_LAST)

The rational for this change is:
- PROJ_LIB is a misleading name. Some users believe it is related to the
  loading of the PROJ executable library.
- to align nicely with GDAL_DATA since they are about the same thing.
2022-07-07 18:20:00 +02:00

23 lines
1.1 KiB
Plaintext

# This init file provides definitions for CH1903 and CH1903/LV03
# projections using the distortion grids developed by Swisstopo.
# See: https://shop.swisstopo.admin.ch/en/products/geo_software/GIS_info
#
# You'll need to download the grids separately and put in a directory
# scanned by libproj.
#
# Note that an independent effort was made to derive an usable grid
# from the CH1903->CH1903+ grid initially available from the Swisstopo
# website. You can read about this other effort here:
# http://lists.maptools.org/pipermail/proj/2012-February/006093.html
# It may be of interest because the latter was by some reported as being
# more accurate than the former:
# http://lists.maptools.org/pipermail/proj/2012-February/006119.html
#
# This init file uses the official one
#
<metadata> +origin=Swisstopo +lastupdate=2012-02-27
# CH1903/LV03
<1903_LV03> +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=600000 +y_0=200000 +ellps=bessel +units=m +nadgrids=CHENyx06_ETRS.gsb +no_defs
# CH1903
<1903> +proj=longlat +ellps=bessel +nadgrids=CHENyx06_ETRS.gsb +no_defs <>