Contrary to what I thought, that doesn't seem to work, I'll need to look at
the code to understand why OSN doesn't use the tiles I've put on the FS
(maybe because they're not referenced in the sqlite DB)



2010/5/18 Guillaume Rosaire <[email protected]>

> My method :
>
> # 1. Use TrekBuddy Atlas Creator to download your tiles, choose as source
> Openstreetmap Mapnik  and create your atlas in "Andnav atlas format", tiles
> will be downloaded and will populate the tilestore/Mapnik directory
> ...
> # 2. go into the Trekbuddy tilestore subdirectory
> cd tilestore/Mapnik
> # 3. create directory tree
> find . -maxdepth 1 -name '*.png' -type f -print | sort | cut -d'_' -f1-2 |
> uniq | sed 's/_/\//g' | xargs mkdir -p
> # 4. move files in the tree and rename them as .osn
> find . -maxdepth 1 -name '*.png' -type f -print | while read file ; do
> osn_path=$(echo $file | sed 's/_/\//g').osn ; mv $file $osn_path ; done
> # 5. Next, push all these tiles on your android device
> cp -R * /media/android/org.opensatnav/tiles/tile.openstreetmap.org/
>
> That works for me.
>
> Hope that helps,
> Guillaume
>
> 2010/5/17 Chris Andrew <[email protected]>
>
> Julien,
>>
>> Thanks for your reply. This is what I did last time I was abroad.
>> Guillaume, i'd appreciate it if you could share your method. Maybe we could
>> put something on Launchpad documenting this, at some point in the future?
>> I'm sure we're not the only ones that would like to do this.
>>
>> Cheers,
>>
>> Chris.
>>
>> On 16 May 2010 21:10, "Guillaume Rosaire" <[email protected]> wrote:
>>
>>
>>
>> I'm going to New York city in 2 weeks, and I'm downloading tiles from the
>> area using TrekBuddy right now. I'll convert them from andnav2 format to OSN
>> with a simple shell script, I can tell you how to do this if you're
>> interested.
>>
>>
>>
>> 2010/5/16 Julien <[email protected] <murphy2712%[email protected]>>
>>
>>
>> >
>> > There's some software to do that but I don't use them.
>> > I personally prefer to surf manually w...
>>
>>
>> _______________________________________________
>> Osn-dev mailing list
>> [email protected]
>> https://lists.kentgeek.org/mailman/listinfo/osn-dev
>>
>>
>> _______________________________________________
>> Osn-dev mailing list
>> [email protected]
>> https://lists.kentgeek.org/mailman/listinfo/osn-dev
>>
>>
>
_______________________________________________
Osn-dev mailing list
[email protected]
https://lists.kentgeek.org/mailman/listinfo/osn-dev

Reply via email to