geotiff-epsg-code
TypeScript icon, indicating that this package has built-in type declarations

0.3.1 • Public • Published

geotiff-epsg-code

Get the EPSG Code for a GeoTIFF.

why

ESRI software often doesn't use standards. A GeoTIFF file will sometimes have an ESRI Well-Known Text string baked into its metadata, but no EPSG Code set. This library will do the work for you of finding a valid EPSG code corresponding to the projection information.

install

npm install geotiff-epsg-code

usage

import { fromUrl } from "geotiff";
import get_epsg_code from "geotiff-epsg-code";

const tif = await fromUrl("https://example.org/satellite_imagery.tif");

await get_epsg_code(tif);
32617

Package Sidebar

Install

npm i geotiff-epsg-code

Weekly Downloads

80

Version

0.3.1

License

CC0-1.0

Unpacked Size

11.7 kB

Total Files

6

Last publish

Collaborators

  • danieljdufour