Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.51 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.51 KB

Batch Coordinate Converter

Batch Coordinate Converter is Python Dash user interface to batch convert coordinates using any transformation available in pyproj.

This is an old project that I keep live. A lot could be improved in the code, but I have not found the time to update.

Requirements

Generate your own MAPBOX_TOKEN and set it as an environmental variable on your machine.

export MAPBOX_TOKEN=<your_mapbox_token>

Getting Started

Clone the repository and install dependencies.

git clone https://github.com/dancasey-ie/batch-coordinate-converter-dash
cd batch-coordinate-converter-dash

You can run the application using docker-compose, docker or as a python application, each detailed below.

For each of the methods below the app will be running at localhost:8080.

Using docker-compose.yml

If you have both docker and docker-compose installed then:

docker-compose up -d

Using Dockerfile

If you have docker installed then:

docker build -t batch-coordinate-converter .
docker run -it -p 8080:8080 -e MAPBOX_TOKEN=${MAPBOX_TOKEN} --name batch-coordinate-converter

Using Python (venv)

python3 -m venv ./env
source bin/activate
pip install -r dash_app/requirements.txt
python dash_app/app.py

Contributing

Dan Casey