Notices


Reply
Thread Tools
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#1861
Last time I tried it (some 2-3 years ago), modRana worked just fine on Ubuntu desktop (x86). Written in Python, it should be pretty portable. It should work on UT too, as long as there is Python in UT.
 

The Following 4 Users Say Thank You to pichlo For This Useful Post:
Posts: 188 | Thanked: 308 times | Joined on Jan 2013 @ UK
#1862
Working very nicely and seems much smoother than before. Think you've done a great job on this, thanks.

One question though, I tried the VirtualEarth OS Maps, and though maps downloaded, they certainly weren't OS. It might be that VE is doing something sneaky, but the OS maps are still available on the Bing web interface so I wondered if there's a request error.

I've got a debug log but it didn't display the requests. I'll try again with some other options enabled:

Code:
2015-10-11 21:33:29,713 INFO : log file enabled: /home/nemo/Documents/modrana_debug_logs/modrana_20151011#20-33-29.log
2015-10-11 21:33:29,750 INFO : saving options
2015-10-11 21:33:29,771 INFO : options successfully saved
2015-10-11 21:33:42,056 DEBUG mod.storeTiles: tile loading debug messages state: enabled
2015-10-11 21:33:42,081 INFO : saving options
2015-10-11 21:33:42,093 INFO : options successfully saved
2015-10-11 21:33:44,079 DEBUG mod.storeTiles: tile loading debug messages state: disabled
2015-10-11 21:33:44,098 INFO : saving options
2015-10-11 21:33:44,121 INFO : options successfully saved
2015-10-11 21:33:57,204 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:33:57,209 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:34:03,045 DEBUG mod.gui.qt5.qml: main: getPage: OptionsMenu
2015-10-11 21:34:03,047 DEBUG mod.gui.qt5.qml: main: OptionsMenu found in page cache
2015-10-11 21:34:03,051 DEBUG mod.gui.qt5.qml: main: returning page: OptionsMenu
2015-10-11 21:34:05,377 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:34:05,381 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:34:16,811 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:34:16,815 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:34:19,226 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:34:23,579 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:34:23,583 ERROR mod.gui.qt5.qml: python error: file:///usr/share/harbour-modrana/qml/modrana_components/KeyComboBox.qml:53: Error: Cannot assign null to int
2015-10-11 21:34:26,874 INFO mod.gui.qt5.qml: setting routing mode: 1
2015-10-11 21:34:26,876 INFO : saving options
2015-10-11 21:34:26,879 INFO : options successfully saved
2015-10-11 21:34:32,694 DEBUG mod.gui.qt5.qml: main: getPage: MapMenu
2015-10-11 21:34:32,700 INFO mod.gui.qt5.qml: loading page: MapMenuPage
2015-10-11 21:34:32,746 DEBUG mod.gui.qt5.qml: page cached: MapMenu
2015-10-11 21:34:32,749 DEBUG mod.gui.qt5.qml: main: returning page: MapMenu
2015-10-11 21:34:38,412 DEBUG mod.gui.qt5.qml: pinchmap: setting layer by id 0 to vaer_ukos/undefined
2015-10-11 21:34:38,470 INFO mod.gui.qt5.qml: pinchmap: saving overlay settings for main
2015-10-11 21:34:38,489 INFO : saving options
2015-10-11 21:34:38,493 INFO : options successfully saved
2015-10-11 21:34:42,205 INFO mod.gui.qt5.qml: # starting the Python Debugger (PDB) shell
2015-10-11 21:34:42,207 INFO mod.gui.qt5.qml: # to continue program execution, press c
2015-10-11 21:34:42,294 ERROR mod.gui.qt5.qml: python error: Return value of PyObject call is NULL: Traceback (most recent call last):

  File "/usr/lib/python3.4/pdb.py", line 1579, in set_trace
    Pdb().set_trace(sys._getframe().f_back)

  File "/usr/lib/python3.4/bdb.py", line 52, in trace_dispatch
    return self.dispatch_return(frame, arg)

  File "/usr/lib/python3.4/bdb.py", line 96, in dispatch_return
    if self.quitting: raise BdbQuit

bdb.BdbQuit

2015-10-11 21:34:46,267 ERROR tile_storage.files_store: saving tile to file /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS/15/16251/10621.jpg failed
Traceback (most recent call last):
  File "/usr/share/harbour-modrana/core/tile_storage/files_store.py", line 79, in store_tile_data
    os.rename(partial_file_path, file_path)
