Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

naptrans2018.gtx has alternative grid - nl_nsgi_naptrans2018.tif which is missing from ProjData cdn #113

Open
aharondavid opened this issue Nov 29, 2023 · 4 comments

Comments

@aharondavid
Copy link

PROJ version: 9.3
The following WKT has the grid shift: naptrans2018.gtx.
The WKT failed to load because its alternative grid nl_nsgi_naptrans2018.tif doesn't exist in ProjData cdn.
Is alternative grids ,in the proj.db, should be included in the ProjData ?

COMPD_CS["Amersfoort / RD New (GSB) + NAP height (GTX)",PROJCS["Amersfoort / RD New",GEOGCS["Amersfoort",DATUM["Amersfoort",SPHEROID["Bessel 1841",6377397.155,299.1528128,AUTHORITY["EPSG","7004"]],EXTENSION["PROJ4_GRIDS","rdtrans2018.gsb"],AUTHORITY["EPSG","6289"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4289"]],PROJECTION["Oblique_Stereographic"],PARAMETER["latitude_of_origin",52.1561605555556],PARAMETER["central_meridian",5.38763888888889],PARAMETER["scale_factor",0.9999079],PARAMETER["false_easting",155000],PARAMETER["false_northing",463000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["X",EAST],AXIS["Y",NORTH],AUTHORITY["EPSG","28992"]],VERT_CS["NAP height",VERT_DATUM["Normaal Amsterdams Peil",2005,EXTENSION["PROJ4_GRIDS","naptrans2018.gtx"],AUTHORITY["EPSG","5109"]],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Up",UP],AUTHORITY["EPSG","5709"]],AUTHORITY["EPSG","7415"]]

@rouault
Copy link
Member

rouault commented Nov 29, 2023

Cf 1171740 . You could likely get nl_nsgi_naptrans2018.tif back from the proj-data-1.9 archive.
@Jochem-L FYI apparently #80 breaks legacy workflows

@jjimenezshaw
Copy link
Contributor

There is still an entry in grid_alternatives.sql that uses that tiff file:
('NOT-YET-IN-GRID-TRANSFORMATION-naptrans2018.gtx','nl_nsgi_naptrans2018.tif','naptrans2018.gtx','GTiff','geoid_like',0,NULL,'https://cdn.proj.org/nl_nsgi_naptrans2018.tif',1,1,NULL),
Should it be removed or replaced, as nl_nsgi_naptrans2018.tif is not anymore in cdn?

@rouault
Copy link
Member

rouault commented Nov 29, 2023

Should it be removed or replaced, as nl_nsgi_naptrans2018.tif is not anymore in cdn?

it should be removed if we don't provide nl_nsgi_naptrans2018.tif anymore

@Jochem-L
Copy link
Contributor

The nl_nsgi_naptrans2018.gtx file was a legacy grid that is only needed for PROJ 4.x.x. Since PROJ 4.x.x doesn't support .tif files, it makes no sense to provide the .tif version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants