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.

Pip Installation and Usage

Note: To install MapSyncer, you'll need to have Python and Pip installed on your system. Ensure you have Python version above 3.6 but below 3.12. If you meet these criteria, please run the following commands:

# Installation
pip install mapsyncer

# CLI Usage
RunMapSyncer

Once RunMapSyncer is running, https://127.0.0.1:5050 will open in your default web browser.

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

Once RunMapSyncer is running, https://127.0.0.1:5050 will open in your default web browser.

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.2.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

mapsyncer-1.0.2-py2.py3-none-any.whl (1.2 MB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: mapsyncer-1.0.2.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for mapsyncer-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6b969b43f6f67cef94880c38d966f578000e9e22f94ff32ae0c46509b6577e22
MD5 13fa16fc0cdd4ba38e5dcb62d2de27e4
BLAKE2b-256 68d6623d7d3b56aecb0c4ef848bd04508c04c469ae82c58147975ec503a39cd1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mapsyncer-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for mapsyncer-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2c43f00d5761dab12a9140a1c9f0b84c1b17e0c7db63bdfe74614eb929a58359
MD5 3d81bb6015f769094054fd5b74b0c949
BLAKE2b-256 bc3a6b116a3251c7259ee6986a580ac9a86b4abd42f354ce8239a487d53304f8

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