FileNotFoundError: [Errno 2] No such file or directory: '/home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS/15/16251/10621.jpg.part' -> '/home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS/15/16251/10621.jpg'
2015-10-11 21:34:50,939 INFO mod.gui.qt5.qml: screen blanking disabled
2015-10-11 21:34:52,202 INFO mod.gui.qt5.qml: screen blanking enabled
2015-10-11 21:34:54,772 INFO mod.gui.qt5.qml: screen blanking disabled
2015-10-11 21:34:55,737 INFO mod.gui.qt5.qml: screen blanking enabled
2015-10-11 21:34:57,255 DEBUG mod.gui.qt5.qml: map page: Menu pushed!
2015-10-11 21:34:57,265 DEBUG mod.gui.qt5.qml: PUSH Menu
2015-10-11 21:34:57,269 DEBUG mod.gui.qt5.qml: main: getPage: Menu
2015-10-11 21:34:57,293 DEBUG mod.gui.qt5.qml: main: Menu found in page cache
2015-10-11 21:34:57,298 DEBUG mod.gui.qt5.qml: main: returning page: Menu
2015-10-11 21:34:58,884 DEBUG mod.gui.qt5.qml: main: getPage: OptionsMenu
2015-10-11 21:34:58,888 DEBUG mod.gui.qt5.qml: main: OptionsMenu found in page cache
2015-10-11 21:34:58,889 DEBUG mod.gui.qt5.qml: main: returning page: OptionsMenu
2015-10-11 21:35:46,178 INFO mod.gui.qt5.qml: screen blanking disabled
2015-10-11 21:35:47,466 INFO mod.gui.qt5.qml: screen blanking enabled

Last edited by skanky; 2015-10-11 at 20:47.
 

The Following 3 Users Say Thank You to skanky For This Useful Post:
Posts: 188 | Thanked: 308 times | Joined on Jan 2013 @ UK
#1863
Here it is with some extra options:

