terrain50

    1.10.0 • Public • Published

    terrain50

    Library for parsing Ordnance Survey Digital Elevation Model files

    I'm handing a number of different Ordnance Survey Digital Elevation Model files (in the ASCII Esri Grid format as far as I understand) as part of my PhD. This library is the result of the surprisingly extensive code I wrote to handle them.

    While it's a relatively simple format to understand, it's completely terrible for disk space usage:

    ncols 2400
    nrows 4000
    xllcorner 550000
    yllcorner 220000
    cellsize 50
    NODATA_value -9999
    86 77 76 79 (.....)
    

    This package makes it bearable. See also terrain50-cli, the command-line interface for this library.

    Install

    Install via npm:

    npm install terrain50 --save

    Usage

    The full API documentation can be found here: (TODO: Insert a link here)

    Read-world use

    • I'm using it for the main Node.js application for my PhD in Computer Science!
    • (Are you using this project? Get in touch by opening an issue)

    Contributing

    Contributions are welcome as PRs! Don't forget to say that you donate your contribution under the Mozilla Public License 2.0 in your PR comment.

    Licence

    This project is licensed under the Mozilla Public License 2.0. See the LICENSE file in this repository for the full text.

    Install

    npm i terrain50

    DownloadsWeekly Downloads

    14

    Version

    1.10.0

    License

    MPL-2.0

    Unpacked Size

    63.7 kB

    Total Files

    17

    Last publish

    Collaborators

    • sbrl