Grid2LatLon is a helpful tool to bulk convert between the different location coordinate systems used in Ireland - Irish Grid References, XY (Easting,Northing) and LatLon.
It is built using the Python Python Dash web framework and makes use of the pyproj cartographic projections and coordinate transformations library. PyProj does not have an api for converting to between Irish Grid References and XY coordinates, for which conversion scripts were developed.
Generate your own MAPBOX_TOKEN and set it as an environmental variable on your machine.
export MAPBOX_TOKEN=<your_mapbox_token>
Clone the repository and install dependencies.
git clone https://github.com/dancasey-ie/Grid2LatLon
cd Grid2LatLon
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.
If you have both docker and docker-compose installed then:
docker-compose up -d
If you have docker installed then:
docker build -t grid2latlon .
docker run -it -p 8080:8080 -e MAPBOX_TOKEN=${MAPBOX_TOKEN} --name grid2latlon grid2latlon
python -m venv ./env
source env/bin/activate # for windows: env/Scripts/activate
pip install -r dash_app/requirements.txt
python dash_app/app.py
Dan Casey