Bílý vrch
icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • internal / bluetooth / simulator GPS
  • offline raster maps
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • custom views
  • MIDP and Symbian phones
  • Blackberry
  • Android
Visit wiki to see all features, guides and howtos. Project tracker.
Trekbuddy is on Github now

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 
map file format for a simple map

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> English
View previous topic :: View next topic  
Author Message
prioryjim



Joined: 14 Oct 2008
Posts: 42

PostPosted: Sun Nov 09, 2008 6:26 pm    Post subject: map file format for a simple map Reply with quote

I have 66 png files giving a 11x6 set of tiles.
Each is 2000x2000
I don't have them as one big file.
I know the lat/lon of all the corners on all the tiles.
I can generate the set directory and set file
But the map file format looks a bit difficult.
Any suggestions.
Thanks
Jim
Back to top
View user's profile Send private message
yip



Joined: 20 Oct 2007
Posts: 32

PostPosted: Mon Nov 10, 2008 9:50 am    Post subject: Reply with quote

Making the tiles set:
A 2000x2000 image might be too big for your device to load. usual size is no bigger than 300x400. even if its load, TB will be slow when switching from tile to tile.

so I would say you need to re-cut your map.

In order to make one big file, you can have a look at ImageMagick software, and its montage command (windows and unix).
It can generate a 22 000 x 12 000 in one commandline. It should be OK since TB limit is 32000x32000

It will be cuttable into a good tileset with TBCutter tool after calibration is done.

Calibrate:

The two most important and non-trivial info to put in a calibration file in order to get good calibration are : known points, and map projection.
you have the first, you will need the second.

if you dont like .map file format, you can use mapCalibrator to generate a sample .gmi file, and change the values with your calibration points (every 2000 step)
TB also supports .gmi files natively.

otherwise, use a demo version of OziExplorer to quickly generate a .map, and fine tune 30 points of which you know the exact calibration directly in the .map file.
according to this thread: http://www.trekbuddy.net/forum/viewtopic.php?t=1920
you can then discard MMPLL and MMPXY lines to force TB to use calib points.

when using TB, if you notice a distortion of lat OR lon coordinates between 2 points, it is surely the map projection that is wrong.

_________________
phone k750i , C702
Back to top
View user's profile Send private message
prioryjim



Joined: 14 Oct 2008
Posts: 42

PostPosted: Mon Nov 10, 2008 7:09 pm    Post subject: Reply with quote

ImageMagick, looks cool, I can regroup my tiles into a map.

Would 400x400 tiles be OK as this would be an OS grid.

Re "and map projection" need to look into this.
Seems to be "Transverse Mercator (TM)" do I need numbers ?

Still work on gathering info ...
Thanks for info Jim
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> English All times are GMT
Page 1 of 1

 
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