On Thu, Jun 4, 2020 at 5:16 AM Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
I did it as a kata as fast as I could â¦
https://github.com/Ducasse/ESRI-ASCII-Raster
I found the spec a bit strange
yes this is a very old format ...
The header information is followed by cell value information specified in space-delimited row-major order, with each row separated by a carriage return. and
- No carriage returns are necessary at the end of each row in the raster. The number of columns in the header determines when a new row begins.
O_o
so I followed the example on wikipedia
It was fun. My implementation could be more robust but for 2 hours coding. It was a fun kata.
Would you want to share your work during our next CORMAS meeting, Friday? Regards, -- Serge Stinckwic h https://twitter.com/SergeStinckwich