[PROJ] PROJ 6.1.0RC1

Even Rouault even.rouault at spatialys.com
Mon May 6 06:05:20 PDT 2019


> This change should have no impact when using EPSG:28992+5709 instead of
> +init=rdnap:rdnap, right?

yes, no impact

> Removing the cs2cs args and +init= prefix result in the gtx being used,
> but the magin is still too large.
> 
> See the attachment.

ok, so this is on

Test:   10 edge_rd
Exec:   cs2cs EPSG:28992+5709 +to EPSG:4937 -f %.9f
Input:  50000.4500 335999.6700
[...]
Output: 51.003976841	3.891248343 44.739810857
Expect: 51.003976532	3.891247830
Latitude exceeds 1e-08 degrees: 3.08999993592352e-07
Longitude exceeds 1e-08 degrees: 5.12999999813246e-07

With proj 5.2.0:
$ echo "50000.4500 335999.6700" | ~/proj/install-proj-5.2.0/bin/cs2cs  
+init=rdnap:rdnap +to +init=epsg:4258 -f %.9f
3.891248343	51.003976842 44.740002097

And with proj master/6.1
$ echo "50000.4500 335999.6700" | PROJ_LIB=$PWD:data src/cs2cs EPSG:28992+5709 
+to EPSG:4937 -f %.9f
51.003976841	3.891248343 44.739810857

So for lat,long I get almost the same values with both PROJ versions (1e-9 deg 
difference on latitude). Perhaps the test expected result should be updated ?

Even
-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the PROJ mailing list