# After updating GMT, it does not plot TIFF files

**URL:** <https://forum.generic-mapping-tools.org/t/after-updating-gmt-it-does-not-plot-tiff-files/5979>\
**Category:** Q&A\
**Created:** [June 3, 2025, 10:04am UTC](https://forum.generic-mapping-tools.org/t/after-updating-gmt-it-does-not-plot-tiff-files/5979 "2025-06-03T10:04:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anuar](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@Anuar](https://forum.generic-mapping-tools.org/u/Anuar)\
**Post date:** [June 3, 2025, 10:04am UTC](https://forum.generic-mapping-tools.org/t/after-updating-gmt-it-does-not-plot-tiff-files/5979/1 "2025-06-03T10:04:33Z")

</div>

Dear GMT community,

I do not have a deep knowledge in GDAL and the structure of various grid files, so the solution to the problem I am facing is probably simple. After updatig GMT (GMT 6.5.0, GDAL 3.10.2), my existing script that used to work with the previous version (do not remember) no longer plots TIFF files. I have tried grdsample and QGIS to resize the files but it did not help. The file is in NTF (Paris) / Lambert zone II coordinate system but I use a linear projection (-JX), normally it works fine for my small area. Here is the grdinfo of the TIFF file:

> argentiere\_map\_georef.tif: Title: Grid imported via GDAL  
> argentiere\_map\_georef.tif: Command:  
> argentiere\_map\_georef.tif: Remark:  
> argentiere\_map\_georef.tif: Pixel node registration used [Cartesian grid]  
> argentiere\_map\_georef.tif: Grid file format: gd = Import/export through GDAL  
> argentiere\_map\_georef.tif: x\_min: 953645.7836 x\_max: 964983.2466 x\_inc: 2.65638776945 name: x n\_columns: 4268  
> argentiere\_map\_georef.tif: y\_min: 2112041.2055 y\_max: 2121250.9018 y\_inc: 2.65638774156 name: y n\_rows: 3467  
> argentiere\_map\_georef.tif: v\_min: 1.79769313486e+308 v\_max: -1.79769313486e+308 name: z  
> argentiere\_map\_georef.tif: scale\_factor: 1 add\_offset: 0  
> argentiere\_map\_georef.tif: Default CPT:  
> +proj=lcc +lat\_1=46.8 +lat\_0=46.8 +lon\_0=0 +k\_0=0.99987742 +x\_0=600000 +y\_0=2200000 +ellps=clrk80ign +pm=paris +towgs84=-168,-60,320,0,0,0,0 +units=m +no\_defs

GMT prints some warning messages, which I used to ignore. These messages disappear after resizing the TIFF file, so I don’t think they are the root cause of the problem:

> grdimage [WARNING]: (w - x\_min) must equal (NX + eps) \* x\_inc), where NX is an integer and |eps| \<= 0.0001.  
> grdimage [WARNING]: w reset from 958000 to 957999.603154  
> grdimage [WARNING]: (e - x\_min) must equal (NX + eps) \* x\_inc), where NX is an integer and |eps| \<= 0.0001.  
> grdimage [WARNING]: e reset from 962000 to 962000.123135  
> grdimage [WARNING]: (s - y\_min) must equal (NY + eps) \* y\_inc), where NY is an integer and |eps| \<= 0.0001.  
> grdimage [WARNING]: s reset from 2115000 to 2114997.76506  
> grdimage [WARNING]: (n - y\_min) must equal (NY + eps) \* y\_inc), where NY is an integer and |eps| \<= 0.0001.  
> grdimage [WARNING]: n reset from 2119000 to 2119000.94138  
> basemap [ERROR]: Option -L: Not allowed for Cartesian projections

I am wondering whta have been changes in the new verions of GMT. I would appreciate any help or hints.

Regards,  
Anuar

---

<div class="post-metadata">

**Author:** ![KristofKoch](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/kristofkoch/32/314_2.png) [@KristofKoch](https://forum.generic-mapping-tools.org/u/KristofKoch)\
**Post date:** [June 3, 2025, 10:45am UTC](https://forum.generic-mapping-tools.org/t/after-updating-gmt-it-does-not-plot-tiff-files/5979/2 "2025-06-03T10:45:21Z")

</div>

Hello @Anuar, could you provide a small sample script to test?

---

<div class="post-metadata">

**Author:** ![mkononets](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/mkononets/32/4029_2.png) [@mkononets](https://forum.generic-mapping-tools.org/u/mkononets)\
**Post date:** [June 3, 2025, 11:08am UTC](https://forum.generic-mapping-tools.org/t/after-updating-gmt-it-does-not-plot-tiff-files/5979/3 "2025-06-03T11:08:45Z")

</div>

> [@Anuar](#):
>
> basemap [ERROR]: Option -L: Not allowed for Cartesian projections

without seeing the code: basemap [ERROR] message indicates you might need to double check your basemap call options.
