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_directoryin 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_directoryin 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_directoryin 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.
Metadata
Release files for im2geojson 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| im2geojson-0.2.1.tar.gz | 13.9 kB | Without provenance | Details for im2geojson-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| im2geojson-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for im2geojson-0.2.1-py3-none-any.whl |
Total release size: 24.7 kB
Release files / im2geojson-0.2.1.tar.gz
| Download URL | im2geojson-0.2.1.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7e411701be1157797b0c5ef163c61608caff3e4b34f88239aef98c943be0f51d
|
|
BLAKE2b-256 checksum How to use checksums |
f3a879cf12d229df919e0f6ed7ac9dcadf5239256ea06575f2aee301fcedf0da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Release files / im2geojson-0.2.1-py3-none-any.whl
| Download URL | im2geojson-0.2.1-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9c73b6e3c0f4afd5e5812a25501af9dd864990e0f0654057adf53f83c553a75b
|
|
BLAKE2b-256 checksum How to use checksums |
3ad1915e49a050e3c240414d05ba42ada066918066fd2f80ca50c0d3c9c14d23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Security for im2geojson 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.