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

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

Don't worry, the RunMapSyncer command will check and do all these operations. 💫

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

When accessing the provided address, you may encounter a security warning stating "Your connection is not private" in your web browser. To proceed, please click the "Advanced" button and select the option to continue to the site. This warning is due to the SSL certificate currently being in the process of approval and will be validated shortly.

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 & MacOS
source mapsyncer_env/bin/activate

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

Usage

The whole process will take place in one line

RunMapSyncer

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-1.0.0.tar.gz (44.9 kB view details)

Uploaded Source

Built Distribution

mapsyncer-1.0.0-py2.py3-none-any.whl (56.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: mapsyncer-1.0.0.tar.gz
  • Upload date:
  • Size: 44.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for mapsyncer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 af6a665ea6e93c231718ecf32f4a0b5d49c05bb475353ce6267108ae93f73b90
MD5 381a20bff3b29df37e9b31e991f78346
BLAKE2b-256 30d3d80c09e01f60203b2cd3db11b03a5d13807db53cb41026c75579e4223fc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mapsyncer-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 56.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for mapsyncer-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c1cc8312937c43200a0f848208184c56ed42ee3748071bdf5d1e5241de0fc907
MD5 33abe7f555bce575a9f03a2818ed8b61
BLAKE2b-256 2e355cb902932f56501057481776a1fc232a263a3dbecf9725d77249ea459a5b

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