A django project for transforming coordinates between the various Coordinate Systems used in Greece. You can try the app at https://www.survo.gr
It is (will be for the time being) a website / web api for transforming earth point coordinates and other geometries between:
- GGRS87 / TM87 (EPSG:2100 and EPSG:4121)
- Old Greek Datum (EPSG:4815)
- Various HATT projections with respect to the Old Greek Datum using the published coefficients by OKXE
- TM3 zone projections with respect to the Old Greek Datum
- ED50 / UTM (EPSG:4230, EPSG:23034, EPSG:23035)
- WGS84 (EPSG:4326)
- The new HTRS07 / TM07 using the accurate transformation published by Hepos
Prerequisites:
- python 3.8 and virtualenv setup for backend
- nodejs and npm for frontend
To install and run the project locally:
- Make a fresh python 3 virtual environment
pip install -r requirements.txt
for the back-end dependencies- Add a simple text file named ".env" with some environment values for
- DJANGO_SECRET_KEY=addasecretkeyhere
- DATABASE_URL=sqlite:///survgr.db
- SURVGR_DEBUG=True
python manage.py migrate
to create an sqlite db with some initial data- Run
python manage.py test
for testing - Prepare the front-end:
cd frontend
npm install
to install front-end dependencies locallynpm run build
to build the front-end files- or
npm run watch
to run the front-end server
- Run
python manage.py collectstatic
- Run
python manage.py runserver
to run the back-end server