im2geojson


Nameim2geojson JSON
Version 0.1.9 PyPI version JSON
download
home_pageNone
SummaryGeoJSON from image metadata
upload_time2024-03-28 16:33:31
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords geojson image gps metadata
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            im2geojson
==========


[![Unittests](https://github.com/MJBishop/im2geojson/actions/workflows/test.yml/badge.svg)](https://github.com/MJBishop/im2geojson/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/MJBishop/im2geojson/graph/badge.svg?token=9C03IBN0Z3)](https://codecov.io/gh/MJBishop/im2geojson)



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

<br>

Installation
------------
The recommended way to install im2geojson is via pip:

    pip install im2geojson

<br>

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`

<br>


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/`
  
<br>

### 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/`
  
<br>

### Output Directory

`-o` or `--output_directory` will set the `output_directory`:

    python -m im2geojson <path-to-image-folders> -o <output_directory>

<br>

For example, to set the `output_directory` to `./output`:

    python -m im2geojson <path-to-image-folders> -o ./output

<br>


API Documentation
-----------------
Take a look at the [API Documentation](https://mjbishop.github.io/im2geojson/im2geojson.html) if you would like to use im2geojson in your own code.

<br>


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "im2geojson",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "GeoJSON, Image, GPS metadata",
    "author": null,
    "author_email": "Michael Bishop <mbishop@tutanota.com>",
    "download_url": "https://files.pythonhosted.org/packages/a1/ec/d4113c145cf328a8c182e0b5e00b44ac6185951d737e41e2827eb20f2a30/im2geojson-0.1.9.tar.gz",
    "platform": null,
    "description": "im2geojson\n==========\n\n\n[![Unittests](https://github.com/MJBishop/im2geojson/actions/workflows/test.yml/badge.svg)](https://github.com/MJBishop/im2geojson/actions/workflows/test.yml)\n[![codecov](https://codecov.io/gh/MJBishop/im2geojson/graph/badge.svg?token=9C03IBN0Z3)](https://codecov.io/gh/MJBishop/im2geojson)\n\n\n\nim2geojson is a python package for parsing GeoJSON from image metadata.\n\n<br>\n\nInstallation\n------------\nThe recommended way to install im2geojson is via pip:\n\n    pip install im2geojson\n\n<br>\n\nUsage\n-----\n\nSimply set the `input_directory` to the path to your image folders:\n\n    python -m im2geojson <path-to-image-folders>\n\n\n* Image folders are parsed to GeoJSON FeatureCollections\n  \n* Images are parsed to GeoJSON Features.\n  \n* GeoJSON files are saved to `output_directory` in a folder named `geojson`\n  \n* The default is `./assets/geojson`\n\n<br>\n\n\nOptions\n-------\n\n### Save Images\n\n`--save_images`  or  `-s`  will save images stripped of metadata:\n\n    python -m im2geojson <path-to-image-folders> -s\n\n* Images are saved to `output_directory` in a folder named `images`\n\n* The default is `./assets/images/`\n  \n<br>\n\n### Save Thumbnails\n\n`--save_thumbanails`  or  `-t`  will save image thumbnails:\n\n    python -m im2geojson <path-to-image-folders> -t\n\n* Thumbnails are saved to `output_directory` in a folder named `images`\n\n* The default is `./assets/images/`\n  \n<br>\n\n### Output Directory\n\n`-o` or `--output_directory` will set the `output_directory`:\n\n    python -m im2geojson <path-to-image-folders> -o <output_directory>\n\n<br>\n\nFor example, to set the `output_directory` to `./output`:\n\n    python -m im2geojson <path-to-image-folders> -o ./output\n\n<br>\n\n\nAPI Documentation\n-----------------\nTake a look at the [API Documentation](https://mjbishop.github.io/im2geojson/im2geojson.html) if you would like to use im2geojson in your own code.\n\n<br>\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "GeoJSON from image metadata",
    "version": "0.1.9",
    "project_urls": {
        "Documentation": "https://mjbishop.github.io/im2geojson/im2geojson.html",
        "Homepage": "https://pypi.org/project/im2geojson/",
        "Repository": "https://github.com/MJBishop/im2geojson"
    },
    "split_keywords": [
        "geojson",
        " image",
        " gps metadata"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e17060b2610b47ad71f425d642273d99b0d26dd062086cae37181f1eff6c13c",
                "md5": "2a6a1ceaa9a8c856dd9b8aeea9db4132",
                "sha256": "1560909201fe9f37e2fb1930f0f5402fe3657c6b61836b26368a40f84a6b12cd"
            },
            "downloads": -1,
            "filename": "im2geojson-0.1.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2a6a1ceaa9a8c856dd9b8aeea9db4132",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 10605,
            "upload_time": "2024-03-28T16:33:30",
            "upload_time_iso_8601": "2024-03-28T16:33:30.445885Z",
            "url": "https://files.pythonhosted.org/packages/6e/17/060b2610b47ad71f425d642273d99b0d26dd062086cae37181f1eff6c13c/im2geojson-0.1.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1ecd4113c145cf328a8c182e0b5e00b44ac6185951d737e41e2827eb20f2a30",
                "md5": "e0510beea27e257fa61ec82cadd02a9c",
                "sha256": "983a4c842b89192e9d2c50bd002fcf6ec375289ddf4f8b64f6bd9e7b28aa679f"
            },
            "downloads": -1,
            "filename": "im2geojson-0.1.9.tar.gz",
            "has_sig": false,
            "md5_digest": "e0510beea27e257fa61ec82cadd02a9c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 13450,
            "upload_time": "2024-03-28T16:33:31",
            "upload_time_iso_8601": "2024-03-28T16:33:31.599996Z",
            "url": "https://files.pythonhosted.org/packages/a1/ec/d4113c145cf328a8c182e0b5e00b44ac6185951d737e41e2827eb20f2a30/im2geojson-0.1.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-28 16:33:31",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MJBishop",
    "github_project": "im2geojson",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "im2geojson"
}
        
Elapsed time: 0.23486s