Skip to main content

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

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 named geojson

  • 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 named images

  • 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 named images

  • 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)

Source distribution for im2geojson 0.2.1
File Size Uploaded
im2geojson-0.2.1.tar.gz 13.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for im2geojson 0.2.1
File Interpreter ABI Platform
im2geojson-0.2.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page