Skip to main content

GeoJSON from image metadata

Project description

im2geojson

Unittests codecov

im2geojson is a python package for parsing GeoJSON from image metadata.

Installation

The recommended way to install im2geojson is via pip:

pip install im2geojson

Usage

From the parent directory of your image folders:

python -m im2geojson
  • Any Images from ./
  • Image folders are parsed to GeoJSON FeatureCollections
  • Images are parsed to GeoJSON Features
  • Parsed GeoJSON will be saved in ./assets/geojson

Options

-i or --in_dir_path - Set the input path:

python -m im2geojson -i <path-to-image-folders>

-o or --out_dir_path - Set the output path:

python -m im2geojson -o <path-to-output>

-s or --save_images - Save images stripped of metadata:

python -m im2geojson -s
  • Images saved in ./assets/images/

-t or --save_thumbanails - Save image thumbnails:

python -m im2geojson -t
  • Thumbnails saved in ./assets/images/

-h or --help - Display help:

python -m im2geojson -h

API Documentation

Examples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

im2geojson-0.1.4.tar.gz (11.8 kB view hashes)

Uploaded Source

Built Distribution

im2geojson-0.1.4-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page