[PROJ] proj grid not found - SOLVED

Miroslav Pikl pikl.m at czechglobe.cz
Sat Jan 11 09:20:41 PST 2025


Hi,

great help, thank you. Exactly the push I needed. I have to use
gridshift instead of hgridshift. What a silly mistake.

I will test the the direction on some reference point with known
coordinates.

Thank you.

Best regards
Miroslav


On Sat, 2025-01-11 at 18:02 +0100, Javier Jimenez Shaw wrote:
> 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 at 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
> > 
> > 
> > Thank you very much.
> > Miroslav
> > 
> > 
> > 
> > 
> > _______________________________________________
> > PROJ mailing list
> > PROJ at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/proj



More information about the PROJ mailing list