Skip to main content

A toolkit to download and upload the data from KartaView to Mapilio

Project description

MapSyncer

This repository provides a streamlined process for downloading user images from Kartaview and uploading them to Mapilio.

Please, follow the steps below to get started:

Workflow

The download command follows these steps below:

  1. Authenticate the user with OpenStreetMap (OSM) account via Kartaview.
  2. Get the list of sequences uploaded by the user.
  3. Download all images and metadata for each sequence.
  4. Authenticate for Mapilio.
  5. You can select the specific sequences you want to upload to Mapilio or all downloaded sequences.
  6. And the process ends successfully.

Don't worry, run.py will lead all this for you 💫.

Install dependencies

MapSyncer depends on the following libraries that need to be installed before building it.

  • Mapilio Kit In case you would like to follow the manual way you should install mapilio-kit manually.
  • Exiftool

Pip Installation and Usage

You may simply install and use the MapSyncer by using these commands below;

# Installation
pip install mapsyncer

# CLI Usage
RunMapSyncer

Manual Installation

  1. Clone the MapSyncer repository:
git clone https://github.com/mapilio/MapSyncer.git
cd MapSyncer
  1. Create Virtualenv (Optional):
python -m venv mapsyncer_env

# Ubuntu 
source mapsyncer_env/bin/activate

# Windows
mapsyncer_env/Scripts/activate
  1. Install the required dependencies:
pip install -r requirements.txt

Usage

The whole process will take place in one line

cd MapSyncer

python run.py

Then you can start the whole process by giving the folder path where you would like to download your images 💥.

Clean Up

If you need to remove and uninstall everything except images, please refer to the Clean Up instructions.

Contributing

If you encounter issues or have suggestions for improvements, please report them on the GitHub repository 🚀.

License

This project is licensed under the MIT License.

Contributions and Contact

Feel free to reach out GitHub Issues if you have any questions, contribution idea or need further assistance!

Mapilio is everywhere in the world! 🌍

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mapsyncer-0.0.5.tar.gz (29.5 kB view details)

Uploaded Source

Built Distribution

mapsyncer-0.0.5-py2.py3-none-any.whl (35.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mapsyncer-0.0.5.tar.gz.

File metadata

  • Download URL: mapsyncer-0.0.5.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for mapsyncer-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c4149f4f7c90552efe9be2a650512ed4b85040ef8361c24fd5fe3548e5a13b3d
MD5 5b60df2e799874fd056c8390214a6bdd
BLAKE2b-256 4a20066a89f2e05eb96c8e08ef915aaaf413d8e0afabb128e2260af33fbdb61c

See more details on using hashes here.

File details

Details for the file mapsyncer-0.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: mapsyncer-0.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for mapsyncer-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8fbe0ac6e7a48838aa9dd81a8a1326dcc1650a659d4cd41c32d7fcfbf74e15f6
MD5 b3a503a3bdbd47ad71d57d73409cd8f4
BLAKE2b-256 22315952e05c795c7e2aca6f5eb3aae6d92ea90ab7e0b0ec6958d5201d7318d0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page