Indexing big TAR files is very slow. It is not useful.
Now you can convert you TAR files to sqlitedb format. The sqlitedb files dont need indexing on the android devices.
Use gmv2sqlite for it http://code.google.com/p/robertprojects/downloads/list
Unpak files from the tar file (for example to c:\temp\). Use PeaZip for example.
Write in console: gmv2sqlite.exe c:\temp\
The program will generate c:\temp\rmaps.sqlitedb file
четверг, 22 октября 2009 г.
воскресенье, 18 октября 2009 г.
Minimum POI functionality
I mean...
Long tap on the map run context menu. Here you can add POI.
Long tap on the POI icon - edit POI, delete POI.
Tap on the POI icon - show detail tips.
Tap again on the icon - hide the tips.
Use main menu to go to POI list.
Long tap on list item run context menu.
More functionality will come soon...
Long tap on the map run context menu. Here you can add POI.
Long tap on the POI icon - edit POI, delete POI.
Tap on the POI icon - show detail tips.
Tap again on the icon - hide the tips.
Use main menu to go to POI list.
Long tap on list item run context menu.
More functionality will come soon...
v.0.7.0
+ Minimum POI functionality
+ Integration with GPS Status by Rudolf Hornig
+ Move index data of offline maps to sdcard
+ Added buttons for clearing internal cache and index database to preference
+ Update Yandex.Map URL, Google.Map URL
- Bug fix: Wrong compass orientation on landscape mode
+ Минимум функций для добавления точек (POI)
+ Интеграция с GPS Status by Rudolf Hornig. Вызов из меню GPS Status и обратный вызов RMaps
+ Индексные данные оффлайн карт перенесены на sd карту
+ Добавлены в настройки кнопки для очистки внутреннего кэша и индексного файла
+ Обновил URL карт Yandex, Google
- Поправил работу компаса в ландскейп режиме
+ Integration with GPS Status by Rudolf Hornig
+ Move index data of offline maps to sdcard
+ Added buttons for clearing internal cache and index database to preference
+ Update Yandex.Map URL, Google.Map URL
- Bug fix: Wrong compass orientation on landscape mode
+ Минимум функций для добавления точек (POI)
+ Интеграция с GPS Status by Rudolf Hornig. Вызов из меню GPS Status и обратный вызов RMaps
+ Индексные данные оффлайн карт перенесены на sd карту
+ Добавлены в настройки кнопки для очистки внутреннего кэша и индексного файла
+ Обновил URL карт Yandex, Google
- Поправил работу компаса в ландскейп режиме
вторник, 13 октября 2009 г.
Python script to generate an rmaps-compatible sqlitedb
7:40
Yoav: Hi. I wrote a small python script to generate an rmaps-compatible sqlitedb from a directory of tiles. Runs in linux (as opposed to the java-based solution) and takes less memory so it's suitable for large databases.
7:41
I used it to generate a topo map of the entire state of Israel. Works well. Anyway, if you have a need for such script, let me know.
0:15
Yoav: Here's the script:
buildb.py:
#!/usr/bin/env python
# buildb.py - build an sqlitedb for rmaps from a tree of map tiles.
# (Yoav Weiss)
#
# Syntax: buildb.py
# should contain a tree of //.png
import sqlite3,sys,os
#minzoom=100
#maxzoom=0
db=sqlite3.connect(sys.argv[1])
try:
db.execute("CREATE TABLE tiles (x int, y int, z int, s int, image blob, PRIMARY KEY (x,y,z,s));")
except:
pass
for z in os.listdir(sys.argv[2]):
#if int(z) > maxzoom:
#maxzoom = int(z)
#if int(z) < minzoom:
#minzoom = int(z)
for x in os.listdir(sys.argv[2]+'/'+z):
for y in os.listdir(sys.argv[2]+'/'+z+'/'+x):
db.execute('INSERT INTO "tiles" VALUES(?,?,?,?,?);',(int(x),int(y.split('.')[0]),17-int(z),0,buffer(file("%s/%s/%s/%s" % (sys.argv[2],z,x,y)).read())))
#db.execute("CREATE TABLE info(minzoom,maxzoom);")
#db.execute('INSERT INTO "info" VALUES(?,?);',(minzoom,maxzoom))
try:
db.execute("CREATE TABLE android_metadata (locale TEXT);")
db.execute('INSERT INTO "android_metadata" VALUES("en");')
except:
pass
try:
db.execute('CREATE INDEX IND on tiles (x,y,z,s);')
except:
pass
db.commit();
Yoav: Hi. I wrote a small python script to generate an rmaps-compatible sqlitedb from a directory of tiles. Runs in linux (as opposed to the java-based solution) and takes less memory so it's suitable for large databases.
7:41
I used it to generate a topo map of the entire state of Israel. Works well. Anyway, if you have a need for such script, let me know.
0:15
Yoav: Here's the script:
buildb.py:
#!/usr/bin/env python
# buildb.py - build an sqlitedb for rmaps from a tree of map tiles.
# (Yoav Weiss)
#
# Syntax: buildb.py
#
import sqlite3,sys,os
#minzoom=100
#maxzoom=0
db=sqlite3.connect(sys.argv[1])
try:
db.execute("CREATE TABLE tiles (x int, y int, z int, s int, image blob, PRIMARY KEY (x,y,z,s));")
except:
pass
for z in os.listdir(sys.argv[2]):
#if int(z) > maxzoom:
#maxzoom = int(z)
#if int(z) < minzoom:
#minzoom = int(z)
for x in os.listdir(sys.argv[2]+'/'+z):
for y in os.listdir(sys.argv[2]+'/'+z+'/'+x):
db.execute('INSERT INTO "tiles" VALUES(?,?,?,?,?);',(int(x),int(y.split('.')[0]),17-int(z),0,buffer(file("%s/%s/%s/%s" % (sys.argv[2],z,x,y)).read())))
#db.execute("CREATE TABLE info(minzoom,maxzoom);")
#db.execute('INSERT INTO "info" VALUES(?,?);',(minzoom,maxzoom))
try:
db.execute("CREATE TABLE android_metadata (locale TEXT);")
db.execute('INSERT INTO "android_metadata" VALUES("en");')
except:
pass
try:
db.execute('CREATE INDEX IND on tiles (x,y,z,s);')
except:
pass
db.commit();
суббота, 3 октября 2009 г.
пятница, 18 сентября 2009 г.
How to convert MNO format to MNM format?
Use MapNavEditor (MapCreator) http://mapnav.spb.ru/site/download.php?list.4
1. Run program.
2. Press the third at the left the button on toolbar "Assemble multiple maps into single one...".
3. Delete all items from the files list.
4. Press Add files.
5. Select MNO file.
6. Press Assemble. Save MNM file.
Используйте MapNavEditor (MapCreator) http://mapnav.spb.ru/site/download.php?list.4
1. Запустите программу.
2. Нажмите третью слева кнопку тулбара "Assemble multiple maps into single one..."
3. Удалите все из списка файлов, если он не пустой.
4. Нажмите кнопку Add files
5. Выберите файл MNO
6. Нажмите кнопку Assemble. Программа предложит сохранить готовый файл MNM
1. Run program.
2. Press the third at the left the button on toolbar "Assemble multiple maps into single one...".
3. Delete all items from the files list.
4. Press Add files.
5. Select MNO file.
6. Press Assemble. Save MNM file.
Используйте MapNavEditor (MapCreator) http://mapnav.spb.ru/site/download.php?list.4
1. Запустите программу.
2. Нажмите третью слева кнопку тулбара "Assemble multiple maps into single one..."
3. Удалите все из списка файлов, если он не пустой.
4. Нажмите кнопку Add files
5. Выберите файл MNO
6. Нажмите кнопку Assemble. Программа предложит сохранить готовый файл MNM
TrekBuddy Atlas Creator 1.6 beta 2
If TrekBuddy Atlas Creator did not work on your Win, Linux or MacOS try to use the new version.
http://robertprojects.googlecode.com/files/TrekBuddy_Atlas_Creator_1.6 beta 2.zip
http://robertprojects.googlecode.com/files/TrekBuddy_Atlas_Creator_1.6 beta 2.zip
Подписаться на:
Комментарии (Atom)
