Commit Graph

6 Commits (master)

Author SHA1 Message Date
Gael-de-Sailly 0ec8729160 Added button to set region coords to full-size 2018-02-21 22:12:08 +01:00
Gael-de-Sailly 5c3246f62c Added logs for image converter 2018-02-21 21:14:57 +01:00
Gael-de-Sailly bb86f054e0 Added ability to define map projection
if it can't be detected automatically.
2018-02-20 17:36:31 +01:00
Gael-de-Sailly 7f187fc565 Added support for landcover file on Python side.
It's now able to generate the database with landcover data.
Not implemented on Lua side for now.
2018-02-20 11:59:50 +01:00
Gael-de-Sailly 5ee88896cf Change read map function:
It's now based on a reference image (usually the heightmap),
whose projection is used for other images,
unless it's specified to reproject the image.
2018-02-19 12:32:01 +01:00
Gael-de-Sailly 570ac21cd4 Reorganize the code
Split up in 5 Python files:
- image_convert.py: main file, containing the GUI
- map_transform.py: projections, map reading, etc.
- geometry.py: small helper for map_transform.py
- database.py: generate the database
- rivers.py: the river algorithm
And various modifications.
It's now working even if it's still buggy and not documented.
2018-02-19 01:19:03 +01:00