Opened 14 years ago
Closed 5 years ago
#3612 closed enhancement (wontfix)
gdaldem hillshade transparency
Reported by: | Kurt Schwehr | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | default | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
"gdaldem color-relief -alpha -co ALPHA=YES" works great, but there is no built in way to do the same with hillshades. I wrote some python code to pull the transparency from the color-relief file into a hillshade image, but gdaldem hillshade should have the same proper transparency handling. The hillshade that is produced does have transparency, but it is only a 1 pixel border.
examples:
http://vislab-ccom.unh.edu/~schwehr/gdal/
You can see the end 50% gray that makes it through in the final result:
http://schwehr.org/blog/attachments/2009-12/bag-googleearth-demo.png
The script that I've been using (without my new python transparency code):
http://vislab-ccom.unh.edu/~schwehr/software/bag-py/bags_to_kml.bash
Change History (2)
comment:1 by , 14 years ago
Type: | defect → enhancement |
---|
comment:2 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.