Your file is projected (EPSG:5515) Is that working? Looking at the documentation, it works only with geodetic coordinates https://proj.org/en/stable/operations/transformations/hgridshift.html
Be careful, the axis order of the projection is southing-westing, to make everything "easier". https://spatialreference.org/ref/epsg/5515/ On Fri, 10 Jan 2025 at 22:06, Miroslav Pikl via PROJ <proj@lists.osgeo.org> wrote: > Hello, > > I need to prepare a grid file to transform some airborne data. > > I tried to follow description > > https://proj.org/en/stable/specifications/geodetictiffgrids.html#geodetictiffgrids > > and validated the grid with tool from > https://github.com/OSGeo/PROJ-data/tree/master > > The grid file is placed in /usr/share/proj directory. > But when I try to test the horizontal gridshift I get following error > > echo 5601804.80015816 6155138.44865926 291.032677173227 | cct -z0 -t0 > > +proj=hgridshift +grids=cz_jtsk.tif > > proj_create: Error 1029 (File not found or invalid): hgridshift: could > > not find required grid(s). > > cct: Bad transformation arguments - (File not found or invalid) > > 'cct -h' for help > > Other grid file from the same directory can be recognized. > > Is it possible to indicate why the grid is not recognized? > The grid file is accessible from > cz_jtsk.tif > <https://uvgz-my.sharepoint.com/:i:/g/personal/pikl_m_czechglobe_cz/EWbKrKo-qRpOqBVPL8_1a1kBJKEnOQozCGyqpuPGYXos8Q?e=E2sd0j> > > Thank you very much. > Miroslav > > > _______________________________________________ > PROJ mailing list > PROJ@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/proj >
_______________________________________________ PROJ mailing list PROJ@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/proj