Code:
2015-10-11 21:43:59,662 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16246, 10618)
2015-10-11 21:43:59,664 DEBUG mod.mapTiles: looking for tile (vaer_ukos layer, 15, 16246, 10618)
2015-10-11 21:43:59,675 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10618) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,681 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10618) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,679 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16246, 10618)
2015-10-11 21:43:59,686 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16246, 10618) (35.19 ms)
2015-10-11 21:43:59,687 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10618) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,695 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10618) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,696 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16246, 10618) (24.42 ms)
2015-10-11 21:43:59,697 DEBUG mod.mapTiles: (vaer_ukos layer, 15, 16246, 10618) found locally
2015-10-11 21:43:59,699 DEBUG mod.mapTiles: looking for tile (vaer_ukos layer, 15, 16246, 10619)
2015-10-11 21:43:59,700 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16246, 10619)
2015-10-11 21:43:59,701 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10619) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,704 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16250, 10624)
2015-10-11 21:43:59,709 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16250, 10624) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,711 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16250, 10624) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,712 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16250, 10624) (8.21 ms)
2015-10-11 21:43:59,708 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10619) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,715 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16246, 10619) (15.17 ms)
2015-10-11 21:43:59,718 DEBUG mod.mapTiles: (vaer_ukos layer, 15, 16246, 10619) found locally
2015-10-11 21:43:59,720 DEBUG mod.mapTiles: looking for tile (vaer_ukos layer, 15, 16246, 10620)
2015-10-11 21:43:59,722 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16246, 10620)
2015-10-11 21:43:59,723 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10620) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,721 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16249, 10624)
2015-10-11 21:43:59,725 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16249, 10624) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,727 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10620) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,730 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16249, 10624) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,732 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16246, 10620) (8.39 ms)
2015-10-11 21:43:59,734 DEBUG mod.mapTiles: (vaer_ukos layer, 15, 16246, 10620) found locally
2015-10-11 21:43:59,736 DEBUG mod.mapTiles: looking for tile (vaer_ukos layer, 15, 16246, 10621)
2015-10-11 21:43:59,737 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16246, 10621)
2015-10-11 21:43:59,738 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10621) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,733 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16249, 10624) (10.44 ms)
2015-10-11 21:43:59,742 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16248, 10624)
2015-10-11 21:43:59,743 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10621) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,744 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16248, 10624) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,746 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16246, 10621) (9.80 ms)
2015-10-11 21:43:59,749 DEBUG mod.mapTiles: (vaer_ukos layer, 15, 16246, 10621) found locally
2015-10-11 21:43:59,751 DEBUG mod.mapTiles: looking for tile (vaer_ukos layer, 15, 16246, 10622)
2015-10-11 21:43:59,752 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16246, 10622)
2015-10-11 21:43:59,748 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16248, 10624) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,755 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16248, 10624) (16.69 ms)
2015-10-11 21:43:59,753 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10622) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,763 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16247, 10624)
2015-10-11 21:43:59,765 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16247, 10624) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,766 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10622) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,768 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16246, 10622) (20.69 ms)
2015-10-11 21:43:59,769 DEBUG mod.mapTiles: (vaer_ukos layer, 15, 16246, 10622) found locally
2015-10-11 21:43:59,770 DEBUG mod.mapTiles: looking for tile (vaer_ukos layer, 15, 16246, 10623)
2015-10-11 21:43:59,772 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16246, 10623)
2015-10-11 21:43:59,773 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10623) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,776 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16247, 10624) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,778 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16247, 10624) (18.98 ms)
2015-10-11 21:43:59,782 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16246, 10624)
2015-10-11 21:43:59,783 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10623) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,786 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16246, 10623) (14.62 ms)
2015-10-11 21:43:59,787 DEBUG mod.mapTiles: (vaer_ukos layer, 15, 16246, 10623) found locally
2015-10-11 21:43:59,784 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10624) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,789 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16246, 10624) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,790 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16246, 10624) (8.33 ms)
2015-10-11 21:43:59,799 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16250, 10623)
2015-10-11 21:43:59,800 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16250, 10623) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,804 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16250, 10623) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,806 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16250, 10623) (7.81 ms)
2015-10-11 21:43:59,810 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16250, 10621)
2015-10-11 21:43:59,811 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16250, 10621) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,814 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16250, 10621) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,817 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16250, 10621) (7.02 ms)
2015-10-11 21:43:59,826 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16250, 10619)
2015-10-11 21:43:59,830 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16250, 10619) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:43:59,832 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16250, 10619) found in file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:43:59,835 DEBUG mod.storeTiles: returning tile data for: (vaer_ukos layer, 15, 16250, 10619) (6.81 ms)
2015-10-11 21:44:00,436 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16251, 10623)
2015-10-11 21:44:00,438 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16251, 10623) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:44:00,444 DEBUG mod.storeTiles: tile not found: (vaer_ukos layer, 15, 16251, 10623) (12.33 ms)
2015-10-11 21:44:00,447 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16251, 10624)
2015-10-11 21:44:00,449 DEBUG mod.mapTiles: looking for tile (vaer_ukos layer, 15, 16251, 10623)
2015-10-11 21:44:00,452 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16251, 10624) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:44:00,453 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16251, 10623)
2015-10-11 21:44:00,460 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16251, 10623) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:44:00,462 DEBUG mod.storeTiles: tile not found: (vaer_ukos layer, 15, 16251, 10623) (7.36 ms)
2015-10-11 21:44:00,463 DEBUG mod.mapTiles: tile not found locally (vaer_ukos layer, 15, 16251, 10623)
2015-10-11 21:44:00,464 DEBUG mod.mapTiles: auto tile dl enabled - adding dl request for (vaer_ukos layer, 15, 16251, 10623)
2015-10-11 21:44:00,472 DEBUG mod.storeTiles: tile not found: (vaer_ukos layer, 15, 16251, 10624) (24.23 ms)
2015-10-11 21:44:00,474 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16251, 10623)
2015-10-11 21:44:00,475 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16251, 10623) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:44:00,477 DEBUG mod.storeTiles: tile not found: (vaer_ukos layer, 15, 16251, 10623) (4.58 ms)
2015-10-11 21:44:00,479 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16251, 10624)
2015-10-11 21:44:00,480 DEBUG mod.mapTiles: looking for tile (vaer_ukos layer, 15, 16251, 10624)
2015-10-11 21:44:00,481 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16251, 10624) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:44:00,483 DEBUG mod.storeTiles: tile requested: (vaer_ukos layer, 15, 16251, 10624)
2015-10-11 21:44:00,488 DEBUG mod.storeTiles: tile (vaer_ukos layer, 15, 16251, 10624) got stores: [file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS]
2015-10-11 21:44:00,495 DEBUG mod.storeTiles: tile not found: (vaer_ukos layer, 15, 16251, 10624) (12.30 ms)
2015-10-11 21:44:00,497 DEBUG mod.storeTiles: tile not found: (vaer_ukos layer, 15, 16251, 10624) (11.02 ms)
2015-10-11 21:44:00,497 DEBUG mod.mapTiles: tile not found locally (vaer_ukos layer, 15, 16251, 10624)
2015-10-11 21:44:00,498 DEBUG mod.mapTiles: auto tile dl enabled - adding dl request for (vaer_ukos layer, 15, 16251, 10624)
2015-10-11 21:44:00,534 DEBUG mod.storeTiles: store tile data for: (vaer_ukos layer, 15, 16251, 10624)
2015-10-11 21:44:00,535 DEBUG mod.storeTiles: store tile data for: (vaer_ukos layer, 15, 16251, 10624) into file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:44:00,540 DEBUG mod.storeTiles: stored tile data for: (vaer_ukos layer, 15, 16251, 10624) (4.12 ms)
2015-10-11 21:44:00,541 DEBUG mod.storeTiles: store tile data for: (vaer_ukos layer, 15, 16251, 10624)
2015-10-11 21:44:00,546 DEBUG mod.storeTiles: store tile data for: (vaer_ukos layer, 15, 16251, 10624) into file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:44:00,547 DEBUG mod.storeTiles: store tile data for: (vaer_ukos layer, 15, 16251, 10623)
2015-10-11 21:44:00,549 DEBUG mod.storeTiles: store tile data for: (vaer_ukos layer, 15, 16251, 10623) into file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:44:00,551 DEBUG mod.storeTiles: stored tile data for: (vaer_ukos layer, 15, 16251, 10623) (3.63 ms)
2015-10-11 21:44:00,552 DEBUG mod.storeTiles: store tile data for: (vaer_ukos layer, 15, 16251, 10623)
2015-10-11 21:44:00,557 DEBUG mod.storeTiles: store tile data for: (vaer_ukos layer, 15, 16251, 10623) into file based store @ /home/nemo/.local/share/harbour-modrana/maps/Virtual Earth UKOS
2015-10-11 21:44:00,565 DEBUG mod.storeTiles: stored tile data for: (vaer_ukos layer, 15, 16251, 10623) (5.10 ms)
2015-10-11 21:44:00,562 DEBUG mod.storeTiles: stored tile data for: (vaer_ukos layer, 15, 16251, 10624) (10.44 ms)
2015-10-11 21:44:05,211 DEBUG mod.gui.qt5.qml: map page:
 

