| View previous topic :: View next topic |
| Author |
Message |
start78
Joined: 17 Oct 2007 Posts: 186
|
Posted: Sat Jan 12, 2008 6:15 pm Post subject: |
|
|
OK...
All i'm asking for is some help with a tool that even is mentioned topmost in TBs wiki. I didn't write it, i just want to help the developer making it better.
I really didn't want to start a debate about principles.
On Topic again:
Can anyone think of a solution for the problem? How can the projection info be included in gm2tb-maps?
Does mapexplore suffer from the same bug? If not: what did the gm2tb-creator do wrong when he tried to reverse engineer from mapexplore?
_________________ Nokia 5800XM (FW 21.0.025 T-Mobile Ger) / TB 0.9.89 / Atlas by TBAC |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Wed Jan 16, 2008 9:49 am Post subject: |
|
|
Off-topic: I even had to fallback to aerial VirtualEarth maps in the summer since I could not find and get any map (hiking, road, ...) for the locality I travelled to.
On-topic: I'm on this issue again - I'm sure we'll be able to solve it together.
Peace
k.
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
|
| Back to top |
|
 |
start78
Joined: 17 Oct 2007 Posts: 186
|
Posted: Wed Jan 16, 2008 3:56 pm Post subject: |
|
|
Just created a map of germany. Zoom level is 5 steps from minimum (whole earth).
In the .map-file file the first line just says
| Code: |
| Map Projection,Mercator |
No space before "Mercator", no further text.
The map shows a position about 15km south from where i'm standing (nearly in the middle of germany). Adding ", PolyCal, No, AutoCalOnly, No, BSBUseWPX, No" after "Mercator" makes no difference. And changing the data just "places" me 1-2km away from WGS 84 position. A map of the same scale but with my position in the upper left corner shows the same wrong position.
Come to think about it: the point tb shows is always moved southwards (the larger the map, the further away). Could it be that the pictures gmaps throws out are not exactly calibrated? Perhaps the calibration data for the northern value just have to be corrected a few decimals according to the zoom level?
Maybe this would be a bit "dirty" but it could solve the problem. At least if everyone experiences the same southward misplacement, no matter where in the world he is standing...
_________________ Nokia 5800XM (FW 21.0.025 T-Mobile Ger) / TB 0.9.89 / Atlas by TBAC |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Wed Jan 16, 2008 4:15 pm Post subject: |
|
|
I was sooo happy
Please first check Info->Technical->Map for correct datum and projection. If it is ok, could you share the map with me (eg. via rapidshare.com) or show a screenshot of http://gm2tb.awokenmind.de/ screen after setup?
|
|
| Back to top |
|
 |
start78
Joined: 17 Oct 2007 Posts: 186
|
Posted: Wed Jan 16, 2008 5:48 pm Post subject: |
|
|
It seems the developer has a solution!
He created gm2tb based on mapexplore (like i said some times). In mapexplore there is a certain value (don't ask me) recalculated based on what zoom level you use. This recalculation is only used up to a zoom-level of 4. He's looking to find out how this correction works and tries to reconstruct it for zoom-levels >4. Let's hope the best!
One thing that might be misunderstood in my previous post:
| Quote: |
| ...changing the data just "places" me 1-2km away from WGS 84 position |
Changing the datum in tb settings doesn't necessarily make it better. It can also place me 2km to the east...
And now, just for completeness reasons:
Info->Technical->Map says:
datum: WGS84{WGS 84,0.0,0.0,0.0};projection: Mercator{}
And here's the map:
http://rapidshare.com/files/84299049/deutschland.tar.html
(During testing my tb freezed two times when i didn't touch it for about 30secs. Will keep an eye on that!)
_________________ Nokia 5800XM (FW 21.0.025 T-Mobile Ger) / TB 0.9.89 / Atlas by TBAC |
|
| Back to top |
|
 |
start78
Joined: 17 Oct 2007 Posts: 186
|
Posted: Thu Jan 17, 2008 7:42 am Post subject: |
|
|
Really sad news:
In order to fix the bug gm2tb would have to be almost completely rewritten. Too much work for the creator.
He instead decided to block the not working zoom-levels.
The larger maps were nice for supporting navigation with paper maps.
Is there a frontend/gui for GoogleHackPureJava?
_________________ Nokia 5800XM (FW 21.0.025 T-Mobile Ger) / TB 0.9.89 / Atlas by TBAC |
|
| Back to top |
|
 |
Ranger
Joined: 12 Dec 2006 Posts: 4727
|
Posted: Thu Jan 17, 2008 11:21 am Post subject: |
|
|
Why you don't try Olegich tool available in Tools section or GoogleMV ?
Ranger
|
|
| Back to top |
|
 |
olegich
Joined: 07 Aug 2007 Posts: 70
|
Posted: Thu Jan 17, 2008 6:29 pm Post subject: |
|
|
| kruch wrote: |
Uaaaa Ozi calibration file parser in TB is not as robust as it could be...
Take a look at this line (from calibration file created by gm2tb):
| Code: |
| Map Projection, Mercator, PolyCal, No, AutoCalOnly, No, BSBUseWPX, No |
Space before "Mercator" confuses TB and it fallbacks to UTM. If you remove the space (for now), you'll get perfect match. |
nice, but too rigorously to such file structure with a lot of spaces in some lines before and after parameters.
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Thu Jan 17, 2008 11:06 pm Post subject: |
|
|
It's just this particular line parsing problem
|
|
| Back to top |
|
 |
|