maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images (https://talk.maemo.org/showthread.php?t=57469)

ksb 2010-09-26 13:39

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
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!

vadp 2010-09-26 14:25

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
1 Attachment(s)
Actually, I used "--gtiles" quite a while ago. Can you try this version?
You'd need to supply only a target directory then.

ksb 2010-09-26 16:48

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
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.

vadp 2010-09-27 09:08

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
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

ksb 2010-09-27 09:24

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
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.

vadp 2010-09-28 10:07

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
I've uploaded newer versions of the scripts. See the 1st post here.
This should fix python 2.5 and windows compatibility

dragonleo 2010-09-28 17:10

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
Hi, vadp! Can you visit n8xx.com and write a manual in Russian: how work with your scripts?

vadp 2010-09-29 07:43

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
Quote:

Originally Posted by dragonleo (Post 828546)
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

pekkis 2010-09-29 16:39

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
2 Attachment(s)
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.

vadp 2010-09-29 20:41

Re: Custom maps for maemo-mapper from BSB, OZI charts, and uncalibrated images
 
Quote:

Originally Posted by pekkis (Post 829430)
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.


All times are GMT. The time now is 12:16.

vBulletin® Version 3.8.8