| View previous topic :: View next topic |
| Author |
Message |
Duffa
Joined: 05 Dec 2006 Posts: 32
|
Posted: Tue Dec 12, 2006 5:01 pm Post subject: Application for cuttings maps to TrekBuddy |
|
|
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.
| Description: |
|
 Download |
| Filename: |
TB Cutter.zip |
| Filesize: |
270.88 KB |
| Downloaded: |
390 Time(s) |
|
|
| Back to top |
|
 |
krzysiekz
Joined: 07 Oct 2006 Posts: 168
|
Posted: Tue Dec 12, 2006 6:29 pm Post subject: |
|
|
I tried it, but i've got an error, and parts like this. (from 8bit tiff 7751x7011, 55mb)
I prefer using modified gimp script.
| Description: |
|
| Filesize: |
59.25 KB |
| Viewed: |
14426 Time(s) |

|
|
|
| Back to top |
|
 |
Duffa
Joined: 05 Dec 2006 Posts: 32
|
Posted: Tue Dec 12, 2006 7:07 pm Post subject: |
|
|
| krzysiekz wrote: |
I tried it, but i've got an error, and parts like this. (from 8bit tiff 7751x7011, 55mb)
I prefer using modified gimp script. |
I am sorry, I have all my maps in TrueColor, so I forgot for input maps in other bit depth I'll fix this bug as soon as possible.
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5096
|
Posted: Tue Dec 12, 2006 7:25 pm Post subject: |
|
|
Good job!
Just a note: I think that having 24/32 bpp maps is wasting memory (card or internal), the device will likely resample it anyway. I find 8bpp enough for any map, but, it is your choice
|
|
| Back to top |
|
 |
Duffa
Joined: 05 Dec 2006 Posts: 32
|
Posted: Tue Dec 12, 2006 8:25 pm Post subject: |
|
|
Here is new version with various bit depth support:
TB Cutter.zip
I only increase bpp after loading bitmap, I plan to cut bitmaps directly in input bit depth to save memory.
|
|
| Back to top |
|
 |
la_ouiche
Joined: 08 Dec 2006 Posts: 19
|
Posted: Mon Dec 18, 2006 3:12 pm Post subject: Application for cuttings maps to TrekBuddy |
|
|
Hi,
Thanks for the tool, it works fine! Except I have quite a big map (12000x14000 pixels), and TB Cutter crash when I try to cut it in 600x300 tiles, it creates the first tiles ok (0 to 3000 pixels for the first line of tiles), and then crashes. Do you have any idea to go throught?
Thx
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5096
|
|
| Back to top |
|
 |
Duffa
Joined: 05 Dec 2006 Posts: 32
|
Posted: Wed Dec 20, 2006 8:55 am Post subject: |
|
|
| kruch wrote: |
It really seems to crash with big maps, I've just tried 30400x17200 PNG8 map  |
My biggest map is 14500x13700 pixels (24 bit) and TB Cutter cut it OK. I'll try bigger bitmap...
30400x17200 is about 530MB, and I must convert it into 24bpp (because I can't cut 8 bit map directly yet), so you need 2GB RAM in all!!!
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5096
|
Posted: Wed Dec 20, 2006 9:11 am Post subject: |
|
|
I see. It will be great once your application will handle 8bpp maps directly, I'm really looking forward to it! GIMP is a pain for large maps.
Ta mapa je moc hezka, mam ji od jednoho sikovnyho uzivatele , cela CR (meritko neumim odhadnout) . GIMP to neda, mam 1.5 GB RAM + 1.5 GB swap
|
|
| Back to top |
|
 |
Ranger
Joined: 12 Dec 2006 Posts: 4772
|
Posted: Wed Dec 20, 2006 11:25 am Post subject: |
|
|
Guys, why you would to have so large bitmaps difficult to handle ?
BTW, few words about subject
Automation of map preparation process for TB
Input: map(s) picture(s), coordinates info
Output: tiled map(s), tiles index(es), coordinates file(s), tree structure
Process steps for maps/atlases:
- map(s) calibration
- cutting map(s) and indexing (via file names)
- tiles colour reduction (more effective than overall map colour reduction)
- producing folder structures for final map/atlas and files moving
- optionally tared
So tools are - calibrator, cutter, colour reduction filter, tree generator and file mover, tar converter. Something loosed ?
Duffa, would you build such complete tool ?
|
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5096
|
Posted: Wed Dec 20, 2006 7:11 pm Post subject: |
|
|
I've created a dedicated forum for tools, and tb cutter topic
|
|
| Back to top |
|
 |
|