@geonet/gdal-pixel-to-coordinate

1.0.4 • Public • Published

@geonet/gdal-pixel-to-coordinate

Extract coordinates from a pixel gdal dataset.geoTransform

Usage

const gdal                  = require( 'gdal' );
const gdalPixelToCoordinate = require('@geonet/gdal-pixel-to-coordinate');

const dataset = gdal.open( path.join( __dirname, './sample.tif' ) );
const coords  = gdalPixelToCoordinate( dataset, 0, 0 );

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i @geonet/gdal-pixel-to-coordinate

    Weekly Downloads

    0

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    3.21 kB

    Total Files

    4

    Last publish

    Collaborators

    • codebuddha
    • putipong