The Following 3 Users Say Thank You to skanky For This Useful Post:
Posts: 61 | Thanked: 83 times | Joined on Feb 2010 @ Estonia
#1864
Originally Posted by MartinK View Post
Cool, thanks! Can I add it to the modRana page about import scripts ?

BTW, is there a specification of the format somewhere ? I have recently rewritten the modRana tile storage code to a standalone module Python module, so it is now much easier to add support for new tile storage formats.
Of course! Thats why I put it here.
DB looks like
Code:
CREATE TABLE tiles (x int, y int, z int, s int, image blob, PRIMARY KEY (x,y,z,s))
where z=17-zoom as written here: https://code.google.com/p/big-planet...alStorage.java
Not sure about filenames. Maybe modrana should read every .sqlite file and compare schemas?
 

The Following 3 Users Say Thank You to zod For This Useful Post:
Posts: 368 | Thanked: 975 times | Joined on Aug 2013
#1865
Tried to use the offline maps - extracted them on my device
options -> navigation
-> routing provider - car / monav - on device
-> routing data - Car / netherlands
seems to be recognized but after starting the modrana is still asking for connection to the internet and the maps continuously show "loading"

I also tried to mess around with the maps setting, but doesn't seem to help. Did I miss anything?
 

The Following 3 Users Say Thank You to t-b For This Useful Post:
Posts: 61 | Thanked: 83 times | Joined on Feb 2010 @ Estonia
#1866
Originally Posted by t-b View Post
after starting the modrana is still asking for connection to the internet
just ignore it

Originally Posted by t-b View Post
and the maps continuously show "loading"
seems that you don't have offline maps, only copied monav routing data?

Try to download something with internal downloader. menu->downloader->around here->...
close modrana, disconnect from internet, start it again and check results. also make sure you at the same zoom level as downloaded data. zooming in/out shows your zoom level.
btw you cannot download gmaps!
 

