diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-12-11 16:42:13 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-12-11 17:15:03 +0100 |
| commit | 6d45bbc88bd58d7fc8a4ff7ec70bd2f23cb67aa1 (patch) | |
| tree | 524f418f4c949b8718a1beeaa7901322fd05463e /test | |
| parent | e872984b46145fd03016fc53c6dac5843ba344f8 (diff) | |
| download | PROJ-6d45bbc88bd58d7fc8a4ff7ec70bd2f23cb67aa1.tar.gz PROJ-6d45bbc88bd58d7fc8a4ff7ec70bd2f23cb67aa1.zip | |
Add a +proj=xyzgridshift method to perform geocentric translation by grid. Used for French NTF to RGF93 transformation using gr3df97a.tif grid
Diffstat (limited to 'test')
| -rw-r--r-- | test/gie/geotiff_grids.gie | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/gie/geotiff_grids.gie b/test/gie/geotiff_grids.gie index 132ca6d4..1fde45a2 100644 --- a/test/gie/geotiff_grids.gie +++ b/test/gie/geotiff_grids.gie @@ -280,4 +280,28 @@ expect failure errno failed_to_load_grid ------------------------------------------------------------------------------- +# IGNF:LAMBE to IGNF:LAMB93 using xyzgridshift operation +------------------------------------------------------------------------------- +operation +proj=pipeline + +step +inv +proj=lcc +lat_1=46.8 +lat_0=46.8 +lon_0=0 + +k_0=0.99987742 +x_0=600000 +y_0=2200000 +ellps=clrk80ign +pm=paris + +step +proj=push +v_3 + +step +proj=cart +ellps=clrk80ign + +step +proj=xyzgridshift +grids=gr3df97a.tif +grid_ref=output_crs +ellps=GRS80 + +step +proj=cart +ellps=GRS80 +inv + +step +proj=pop +v_3 + +step +proj=lcc +lat_0=46.5 +lon_0=3 +lat_1=49 +lat_2=44 + +x_0=700000 +y_0=6600000 +ellps=GRS80 +------------------------------------------------------------------------------- +ignore pjd_err_failed_to_load_grid +tolerance 1 mm + +accept 814149.529 1887019.768 0 +expect 860690.804 6319036.849 0 +# If using ntf_r93.gsb, one gets: 860690.805 6319036.850 + +roundtrip 1 +------------------------------------------------------------------------------- + + </gie> |
