Fridger wrote:
-- you searched for zero elevations in the 84k SRTM_ramp2.bin file using simple custom code?
-- you replaced the zero elevations by 0xff (white) and every other 2 byte elevation by 0x00 (black)?
That's almost correct. The code read every 2 byte integer. Zeros were replaced with 3 characters "0xffffff" and everything else "0x000000". The output was ppm raw. Then I changed it to grayscale with the gimp. That's all I did. This spec map has no rivers or lakes. Not yet anyway.
As far as Antartica, If you think of A1 thru D2, each divided by 4, thats 32 tiles. I used the bottom 8 from the spec map I did by color search from the base texture. The code that I posted in Fightspits thread.
I sent a few lines from that section (Antartica)to the terminal while the program was running and it steps up from 1 to 30 in that area. A long sequence of 1's, then 2's and so on till it peaks at 30 then goes back down to 1. There was nothing I could do with it so I just replaced that section.
I was thinking of writing some code that would tile the SRTM map and look at each section for flat areas or thin areas that step up or down by 1.
And then put it all back together. I'm miles away from that though. My main problem is I'm not used to the C++ language. Most of the programs I wrote were in COBOL or Assembler. And that was over 20 years ago. They had ways of defining data that is a lot different then the way C++ does. But I'm learning.
julesstoop wrote:
I live in the Netherlands, and the green land areas that turn sort of light cyan in Holland and Northern Germany with the spec map switched on, are wrong. Most, if not al of those areas are dry land.
That's what I thought. There are many areas like that. That land may be at zero elevation but it is drained and maintained as dry land. Also there are areas where the water is held back buy sea walls.
There is a similar problem around New Orleans. And many other places.
Oh well, Back to drawing board.
GlobeMaker wrote:
It looks very good. I checked a paper Atlas of the Chesapeake Bay and
at the scale shown on your images, everything matches very well. There
will always be swamps and tidal flats that are variable. Some flat lands
may be dry in one year, and they will be wet in other years. After a
heavy rainstorm, flat land can reflect with significant brightness, even if it
is not a lake. Dry lakes can be flooded by a wet season.
There are many places that are perfect. Then there are many places that are less than perfect. My main concern are the places that have been drained and are maintained as dry land. It does look better than the heavy dark lines along the coast from the BMNG watermask map. But it's still just a start.
cartrite