tlaukkanen / mobile-trail-explorer

Automatically exported from code.google.com/p/mobile-trail-explorer
2 stars 0 forks source link

wrong offset at MTEfileCache #172

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create MTEfileCache in tah-format for several zoomlevels with
cachecreator v0.02
2.
3.

What is the expected output? What do you see instead?
MTEfileCache which can be read by MTE

What version of the product are you using? On what operating system?
cachecreator v0.02

Please provide any additional information below.
when crating MTEfileCache with the cachcreator, it resets the offset (to
zero) for the tiles when zoomlevel changes. Thus the MTE can't handle the
MTEfileCache correctly (leads to wrong read-positions).
Therefore I've added an corrective offset-calculation at Tile.unserialize()

Original issue reported on code.google.com by andreas....@gmx.at on 7 Apr 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Do you have a patch for this?

Original comment by gdjo...@gmail.com on 11 Aug 2009 at 8:05

GoogleCodeExporter commented 9 years ago
I've attached my modified file.
Just the variable "newTileOffset" and it's calculation is relevant. Added at
"unserialize()".
I think I've also added some testoutput to this file.

Original comment by andreas....@gmx.at on 11 Aug 2009 at 11:19

Attachments: