Skip to content

mapilio/MapSyncer

Repository files navigation

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

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

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! 🌍