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 Store  (FAQ)
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 
tb cutter
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools
View previous topic :: View next topic  
Author Message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5415

PostPosted: Wed Dec 20, 2006 7:05 pm    Post subject: tb cutter Reply with quote

A tool by Duffa (original thread)

"Because creating maps is quite difficult and cutting in GIMP is very slow, I've written a small application for preparing maps to TB. Enjoy."

download link: http://www.volny.cz/duffa/tbcutter/tb_cutter.zip

EDIT 2008-02-22: Page seems to be unavailable Sad. Here is a local copy (not sure it is the latest version)



tb_cutter.zip
 Description:
TB Cutter

Download
 Filename:  tb_cutter.zip
 Filesize:  320.79 KB
 Downloaded:  9543 Time(s)



Last edited by kruch on Fri Feb 22, 2008 3:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Duffa



Joined: 05 Dec 2006
Posts: 32

PostPosted: Fri Dec 22, 2006 10:35 pm    Post subject: Re: tb cutter Reply with quote

I've created new version of TB Cutter.

changes:

- direct cutting of maps with bit depth less than 24bpp (reduce memory and time)
- 'Original' option (I couldn't find better term Smile) in destination bit depth (the same bit depth as source bitmap)
- version info in caption

download from http://www.volny.cz/duffa/tbcutter/tb_cutter.zip.
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Sat Dec 23, 2006 7:46 am    Post subject: Reply with quote

@ duffa
Tb-Cutter works great Very Happy
it is possible that TB-Cutter immediately create a TAR-Archive ?
thx igillan
Back to top
View user's profile Send private message
Duffa



Joined: 05 Dec 2006
Posts: 32

PostPosted: Sat Dec 23, 2006 10:27 am    Post subject: Reply with quote

igillan wrote:
@ duffa
Tb-Cutter works great Very Happy
it is possible that TB-Cutter immediately create a TAR-Archive ?
thx igillan


Yes, I plan it, I'm looking for simple TAR library...
Back to top
View user's profile Send private message
igillan



Joined: 24 Nov 2006
Posts: 60

PostPosted: Sat Dec 23, 2006 11:15 am    Post subject: Reply with quote

Here is a freeware archiving utility.
http://www.tugzip.com/
Include a "tar32.dll". Wink
igillan
Back to top
View user's profile Send private message
temptrekbuddy



Joined: 27 Nov 2006
Posts: 193
Location: Poland

PostPosted: Wed Jan 03, 2007 12:38 pm    Post subject: Reply with quote

Quote:
Yes, I plan it, I'm looking for simple TAR library...


edit: This not needed since now TB is signed Smile Duffa, you could also use the tar.exe win32 port of unix tar from http://unxutils.sourceforge.net/
It's under GPL

edit:Duffa what did you use in tb_cutter to decrease the bit depth? It actually produces better output than for example pngcrush an opensource command line utility (it produced strange results for bit_depth 4).


Last edited by temptrekbuddy on Fri Jan 12, 2007 10:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5415

PostPosted: Fri Jan 12, 2007 10:49 pm    Post subject: Reply with quote

Fantastic tool!

Making a TB map from 26400x21200 bitmap took less then 2 mins!!! Shocked Very Happy

I'll update the Map HOWTO in favour of TBCutter over GIMP.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5415

PostPosted: Wed Jan 17, 2007 8:46 am    Post subject: Reply with quote

Duffa, have you read ogamit_to's analysis? (http://www.trekbuddy.net/forum/viewtopic.php?t=38)

What do you think of atlas-creating capability in TB Cutter? Wink

"Critical Features:
Actually, these critical features are not so much about the phone software as much as about supporting software and services. "
...
"There is a great tool called TBCutter here which automates the slicing of maps, the naming of the slices, and the creation of the SET file. Without this, making maps would be so much more of a pain. However, this tool does not make atlases. Granted, atlases are not that complicated. But why not extend this tool to manage the atlas creation process? This could make it much easier for people to conceptualize the map-making process."
...
Back to top
View user's profile Send private message
Duffa



Joined: 05 Dec 2006
Posts: 32

PostPosted: Wed Jan 17, 2007 9:51 pm    Post subject: Reply with quote

kruch wrote:
Duffa, have you read ogamit_to's analysis?


No, I haven't read it, I don't read all topics...

I thought about creating of atlases in TB Cutter, it is quite simple, but there is one problem - UI. I thought about another conception than ogamit_to outlined, atlas is hierarchical structure so there is perfect control for it - TreeView. Each item of tree would represent one map and edit controls would contain parameters for current selected item in tree. And you can immediately see whole structure of maps. What do you thing about it? Of course you could save atlas parameters into the file and load later (you cound add other part and generate new atlas).

I'm afraid there is another problem with TB Cutter, I started reconstruction of our house so I'm very busy now. I can work on TB Cutter, but then there isn't time for sleeping... Sad


Last edited by Duffa on Wed Jan 17, 2007 10:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
Duffa



Joined: 05 Dec 2006
Posts: 32

PostPosted: Wed Jan 17, 2007 10:08 pm    Post subject: Reply with quote

Quote:
Duffa what did you use in tb_cutter to decrease the bit depth? It actually produces better output than for example pngcrush an opensource command line utility (it produced strange results for bit_depth 4).

I use CxImage library for loading, saving and cutting bitmaps and CQuantizer for decreasing bit depth of bitmaps.
Back to top
View user's profile Send private message
A780



Joined: 13 Dec 2006
Posts: 22

PostPosted: Sat Feb 03, 2007 11:02 am    Post subject: Reply with quote

may i ask for a linux version of this great tool?
Back to top
View user's profile Send private message
Duffa



Joined: 05 Dec 2006
Posts: 32

PostPosted: Sun Feb 04, 2007 8:13 pm    Post subject: Reply with quote

A780 wrote:
may i ask for a linux version of this great tool?


Sorry, I don't plan linux version. Both graphics libraries I've used are for windows only, main program is MFC based, and I'm pure windows developer, I've newer worked on linux...
Back to top
View user's profile Send private message
temptrekbuddy



Joined: 27 Nov 2006
Posts: 193
Location: Poland

PostPosted: Mon Feb 05, 2007 5:39 pm    Post subject: Reply with quote

Duffa wrote:
A780 wrote:
may i ask for a linux version of this great tool?


Sorry, I don't plan linux version. Both graphics libraries I've used are for windows only, main program is MFC based, and I'm pure windows developer, I've newer worked on linux...


Your tool is going to keep people from switching to linux Very Happy

Anyway, it seems to me that most of the great tools for GPS are windows only and so is yours Smile
Back to top
View user's profile Send private message
A780



Joined: 13 Dec 2006
Posts: 22

PostPosted: Mon Feb 05, 2007 8:24 pm    Post subject: Reply with quote

>Anyway, it seems to me that most of the great tools for GPS are windows only and so is yours

ooh yes! i know this.

btw. isn't the name of this website www.linuxtechs.net
with a nice penguin icon Smile

@Duffa
it is not a great problem for me.
but if you release the source, maybe another good guy can port this to linux?
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4300

PostPosted: Thu Feb 08, 2007 9:21 am    Post subject: Batch convert Reply with quote

I have several files with maps (*.maps, *.png).
It is possible to make trekbuddy maps automatically from all (by select all) ?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
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