img: Fix coordinate conversion loading CMAP data
commita3594e0fc35b3e254ead6b48e0b0d2427bd425cc
authorOlly Betts <olly@survex.com>
Thu, 27 Jun 2024 04:31:29 +0000 (27 16:31 +1200)
committerOlly Betts <olly@survex.com>
Thu, 27 Jun 2024 04:42:11 +0000 (27 16:42 +1200)
tree6093208df03090bfa9b3a3b752aef9a66c42f97b
parentc009b32ae8cbe95fa8f02aee62ca5487581fe0fe
img: Fix coordinate conversion loading CMAP data

The coordinates in CMAP data are in feet but we were dividing rather
than multiplying by the conversion factor to get metres so all
coordinates were about 10.76 times too large.
doc/TODO.htm
src/img.c
tests/Makefile.am
tests/cmap.dump [new file with mode: 0644]
tests/cmap.sht [new file with mode: 0644]
tests/dump3d.tst