The Following 3 Users Say Thank You to zod For This Useful Post:
Posts: 368 | Thanked: 975 times | Joined on Aug 2013
#1867
http://www.modrana.org/ seems to be offline so I can't check but I think you're right about only copying the routing data. I followed this tutorial https://wiki.maemo.org/ModRana_offli..._map_data_pack
I will test again later this week and try your suggestion.
 

The Following User Says Thank You to t-b For This Useful Post:
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#1868
Originally Posted by nokiabot View Post
storing vector tile data ; this is some news
anyway just day before tomorrow got around 135 km biking unknown lands just using modrana and classic old way of asking locals and it all went fine.
there are a few usablity issues in modrana that i found while using it so long i.e app open for all the time that i ll detail later.
all in all modrana is good enough for navigation

thanks
I'm glad you like it.

Originally Posted by nokiabot View Post
a lil question how to use those thunderforest maps and are they avaible in india as i wont be upgrading modrana for the next month or so beause i have a couple of trips planned so i do not want to poke a working install
i am on o.52.1
You should be able to check on the Thunderforest project website. As for using those map layers in an older modRana version - you should be able to do that by manually applying these two changes to the modRana map layer configuration file in /home/nemo/.config/harbour-modrana/map_config.conf:


https://github.com/M4rtinK/modrana/c...19d172ba01R200
https://github.com/M4rtinK/modrana/c...19d172ba01R678

It should be quite evident what to do from this.

Originally Posted by misiak View Post
Are you from the future, Jonh Titor?
Time travel is not yet implemented in modRana.

And even if implemented it will probably require additional hardware, such as a microwave oven and a large CRT TV. Or LHC.

Originally Posted by MikeHG View Post
Great work Martin! Been torture testing it for a while, and it doesn't lock up any more. Still a couple of blips - it sometimes 'undraws' a part of the map it's already drawn momentarily, but not enough to interfere with use. And I managed to crash it once - I'll try to get a log if I can make it do it again.
Yep, that would help.

Originally Posted by MikeHG View Post
A very impressive achievement though overall - undoubtedly my favorite mapping software now.
Thanks!

Originally Posted by MikeHG View Post
I was thinking, it would be amazing if when I'm tethering my tablet to my phone, I could have a modRana installation on my tablet, and use my phone's modRana installation as a kind of proxy map server. Don't know if that's feasible?
It should be kinda doable already if you mount the tile folder with sshfs over the tethering connection.

But a modRana based tileserver/proxy might indeed not be such a bad idea - it would be definitely mode robust than a sshfs mount due to the current tile downloading code being quite able at handling bad connectivity. There is even already some code for a simple tileserver in modRana from the time I have experimented with loading map tiles to the QML GUI from a simple tileserver running on localhost.

Originally Posted by MikeHG View Post
If so, I could put it on github as a feature request.
Sure, go ahead!

Originally Posted by biketool View Post
Martink, any chance you will divert some time to Ubuntu Touch?
All of the GPS apps are pretty meh right now.
Not likely - I'm still overcommitted as ever, have no Ubuntu Touch hardware and on top of that UT seems to have some serious multitasking limitations. Those could be quite an issues for modRana, as that would mean no updating of your position on the map while in background, no reliable speed statistics, no track recording in background and no navigation while in background in the future, etc.

On the other hand if someone is willing to step up to do the initial port (it should be quite easy if you use QtQuick Controls + Universal Components) and act as a modRana maintainer/packager for Ubuntu Touch, them I am certainly willing to help the person get started.

Originally Posted by pichlo View Post
Last time I tried it (some 2-3 years ago), modRana worked just fine on Ubuntu desktop (x86). Written in Python, it should be pretty portable. It should work on UT too, as long as there is Python in UT.
There are still some ( IMHO quite stupid an unnecessary) changes from normal desktop Ubuntu as described above. They also IIRC they use some custom LOL-lets-make-another-packaging-format on Ubuntu Touch rather than normal Debian packages like on desktop Ubuntu.

On a related note - there is a modRana package repository for the Fedora desktop Linux distribution:

https://copr.fedoraproject.org/coprs/m4rtink/modrana/

This could in principle be done also for other Linux distributions if someone steps up to do the packaging, as modRanas dependencies should be available in most current Linux distributions.

Originally Posted by skanky View Post
Working very nicely and seems much smoother than before. Think you've done a great job on this, thanks.

