GeoJSON from image metadata
Project description
im2geojson
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
Simply set the input_directory
to your image folders with --input_directory
or -i
:
python -m im2geojson -i <path-to-image-folders>
Image folders are parsed to GeoJSON FeatureCollections, images are parsed to GeoJSON Features.
GeoJSON files are saved to output_directory
in a folder named geojson
.
The default is ./assets/geojson
.
Options
Save Images
--save_images
or -s
will save images stripped of metadata:
python -m im2geojson -i <path-to-image-folders> -s
Images are saved to output_directory
in a folder named images
.
The default is ./assets/images/
.
Save Thumbnails
--save_thumbanails
or -t
will save image thumbnails:
python -m im2geojson -i <path-to-image-folders> -t
Thumbnails are saved to output_directory
in a folder named images
.
The default is ./assets/images/
.
Output Directory
-o
or --output_directory
will set the output_directory
:
python -m im2geojson -i <path-to-image-folders> -o <output_directory>
For example, to set the output_directory
to ./output
:
python -m im2geojson -i <path-to-image-folders> -o ./output
API Documentation
Take a look at the API Documentation if you would like to use im2geojson in your own code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for im2geojson-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09ee131b75e224a9463a7626dee711e93058c46e094bca2fddbb92bfeeb491e |
|
MD5 | 524e549eadac9005b1235a7fb341fe88 |
|
BLAKE2b-256 | 5ddbb70925c644ae9b0aedc30da52eea218fc1efc86522b82d080f37e1fb3823 |