Skip to content

CLI tool to convert a GeoTIFF image into a GeoJSON FeatureCollection of Point features

Notifications You must be signed in to change notification settings

jeremiak/geotiff2geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geotiff2geojson

geotiff2geojson on NPM

Convert a GeoTIFF image into a GeoJSON FeatureCollection of Point features.

Usage: geotiff2geojson [options]

Options:
  -b, --band <index>         The band that contains the data (default: 0)
  -f, --filter <expression>  Filter out features, value is assigned to "d"
  -i, --input <file>         GeoTIFF file
  -o, --output <file>        GeoJSON file to write, standard out used if missing
  -p, --proj <projection>    Projection to use (default: "WGS84")
  -v, --verbose              Provide more detailed output, use with -o only
  --pretty-print             Pretty-print GeoJSON
  -h, --help                 display help for command

Installation

npm install -g geotiff2geojson

If you want to do development or install from main, you can run the following steps:

  1. git clone [email protected]:jeremiak/geotiff2geojson.git
  2. cd geotiff2geojson
  3. npm install
  4. npm link

You should now be able to use geotiff2geojson as a CLI tool anywhere. Let me know how it goes!

About

CLI tool to convert a GeoTIFF image into a GeoJSON FeatureCollection of Point features

Resources

Stars

Watchers

Forks

Packages

No packages published