Skip to content

gdal raster blend - throws error when --color-map /tmp/color.txt is not in current directory #14732

@PostholerCom

Description

@PostholerCom

What is the bug?

If color.txt is not in the current directory, gdal throws the following error, however, the command completes successfully. If color.txt is in the current directory, no error.

gdal raster pipeline \
   ! create --size 400,400 --burn 128 --crs EPSG:4326 --bbox -1,-1,1,1 \
   ! blend --overlay [ \
      ! create --size 400,400 --crs EPSG:4326 --bbox -1,-1,1,1 --burn 64 \
      ! color-map --color-map /tmp/color.txt --add-alpha \
   ] \
   ! write -o tst.png --overwrite

0...10...20...30...40...50...60...70...80...90...100 - done.
ERROR 4: Failed to open [ ! create --size "400,400" --crs EPSG:4326 --bbox "-1,-1,1,1" --burn 75 ! color-map --color-map /tmp/color.txt --add-alpha ] to write.

Thanks!

Steps to reproduce the issue

see above

Versions and provenance

Debian 12
GDAL 3.14.0dev-55b7b5eae2, released 2026/06/04

Additional context

No response

Metadata

Metadata

Assignees

Labels

not for AI loversSee https://gdal.org/en/stable/community/ai_tool_policy.html

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions