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.

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 Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools
View previous topic :: View next topic  
Author Message
Ranger



Joined: 12 Dec 2006
Posts: 6030

PostPosted: Thu Feb 08, 2007 10:44 am    Post subject: Reply with quote

As I see you dream that someone should decide about folders names of yours maps ...
BTW, map folders names can be created from map files names, but only by hand now.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5662

PostPosted: Fri May 25, 2007 3:00 pm    Post subject: Reply with quote

I'm not sure whether I'm using latest version, but there is a "bug" in TB Cutter: slices listing filename should differ from calibration filename only by extension. I have eg. C08_ozf.map, TB Cutter creates C08.set but it should be C08_ozf.set.

In 0.9.57, a warning will be shown if "set" file is not found for a map.
Back to top
View user's profile Send private message
guest



Joined: 08 Oct 2006
Posts: 4883

PostPosted: Wed Jun 27, 2007 2:30 pm    Post subject: Reply with quote

The tool runs with wine + mfc42.dll (in ~/.wine/c_drive/windows/system32) on Ubuntu 7.04.

thx for that great tool!
hp5000
Back to top
View user's profile Send private message Visit poster's website
beyond005



Joined: 07 Sep 2007
Posts: 1

PostPosted: Sat Sep 08, 2007 3:52 am    Post subject: Throws error when use TB cutter to cut big map Reply with quote

When I use TB Cutter to cut several big maps which great than 1G in windows xp sp2, it throws a runtime error and exit.
What's the matter?
Back to top
View user's profile Send private message
wzab



Joined: 17 Sep 2007
Posts: 5

PostPosted: Mon Sep 17, 2007 8:28 pm    Post subject: Multiplatform (e.g. Linux) rough equivalent of TB Cutter Reply with quote

Hi All,

As a Linux user, I was tired with having to use wine for TB Cutter.
Therefore I've prepared a small tool which is able to split a scanned map into tiles, and to prepare the .set and .gmi file (well, it is just a gmi file header, the callibration points must be added with another tool which is not ready to be released yet, but should be released soon).
My tool - pyTBcutter is written in Python and uses Tkinter and the Python Imaging Library. It runs perfectly on Linux, but should also run on other platforms where the above are available.

The tool is public domain. The code is very simple, and may be easily customized.
--
Cheers, Wojtek



pyTBcutter.gz
 Description:
The pyTBcutter program. Ungzip it, and set the "execute" attribute. On some operating systems you may need to customize the extension, to have it recognized as a Python program

Download
 Filename:  pyTBcutter.gz
 Filesize:  1.21 KB
 Downloaded:  361 Time(s)

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



Joined: 17 Sep 2007
Posts: 5

PostPosted: Tue Sep 18, 2007 10:25 pm    Post subject: Multiplatform (e.g. Linux) simple calibrator Reply with quote

This is the calibrator mentioned in my previous post.
I've written it to recalibrate the OSM maps generated by the http://osm.bandnet.org/browse/ site (which currently generates incorrect calibration info).
My calibrator works only with the .gmi files.
After running the application, you should open the .gmi file located in the directory with the untared map.
The map should be displayed. You can drag the map with the 3rd (usually the right one) button of the mouse.
To add a calibration point, you should click it with the 1st (usually the left) button. A dialog box for entering of the coordinates should appear.
In the left side of the dialog box you will see the neighbourhood of the calibration point, and the calibration point will be marked with a cross-hair.
The coordinates may be entered either in degrees as float numbers (eg. +21.0032), or in a format with separate degrees, minutes and seconds fields.
In the second format the degrees field should be followed by "d", the minutes field - by "m", and the seconds - by "s". The sample correct notation: "-21d34m42.1254s".
After defining of all needed calibration points, you should press the "End the calibration" button. You'll be asked if you want to write the new .gmi file (It will destroy the old file!!!).

The pyTBcalibr uses the map in the tiled form and does not build the whole bitmap, therefore it should handle even the big maps quite quickly.
The source code should be relatively easy to understand and to customize.
The application is published as public domain.
However there is no warranty, that it will work correctly.
Maybe in some specific conditions it can damage your system... :-/
--
Cheers , Wojtek

PS. I have corrected a bug in the pyTBcalibr, causing the button to hide, when the height of the window was decreased. I have also added the option to specify the .gmi file as the command line argument (I personally prefer CLI over GUI).



pyTBcalibr.gz
 Description:
Calibrator in the gzipped form.
Set the "execute" attribute after ungzipping.
In some systems you may need to add the ".py" extension.
This is the corrected version:
1. Resizing of the window works correctly
2. You MAY specify the .gmi

