icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • bluetooth / serial / internal GPS, simulator
  • offline raster maps (common grids and projections)
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • ... and more
  • MIDP and Symbian phones
  • Blackberry
  • Android
  • Windows Mobile 5.x/6.x
  • Windows Phone coming
Visit our wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/Èesky)(Èesky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
maps shift with big scale
Goto page Previous  1, 2
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
start78



Joined: 17 Oct 2007
Posts: 186

PostPosted: Sat Jan 12, 2008 6:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5088

PostPosted: Wed Jan 16, 2008 9:49 am    Post subject: Reply with quote

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 Wink
k.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5088

PostPosted: Wed Jan 16, 2008 11:39 am    Post subject: Reply with quote

Uaaaa Twisted Evil Ozi calibration file parser in TB is not as robust as it could be... Very Happy

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.



gm2tb_match.png
 Description:
 Filesize:  64 KB
 Viewed:  5452 Time(s)

gm2tb_match.png


Back to top
View user's profile Send private message
start78



Joined: 17 Oct 2007
Posts: 186

PostPosted: Wed Jan 16, 2008 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5088

PostPosted: Wed Jan 16, 2008 4:15 pm    Post subject: Reply with quote

I was sooo happy Crying or Very sad

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
View user's profile Send private message
start78



Joined: 17 Oct 2007
Posts: 186

PostPosted: Wed Jan 16, 2008 5:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
start78



Joined: 17 Oct 2007
Posts: 186

PostPosted: Thu Jan 17, 2008 7:42 am    Post subject: Reply with quote

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
View user's profile Send private message
Ranger



Joined: 12 Dec 2006
Posts: 4721

PostPosted: Thu Jan 17, 2008 11:21 am    Post subject: Reply with quote

Why you don't try Olegich tool available in Tools section or GoogleMV ?
Ranger
Back to top
View user's profile Send private message
olegich



Joined: 07 Aug 2007
Posts: 70

PostPosted: Thu Jan 17, 2008 6:29 pm    Post subject: Reply with quote

kruch wrote:
Uaaaa Twisted Evil Ozi calibration file parser in TB is not as robust as it could be... Very Happy

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.
Shocked
nice, but too rigorously to such file structure with a lot of spaces in some lines before and after parameters. Wink
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5088

PostPosted: Thu Jan 17, 2008 11:06 pm    Post subject: Reply with quote

It's just this particular line parsing problem Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Bugs All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group