# geotiff-epsg-code

> Get the EPSG Code for a GeoTIFF.

Latest version **0.3.1** (published 2023-07-05) · CC0-1.0 license · 0 weekly downloads

## Install

```sh
npm install geotiff-epsg-code
pnpm add geotiff-epsg-code
yarn add geotiff-epsg-code
bun add geotiff-epsg-code
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2023-07-05 |
| First published | 2022-10-09 |
| Weekly downloads | 0 |
| License | CC0-1.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 11.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel J. Dufour |
| Maintainers | danieljdufour |
| Keywords | crs, esri, geotiff, projection, srs |

## Links

- npm: https://www.npmjs.com/package/geotiff-epsg-code
- Repository: https://github.com/GeoTIFF/geotiff-epsg-code
- Homepage: https://github.com/GeoTIFF/geotiff-epsg-code#readme
- Issues: https://github.com/GeoTIFF/geotiff-epsg-code/issues
- npm.io page: https://npm.io/package/geotiff-epsg-code

## Dependencies (1)

- [get-epsg-code](https://npm.io/package/get-epsg-code.md) ^1.1.0

## Recent versions

- 0.3.1 (latest) — 2023-07-05
- 0.3.0 — 2023-07-04
- 0.2.0 — 2022-10-24
- 0.1.0 — 2022-10-22
- 0.0.2 — 2022-10-09
- 0.0.1 — 2022-10-09

## README

# 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
```bash
npm install geotiff-epsg-code
```

# usage
```js
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
```

---
_Source: https://npm.io/package/geotiff-epsg-code · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
