[Qgis-developer] Reprojection problem

Bernhard Ströbl bernhard.stroebl at jena.de
Fri Sep 27 02:29:32 PDT 2013


Hi Benoit,

as far as I understand from your original post you want to add a raster 
layer to QGIS whose projection information is +proj=lcc +lat_1=49.5 
+lat_0=49.5 +lon_0=0 +k_0=0.99987734
+x_0=600000 +y_0=200000 +a=6378249.2 +b=6356514.999978254
+nadgrids=ntf_r93.gsb,null +pm=2.337229167 +units=m +no_defs +to
+proj=lcc +lat_1=44 +lat_2=49 +lat_0=46.5 +lon_0=3 +x_0=700000
+y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs

so you have to edit this information in the file (gdal_edit or gdal_warp 
will probably do) adding the path to the gsb file. Alternativly it 
_might_ work to copy the gsb file at the same location as the raster 
file (never tried, though).

Bernhard

Am 27.09.2013 11:20, schrieb Benoît Laurent:
>> this worked for me with gdalwarp (did not try in QGIS, though):
>> +nadgrids=/path/to/the/grid/my_grid.gsb
>
> My problem is that I do not know how to change the path in Qgis. In the
> "On the fly projection" dialog box, the string specifying how to
> reproject is read only. There must be a file where this string is
> specified but I don't know where.
>
> Am I the only one facing this "on the fly" projection problem ?
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


__________ Information from ESET Mail Security, version of virus signature database 8848 (20130926) __________

The message was checked by ESET Mail Security.
http://www.eset.com




More information about the Qgis-developer mailing list