Bug report #14101

French reprojection use ntf_r93.gsb (IGNF:LAMBE etc ..)

Added by Yves ryra6453 10 months ago. Updated 9 months ago.

Status:Closed Start Date:01/14/2016
Priority:Normal Due date:
Assigned to:- % Done:


Target version:-
Platform:Windows Pull Request or Patch supplied:No
Platform version:7 Affected version:2.12.2
Status info: Causes crash or corruption:No
Resolution:up/downstream Tag:


ERROR when reproject or save as whith "IGNF:xxx" projection

for example:

PROJ.4:  +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 +to  +proj=lcc +nadgrids=ntf_r93.gsb,null +a=6378249.2000 +rf=293.4660210000000 +pm=2.337229167 +lat_0=46.800000000 +lon_0=0.000000000 +k_0=0.99987742 +lat_1=46.800000000 +x_0=600000.000 +y_0=2200000.000 +units=m +no_defs
            Erreur: failed to load datum shift file

in python console

>>>import os

path is ok and ntf_r93.gsb exist.

Related issues

duplicated by QGIS Application - Bug report #14198: French projections Closed 01/30/2016


Updated by Yves ryra6453 10 months ago

I found a temporary solution.

I change the proj4 definition in the database /path_qgis/apps/qgis/ressources/srs.db
In table tbl_srs

I delete ",null" after "+nadgrids=ntf_r93.gsb" in parameters column

reprojection now operating normally

I test whith national reference software (IGN Circé France) the coordinate convertion is exact.

Updated by Quan Tum 9 months ago

Hello all,
I have the same bug here and found the same workaround.

For future references, the OP has more detailed information (in french) here : http://georezo.net/forum/viewtopic.php?pid=277328#p277328
Results are the same with 32 an d 64 bit standalone setup, as well as OSGEO4W setup. So it seems to come from QGIS itself.

On my side, with an OSGEO4W setup, other software using gdal seem to work without problem.

The symptoms are the same than in this bug #7941
Although the bug/solution for this one was in OSGEO4W code, there are some interesting debugging information.
I didn't manage to find a solution though and would be glad if more experienced devs could give a hand !


Updated by Jürgen Fischer 9 months ago

  • Status changed from Open to Closed
  • Resolution set to up/downstream

This is a (fixed) OSGeo4W issue with the proj package.

Also available in: Atom