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 the path to your image folders:
python -m im2geojson <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 namedgeojson
-
The default is
./assets/geojson
Options
Save Images
--save_images
or -s
will save images stripped of metadata:
python -m im2geojson <path-to-image-folders> -s
-
Images are saved to
output_directory
in a folder namedimages
-
The default is
./assets/images/
Save Thumbnails
--save_thumbanails
or -t
will save image thumbnails:
python -m im2geojson <path-to-image-folders> -t
-
Thumbnails are saved to
output_directory
in a folder namedimages
-
The default is
./assets/images/
Output Directory
-o
or --output_directory
will set the output_directory
:
python -m im2geojson <path-to-image-folders> -o <output_directory>
For example, to set the output_directory
to ./output
:
python -m im2geojson <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
File details
Details for the file im2geojson-0.2.0.tar.gz
.
File metadata
- Download URL: im2geojson-0.2.0.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88849aae2abfeceaa6ec474eb6d02b202b42f3f69e4c83c02c0b948cbd9f7467 |
|
MD5 | 802c501ed75715c75b18ef4dce33d733 |
|
BLAKE2b-256 | a9f09b5eabe2055d44ad30691ccf1590ee2c2ff5e3a183e8a0ddbe6e65e38389 |
File details
Details for the file im2geojson-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: im2geojson-0.2.0-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c9c3316d0f0a124f57fbe60d09af42cf02bcfc228f05a5939f9931078f04381 |
|
MD5 | 72cdd9ed957ed96a54d6c4e28661826f |
|
BLAKE2b-256 | dc259963702f75259154825a8c65f948b61fa78273c241ed5055052e0deab714 |