Active Topics

 



Notices


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Sep 2010
#11
When I add --gtiles option, it says:
Traceback (most recent call last):
File "bsb2tiles/tiles-merge.py", line 251, in <module>
for src in src_dirs:
TypeError: 'NoneType' object is not iterable
for
bsb2tiles/tiles-merge.py --gtiles riga/ resultnew/
but without --gtiles it merges trees ok!
 
Posts: 40 | Thanked: 18 times | Joined on May 2008
#12
Actually, I used "--gtiles" quite a while ago. Can you try this version?
You'd need to supply only a target directory then.
Attached Files
File Type: txt tiles-merge.py.txt (10.1 KB, 136 views)

Last edited by vadp; 2010-09-26 at 14:28.
 
Posts: 4 | Thanked: 0 times | Joined on Sep 2010
#13
Yes, now it works, gtiles is what I need! Big thank's to You vadp!
Probably tomorrow or later, I will try to convert larger amount of maps and try to put it in sqlite.
 
Posts: 40 | Thanked: 18 times | Joined on May 2008
#14
Hi ksb! I wonder what s/w do you use. It's not maemo-mapper 2.x, isn't it? If so, do you know how does it stores it's map tiles?

The thing is that d/l tiles over http is a kind of tiresome
 
Posts: 4 | Thanked: 0 times | Joined on Sep 2010
#15
It's maemo mapper 2.6.2, http is to be sure it's compatible with it. Next step is to generate sqlite and put it in. And yes, download over http is very loooooong process.
 
Posts: 40 | Thanked: 18 times | Joined on May 2008
#16
I've uploaded newer versions of the scripts. See the 1st post here.
This should fix python 2.5 and windows compatibility
 
Posts: 1 | Thanked: 0 times | Joined on Sep 2010
#17
Hi, vadp! Can you visit n8xx.com and write a manual in Russian: how work with your scripts?
 
Posts: 40 | Thanked: 18 times | Joined on May 2008
#18
Originally Posted by dragonleo View Post
Hi, vadp! Can you visit n8xx.com and write a manual in Russian: how work with your scripts?
No problem dragonleo! I'm just making it to work better at windows
 
Posts: 38 | Thanked: 6 times | Joined on Mar 2006 @ Finland
#19
Thanks for the nice scripts, but I do suspect it fails at least with my ozi map data.

I've tried ozi to tile conversion with a small sample map ( 2.0 x 2.0 km 1:16000 ) from Finland and the tile hierarchy created is this.

.
./googlemaps.html
./openlayers.html
./0
./0/0
./0/0/0.png
./1
./1/0
./1/0/0.png
./1/0/1.png
./1/1
./1/1/0.png
./1/1/1.png
./tilemapresource.xml


I've enclosed the original map-file and the generated vrt-file.
Attached Files
File Type: txt koehima2.map.txt (2.1 KB, 116 views)
File Type: txt koehima2.vrt.txt (2.8 KB, 112 views)
 
Posts: 40 | Thanked: 18 times | Joined on May 2008
#20
Originally Posted by pekkis View Post
I've enclosed the original map-file and the generated vrt-file.
Can you give me a link to the png as well? You'd use PM if you like.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:35.