tiles altitudes fixed

The file `../data/tilesAltitudes.json` may not exist. This code is meant to make the project work even when there is no way to correct z.