One question though, I tried the VirtualEarth OS Maps, and though maps downloaded, they certainly weren't OS. It might be that VE is doing something sneaky, but the OS maps are still available on the Bing web interface so I wondered if there's a request error.
I guess they just either discontinued it or changed the URL and the old URL just shows the regular Virtual Earth/Bing maps. Can you see the Ordnance Survey layer in the Virtual Earth/Bing Maps interface ? I haven't been able to find anything like it there now, but it certainly was there.

On the other hand it seems to be possibly to use the Ordnance Survey layers directly once
you get an API key from here:

https://www.ordnancesurvey.co.uk/bus...openspace/api/

The only issues is that the only types of mobile applications they know are "An Android application" and "An iOS application".

As they want you to input some sort of Google Play application ID for the Andoroid application option I guess I will just finally publish the modRana Android port on Google Play to work around this.

Originally Posted by skanky View Post
I've got a debug log but it didn't display the requests. I'll try again with some other options enabled:

Code:
<snip>
I don't see nothing related to the OS layers, but there are still some unrelated errors I will certainly investigate, so thanks for the logs!

Originally Posted by zod View Post
Of course! Thats why I put it here.
DB looks like
Code:
CREATE TABLE tiles (x int, y int, z int, s int, image blob, PRIMARY KEY (x,y,z,s))
where z=17-zoom as written here: https://code.google.com/p/big-planet...alStorage.java
Not sure about filenames. Maybe modrana should read every .sqlite file and compare schemas?
Well, that is certainly an option, even though I would rather like to only use it as a last resort option if the file can't be identified by any other way.

Originally Posted by t-b View Post
Tried to use the offline maps - extracted them on my device
options -> navigation
-> routing provider - car / monav - on device
-> routing data - Car / netherlands
seems to be recognized but after starting the modrana is still asking for connection to the internet and the maps continuously show "loading"

I also tried to mess around with the maps setting, but doesn't seem to help. Did I miss anything?
Offline map rendering is not yet implemented in modRana, only offline routing is.

Originally Posted by zod View Post
just ignore it
You can also switch network usage to minimal in the Network section in Options. That should disable automatic tile download attempts, which are probably triggering those "missing connectivity" dialogs.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 6 Users Say Thank You to MartinK For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1869
Martin,

I'm afraid that all resistance is futile and the toolchain will remain as it is. I suggested this multiple time, even planned a potential solution, but no one wanted to make the needed changes in the autobuilder. It's a pity, indeed.

Besides, there one more proof that we need toolchain upgrade - ocaml build succeeds only when using hathor with qemu 0.13. But who, apart from us, cares?

Anyway, the platform is so terribly outdated that I see its only chance in DebiaN900. It makes no sense upgrading so many packages, as great as Aapo seem to have failed.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following 2 Users Say Thank You to marmistrz For This Useful Post:
Posts: 188 | Thanked: 308 times | Joined on Jan 2013 @ UK
#1870
Originally Posted by MartinK View Post
I guess they just either discontinued it or changed the URL and the old URL just shows the regular Virtual Earth/Bing maps. Can you see the Ordnance Survey layer in the Virtual Earth/Bing Maps interface ? I haven't been able to find anything like it there now, but it certainly was there.
OS are still there on the Bing Maps interface. I've checked both the new and old interfaces. I'm wondering if, with the new interface, the url has changed. I can look into the source of the page showing the OS maps, but I don't know exactly what I'm looking for.

Originally Posted by MartinK View Post
On the other hand it seems to be possibly to use the Ordnance Survey layers directly once
you get an API key from here:

https://www.ordnancesurvey.co.uk/bus...openspace/api/

The only issues is that the only types of mobile applications they know are "An Android application" and "An iOS application".

As they want you to input some sort of Google Play application ID for the Andoroid application option I guess I will just finally publish the modRana Android port on Google Play to work around this.
I've had a look around and I can't see if they link a key to each user (via the Play account) or just one key to the developer and thus all downloaded instances of the application. The former wouldn't work for me, I've not used google for so long I'm not sure I could use my old account, but I may be able to contact OS to work round that. The latter might mean people running up against their fair use limits - though I haven't checked to see how likely that is for modrana.

Originally Posted by MartinK View Post
I don't see nothing related to the OS layers, but there are still some unrelated errors I will certainly investigate, so thanks for the logs!
No problem. Let me know if you want any more logs or tests done.
 

The Following 2 Users Say Thank You to skanky For This Useful Post:
Reply

Tags
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps


 
Forum Jump


All times are GMT. The time now is 11:45.