Download
 Filename:  pyTBcalibr.gz
 Filesize:  3.94 KB
 Downloaded:  203 Time(s)

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



Joined: 05 Nov 2006
Posts: 26

PostPosted: Wed Nov 07, 2007 7:19 pm    Post subject: Reply with quote

does it work on Vista?? it seems to be doing nothing when I hit START...

thanks
Back to top
View user's profile Send private message
supik



Joined: 05 Nov 2006
Posts: 26

PostPosted: Fri Nov 09, 2007 3:13 pm    Post subject: Reply with quote

what am I doing wrong? I tried even on XP and when I hit start, nothing happens.. Please help
Back to top
View user's profile Send private message
luki



Joined: 01 Feb 2007
Posts: 142
Location: Milan, Italy

PostPosted: Sun Nov 11, 2007 10:48 pm    Post subject: Reply with quote

That program is written in python i supposed (and mainly for Linux system), you need this to execute it!
Back to top
View user's profile Send private message
wzab



Joined: 17 Sep 2007
Posts: 5

PostPosted: Mon Nov 12, 2007 8:16 pm    Post subject: Running Python program on Windows Reply with quote

As far as I know (I very rarely use Windows), you have to install the Python on your machine.
http://www.python.org/download/
I have tried (under Wine)
http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi
and it has installed the python succesfully.

Additionally this program makes use of some libraries, namely PIL:
http://www.pythonware.com/products/pil/
Again, I have downloaded http://effbot.org/downloads/PIL-1.1.6.win32-py2.5.exe and installed it under Wine.
Only then I was able to run the pyTBcalibr (in Wine with:
Code:
$ wine python.exe pyTBcalibr
and it runs perfectly in the emulated Windows.
When I run
Code:
wine explorer.exe
I'm able to run the pyTBcalibr just by clicking its icon in the browser, so I hope that after installation of Python and PIL
it should run also on the real Windows machine.

Well, I don't know how exactly Windows do recognize the Python programs.
Maybe you'll need to change the name to pyTBcalibr.py
(as it was mentioned in the first post).

PS. Could someone with the access to the real Windows machine verify
the above?
Back to top
View user's profile Send private message
supik



Joined: 05 Nov 2006
Posts: 26

PostPosted: Tue Nov 13, 2007 11:11 am    Post subject: Reply with quote

may be I miss something, I downloaded the windows exe version which was posted in the very first post of this topic. and this one doesn t work.. does this version require the procedure written above?? even though it s seems to be done for windows.. please correct me if I am wrong. thanks
Back to top
View user's profile Send private message
wzab



Joined: 17 Sep 2007
Posts: 5

PostPosted: Tue Nov 13, 2007 9:20 pm    Post subject: EXE version? Reply with quote

May be I've missed something, but there was no exe version at all...
The original tb_cutter was published as a link to the ZIP archive.
My pyTBcuter was published as an message attachment which was the
gzipped Python source (which itself is a pure text file).
So maybe your problem is that you need a program to decompress the ZIP or gz file?
I think, that if you look for "windows zip gzip decompressor" in google
or other search engine, you'll find something.
Back to top
View user's profile Send private message
supik



Joined: 05 Nov 2006
Posts: 26

PostPosted: Wed Nov 21, 2007 11:55 am    Post subject: Re: EXE version? Reply with quote

wzab wrote:
May be I've missed something, but there was no exe version at all...
The original tb_cutter was published as a link to the ZIP archive.
My pyTBcuter was published as an message attachment which was the
gzipped Python source (which itself is a pure text file).
So maybe your problem is that you need a program to decompress the ZIP or gz file?
I think, that if you look for "windows zip gzip decompressor" in google
or other search engine, you'll find something.


no no, I am dealing with the zipped exe file, I don t have problems to unzipp but to run the program later on.. Confused
Back to top
View user's profile Send private message
nadlabak



Joined: 22 Jan 2008
Posts: 4

PostPosted: Fri Feb 01, 2008 5:14 pm    Post subject: Reply with quote

The original TB Cutter link (http://www.volny.cz/duffa/tbcutter/tb_cutter.zip) doesn't work anymore - 404 Not Found.
May I ask anyone with a tb_cutter.zip copy to upload it somewhere?
Back to top
View user's profile Send private message Visit poster's website
Momme



Joined: 24 Jul 2007
Posts: 17
Location: nowhere

PostPosted: Fri Feb 01, 2008 11:14 pm    Post subject: Reply with quote

deleted

Last edited by Momme on Tue Jul 12, 2011 3:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> Tools All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 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