garrettsickles / hgt2png Goto Github PK
View Code? Open in Web Editor NEWConvert SRTM HGT raster to a subset PNG rasters
License: Apache License 2.0
Convert SRTM HGT raster to a subset PNG rasters
License: Apache License 2.0
As you already pointed out, this program maps the color #000000
to the lowest point of the HGT file and #FFFFFF
to the highest point. This is certainly useful, but if you want to combine multiple HGT images with different height ranges, this feature becomes a problem.
So, could you add a command-line argument that allows you to specify whether you want the PNG to use colors depending on the height range of the HGT file (grayscale) or to use globally defined colors which are identical between the converted files? For example, the color value #7F7F7F
(medium gray) could be 0 meters above sea level, so would #7F7F80
be 1 meter above sea level and so on. When using non-grayscale colors, every height from the Mariana Trench to the summit of Mount Everest should be covered.
Since I have no clue about C++ and was hardly able to build this program, I can't implement it myself. Thank you for your help!
Hello, I'm trying to build your program, but get this error. Seems like it's not supported on Windows. Is there a way to make it work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.