maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Maemo Mapper v2.6 - SQLite and APRS (https://talk.maemo.org/showthread.php?t=27381)

Jeffgrado 2009-03-21 15:51

Re: Maemo Mapper v2.6 - SQLite and APRS
 
http://www.elcomresearch.com/shop/item.aspx?itemid=11

This appears to be a BT TNC

bac522 2009-03-21 15:55

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Ugh...have yet another problem. MM is no longer talking with my GPS and when I go into "Settings" everything under the GPS tab is greyed out except "GPSD Host". I don't have gpsd install on my device...I don't believe...and besides before I upgraded I was using the bluetooth setting.

Any recommendation on how to fix? I tried uninstalling MM, delete .maemo-mappper directory, then re-install, but it didn't work.

Man, this version upgrade is causing some problems for me. Again this is on the 770 with OS2006.

GeraldKo 2009-03-21 16:20

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by Snake (Post 273525)
Well, where I'm waiting for my N810 I try Maemo Mapper 2.6.2 with my N770 OS2006. So I'd like to load some maps I can use with N770 and N810 later. Because I think it should be easier to download the maps on PC and copy to the IT I have tried WinMapper (updated 03.19.2009). After a short time I got a file named "-Google Street.db" and moved it to the IT. On MM I created a new map repository with the new file as cache file. But I only get a black map. There are some special steps needed?

Regards,
Frank

Frank, I think you're making life hard for yourself. It's really easy to download maps directly into MM -- have you tried it? See my post #4 in this thread (and the posts above it for context).

buurmas 2009-03-23 03:24

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by Snake (Post 273525)
After a short time I got a file named "-Google Street.db" and moved it to the IT. On MM I created a new map repository with the new file as cache file. But I only get a black map.

Did you notice that the readme file said to run the Download multiple times to make sure it got everything? The first time I ran it, it went for a long time but the resulting db file was very small. Second time around I'm up to half a GB.

BTW, WinMapper didn't have a choice for OpenStreetMap, but I assume the URL could be copied from MaemoMapper into WM's repos.txt file.

buurmas 2009-03-23 12:22

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Having lots of problems with WinMapper(03.19.2008). First of all, the file it saves has a db extension. Is that the right one for sqlite in Maemomapper?

Next, I'm downloading Google Street, zoom levels 4, 7, 10, 13 for the whole US. My initial attempts were mentioned above. My third & fourth attempts have resulted in Windows throwing up the "Lock Computer" dialog (after hours of downloading on a slow broadband), which I've never seen before. When I click OK, Windows gives me a thread initialization error for winmapper. I try to open Task Manager and I get an application failed to start error . I can try to be more precise, but it certainly seems like runaway resource usage. And after all that, my "~Google Street.db" file hardly grew at all.

Maybe I should follow GeraldKo's advice, but I hate to tie up my n810 (OS2008) with such a large download and possibly overflow my memory card (I don't trust Maemomapper's download size estimates). Thanks to any who can shed light &/or assist.

YoDude 2009-03-23 13:04

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by buurmas (Post 273873)
Having lots of problems with WinMapper(03.19.2008). First of all, the file it saves has a db extension. Is that the right one for sqlite in Maemomapper?

Next, I'm downloading Google Street, zoom levels 4, 7, 10, 13 for the whole US. My initial attempts were mentioned above. My third & fourth attempts have resulted in Windows throwing up the "Lock Computer" dialog (after hours of downloading on a slow broadband), which I've never seen before. When I click OK, Windows gives me a thread initialization error for winmapper. I try to open Task Manager and I get an application failed to start error . I can try to be more precise, but it certainly seems like runaway resource usage. And after all that, my "~Google Street.db" file hardly grew at all.

Maybe I should follow GeraldKo's advice, but I hate to tie up my n810 (OS2008) with such a large download and possibly overflow my memory card (I don't trust Maemomapper's download size estimates). Thanks to any who can shed light &/or assist.


Either way you are likely to get the same results using Googles repositories. Many report that they do not work anymore and return just blank pages. When I try one I get the same results.

The new WinMapper does not appear to output to Sqlite... at least it hasn't worked for me.

Your best bet is to use the VE or Yahoo repositories and down load just one zoom level at a time using the tablet. I also imagine that requests are logged by their servers and large hits could get their attention. VE and Yahoo might then do what Google has apparently done, and somehow block our access. :eek:

You may also find that the continental US at zoom 4 is a bit ambitious. I suggest downloading zoom 4 maps from a series of smaller regions.

I don't think you are having problems with Maemo Mapper v2.6... a new 2.8 GB (and still growing) Hybrid Sqlite3 file is working as advertised on my N800. :)

Snake 2009-03-23 13:05

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by GeraldKo (Post 273549)
Frank, I think you're making life hard for yourself. It's really easy to download maps directly into MM -- have you tried it?

Yes I've tried it and it works good - if I load only a small area. But I want to cache whole Germany with zoom levels 8,10,12,14 on VE Hybrid and Google Streets and some areas with levels 4 and 6 too.
For saver work I download all levels separately (to one cache file).
Well, 12 and 14 are fast without trouble. But on lower levels MM is closing itself after short time of download. (all on N770 OS2006)

Maybe I should wait for my N810 and try it again. ;)

Thx & regards,
Frank

GeraldKo 2009-03-23 15:31

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by Snake (Post 273879)
Yes I've tried it and it works good - if I load only a small area. But I want to cache whole Germany with zoom levels 8,10,12,14 on VE Hybrid and Google Streets and some areas with levels 4 and 6 too.
For saver work I download all levels separately (to one cache file).
Well, 12 and 14 are fast without trouble. But on lower levels MM is closing itself after short time of download. (all on N770 OS2006)

Maybe I should wait for my N810 and try it again. ;)

Thx & regards,
Frank

Yes, you're trying to download much more than I have. If I try to download a whole bunch at a time, I have the same problem, on my N800. So I think the N810 would have the problem, too. I just have the whole US at, I think, 14, a few states down to 12, and two cities down to 4 (4,5,6,8,10,12). Then I have two additional folders with about the same arrangements, for two other countries.

GeraldKo 2009-03-23 15:36

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by YoDude (Post 273878)
Either way you are likely to get the same results using Googles repositories. Many report that they do not work anymore and return just blank pages. When I try one I get the same results.

...
Your best bet is to use the VE or Yahoo repositories and down load just one zoom level at a time using the tablet. I also imagine that requests are logged by their servers and large hits could get their attention. VE and Yahoo might then do what Google has apparently done, and somehow block our access. :eek:

I'm having no problems downloading Google Street Maps, so I don't think Google is blocking anything. The way I'm set up, I don't think I'm using the SQLite format, and maybe that's the issue. (I think I'm still on the old format because I start new maps by copying a folder I set up pre-SQLite that has the whole world at Level 16, and then adding to that.)

TA-t3 2009-03-23 15:40

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Wasn't there a way in Maemo Mapper to set POIs, in the past? What I mean is to click on a point on the map and get a pop-up to set a POI and give it a label. Something like that. I'm certain I've done that in the past, because I have a number of POIs (entered by me) in my old maps already.

But I can't find a way to do it, not even with the 'help' function. I can only find options for importing, exporting and browsing POIs, and that's not what I want to do.

GeraldKo 2009-03-23 15:43

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by TA-t3 (Post 273893)
Wasn't there a way in Maemo Mapper to set POIs, in the past? What I mean is to click on a point on the map and get a pop-up to set a POI and give it a label. Something like that. I'm certain I've done that in the past, because I have a number of POIs (entered by me) in my old maps already.

But I can't find a way to do it, not even with the 'help' function. I can only find options for importing, exporting and browsing POIs, and that's not what I want to do.

Click and hold, and from the context menu select Tap Point (not POI).

TA-t3 2009-03-23 15:58

Re: Maemo Mapper v2.6 - SQLite and APRS
 
I click and hold, but there's no pop-up (context menu) at all. (2.6.2 on OS2007)

GeraldKo 2009-03-23 16:17

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by TA-t3 (Post 273899)
I click and hold, but there's no pop-up (context menu) at all. (2.6.2 on OS2007)

I've seen other people complain about that somewhere on iTT with the recent MM update. I don't know if it's related, but I'm using Diablo (and 2.6.2), not OS2007.

TA-t3 2009-03-23 16:45

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Thanks. I'll look around for any other problem reports. Seems I remembered correctly when I thought I could indeed just click and hold in the past.

buurmas 2009-03-24 14:23

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by YoDude (Post 273878)
Either way you are likely to get the same results using Googles repositories. Many report that they do not work anymore and return just blank pages. When I try one I get the same results.

I thought it was only Google Satellite.

Quote:

Originally Posted by YoDude (Post 273878)
Your best bet is to (...) down load just one zoom level at a time using the tablet.

Yes, I think this will be my next move.

bac522 2009-03-24 19:13

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by TA-t3 (Post 273899)
I click and hold, but there's no pop-up (context menu) at all. (2.6.2 on OS2007)

Yup...I'm having the same problem on OS2006.

ioan 2009-03-24 19:19

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by buurmas (Post 273873)
Having lots of problems with WinMapper(03.19.2008).

WinMapper doesn't work well yet. Gnuite made some modifications in maemo-mapper for the zoom levels and I didn't had time to update my code.

YoDude 2009-03-24 22:55

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by buurmas (Post 274178)
I thought it was only Google Satellite...


Both are working for me again so who knows?

I don't use G_ satellite anyway. VE Hybrid gives me what I need for a "live" view and it has labels.
G_ street map is the best though as far as color, labels, and line width IMHO.

I toggle between the two adding a traffic layer to G_street and using VE Hybrid below zoom 6...

TA-t3 2009-03-25 10:35

Re: Maemo Mapper v2.6 - SQLite and APRS
 
I got g. satellite working again with the url that someone posted earlier (possibly in this thread but I didn't bookmark it). Me happy.

My only problem now is that bug which seems to be only in the os2006/2007 version: tap-and-hold doesn't work (for settting pois etc.)

YoDude 2009-03-26 12:25

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by TA-t3 (Post 274429)
I got g. satellite working again with the url that someone posted earlier (possibly in this thread but I didn't bookmark it). Me happy.

My only problem now is that bug which seems to be only in the os2006/2007 version: tap-and-hold doesn't work (for settting pois etc.)

It works for me.
It may be something particular to your set-up... a library pulled from the developers repo for another app perhaps?

TA-t3 2009-03-26 13:22

Re: Maemo Mapper v2.6 - SQLite and APRS
 
No, my repos are all very much standard, and tap-and-hold worked in earlier versions (but I don't know if it worked in the previous version, because I didn't try to add a poi with that version. So I only know that it must have stopped working between a version from last year and this one.)
tap-and-hold still works as usual in other tap-and-hold applications.

Lord Raiden 2009-03-26 15:08

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Ya know, I've been doing a bit of research into sqlite, and I like it a lot better than the old DB system by far. GDBM would give you aneurysms just trying to understand it. But SQlite works a lot like MySQL, which should make creating a shell script that does essentially the same thing for Linux users what Winmapper does for Windows users very easy. I'd code it myself, but my perl skills are the suckage these days. I do mostly web programming in php, so my perl skills have gone south.

But it's very easily doable for someone who might be interested in writing such a script that's good with perl. Also, variables to get it started could either be configured in the script itself, or called from the command line.

ve1fis 2009-03-30 22:00

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by tobiasj (Post 272184)
I have heard that, but for me bluetooth is the way to go. I want to mount the radio in the trunk and leave the NIT in its mount on my dash.

I will look into soundmodem and if its possible I will try to port it and see what happens...

-John

Have you had a chance to look into soundmodem? I compiled and installed it a few weeks ago, but I was not able to get it to work properly. I don't recall exactly what technical problems I ran into, but I think my limited understanding of ALSA was a big problem...

I would be willing to get back into this if anyone else out there is interested and wants to collaborate.

-Frank
VE1FIS

TA-t3 2009-04-04 16:11

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by bac522 (Post 273542)
Ugh...have yet another problem. MM is no longer talking with my GPS and when I go into "Settings" everything under the GPS tab is greyed out except "GPSD Host". I don't have gpsd install on my device...I don't believe...and besides before I upgraded I was using the bluetooth setting.[..]

I have exactly the same problem (N800, OS2007, MM v2.6.2)
The Bluetooth part is greyed out, I can see my BT GPS mac address there, and it is even selected (the little ring to the left is tick'ed). MM sits in 'searching for GPS receiver' forever. I can select GPSD (but I can't switch back to the grey'ed out BT), but that makes no difference. There's even a /usr/sbin/gpsd installed on my system.

The BT connection worked fine with the earlier (pre-v2.6.1) version.

darshan_ucb 2009-04-04 19:18

Re: Maemo Mapper v2.6 - SQLite and APRS
 
hi ,
can anybody help using maomo mapper on n800 ,installed correcting ,can not open at all ......do idea what's wrong .....

kind regards,

dave

Red 2009-04-05 19:20

Re: Maemo Mapper v2.6 - SQLite and APRS
 
I've just updated, and MM will no longer run. When I run from terminal I get the following:
maemo-mapper[2040]: GLIB WARNING ** Gtk - gtk_widget_size_allocate(): attempt to allocate widget with width -24 and height 0
maemo-mapper[2040]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x11db18, 3ba65ede-ebfd-4878-b636-3e728623699d, WLAN_INFRA, 0)
gdbm fatal: read error

Does anyone have any pointers as to what might be causing this? I do notice some odd calls on widget size up there; I don't know if that's relevant.

Laughing Man 2009-04-06 04:47

Re: Maemo Mapper v2.6 - SQLite and APRS
 
*sighs* MaemoMapper is now having issues since it seemed to have crashed my tablet while downloading maps (tablet reboot). Now whenever I try to download maps using the map downloading tool, versus regular browsing of the map (by clicking around) it instant crashes maemo mapper.

EDIT: Nevermind even clicking around past an area that needs to be downloaded will crash tablet.


Hmm it says "gbdm fatal: read error". But I thought it uses SQLite now? (I deleted everything when I upgraded and let it remake the files..Please don't tell me I've been just redownlaoding all my gbdm maps again). When I upgraded I made sure to delete all the files, delete the repos, and just repopulate the list.

EDIT 2: Red, I get a similar error. Though MaemoMapper has been running fine for me for a while till it crashed downloading maps which seemed to bugger the database file.

Red 2009-04-06 06:07

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Your comment about gdbm and map corruption gave me an idea. Rename your map files one by one until MM becomes stable. I just did that and MM is now working fine.

Laughing Man 2009-04-06 13:47

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Renaming what files? The databases like Gstreet.db? By doing so you would just be creating a new .db file and then have to redownload all the maps again.

Edit: Deleted the Google Street repo and created a new one.. but now I have..

Gstreet.db (the old one)
#Gstreet# (the new one)

o.O

Edit2: Can anyone tell me if SQLITE still uses a .db file? Also does anyone else have problems when they try to download large amounts of map (100+ MB) causing crashes in either Maemo Mapper or the tablet restarting (probably due to a lock up)

Also does anyone know if it's possible to run a virtual version of Maemo in VirtualBox. Since Winmapper doesn't seem to be working with SQLite. I was thinking, if it was possible to install Maemo into Virtualbox, install maemo mapper, download maps through there. Then transfer to tablet.

Laughing Man 2009-04-08 02:39

Re: Maemo Mapper v2.6 - SQLite and APRS
 
I gave up and just re-created the file. *sighs*. I guess I'll have to keep backups of it from now on.

Anyway, is it possible to create an alert system for POI? For example, I'm a member of a few sites that report speed/red light cameras and Maryland recently passed a bill to increase the amount of speed cameras (oh joy). Anyway, it'd be useful if I could actually use the POI from the sites I contribute to in MaemoMapper. Basically my idea is to use my category of POI called camera. Then maybe have MaemoMapper play some alarm or a loud distinct beep when your coming up to a certain POI.

dantonic 2009-04-08 19:14

Re: Maemo Mapper v2.6 - SQLite and APRS
 
is winmapper working for anyone?

bousch 2009-04-09 16:02

Re: Maemo Mapper v2.6 - SQLite and APRS
 
I wonder why downloading to a sqlite db is so much slower than gdbm... Have to download overnight at the moment, or use my spare n800.

My sqlite db takes more then two minutes to download a screenfull at the current zoom. GDBM takes less than 15 seconds for the same task.

manooe 2009-04-14 04:27

Re: Maemo Mapper v2.6 - SQLite and APRS
 
since I upgraded to this version, my maemo mapper seems to locate the wrong location which is about 300km from the correct point.
anyone have the same problem with me and could you suggest the solution ?
I have reinstalled maemo mappper and reloaded all the maps but the problem still exists. Maemo mapper even shows the wrong tracklogs which used to be right in the previous version.
------------------

My tracklog is showed correctly on Google Earth thus I suppose that the problem are calibration in Maemo Mapper. I did delete all the pre-loaded Map and download all the map again but nothing changed.

Could anyone help me ?

bousch 2009-04-14 11:49

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Maybe a silly question but are your time and timezone set correctly?

manooe 2009-04-14 16:59

Re: Maemo Mapper v2.6 - SQLite and APRS
 
They are still set correctly. :(

manooe 2009-04-16 01:52

Re: Maemo Mapper v2.6 - SQLite and APRS
 
After a day, waiting hopelessly, I downgraded to version 2.3.1 and maps are corrected again.

However, I still miss some functions of the later version. So could anyone point out the reason why ?

TA-t3 2009-04-22 15:15

Re: Maemo Mapper v2.6 - SQLite and APRS
 
APRS: Anyone know how to increase the font size of the aprs labels? The only font size settings in maemo mapper appears to be the size of the font in pop-up messages.

FRZ 2009-04-28 18:26

Re: Maemo Mapper v2.6 - SQLite and APRS
 
I am having issue downloading routes. I keeo getting error; wrong source or destination but the same information works when I enter it into the website in firefox. And most of the time maemo mapper just freezes after selecting download for route in the menu. I then have to close maemo mapper and restart it.

this route I had before but deleted doing a maemo reinstall. I forgot to save it.

tsm1mt 2009-05-11 16:17

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Woo-hoo.

Finally.. I have a working APRS setup.

Originally I was fooling around with gpsd and dumping the contents to a USB Serial adapter to my OpenTracker, but fought with the serial drivers for a while, then found the APRS patches to Mapper and fooled around getting Scratchbox installed so I could compile and so on..

Ultimately, I drug my feet long enough that now it all works.


MicroUSB to MiniUSB adapter
MiniUSB OTG to USB.
New PL2302 USB to Serial adapter from Ebay
Null Model Cable
OpenTracker+ in KISS mode
ADI AT-201 2m handheld

After booting up, insmod-ing the usbserial and pl2303 drivers, plugging in the USB adapter and pile of cables..

Over the weekend, I "heard" several area RF APRS stations and they arrived in the "Stations Heard" list and I was able to jump to their positions on the map.

I also beaconed out my position at least once, when it was also heard by an IGATE (5w rubber-duck makes being heard a little difficult).

This morning I finally tracked down an Internet IGATE and was able to get the "Montana APRS" feed and ALSO saw stations appearing in MaemoMapper supplied via the Internet.

Success.

Now to either auto-load the serial drivers at boot, and/or get a Bluetooth to serial adapter so I can cut down on the tangle of wires.

The N810 is small enough. The OpenTracker is small enough, but the pile of wires is a mess. :D

THANK YOU. My N810 is now becoming the APRS device I was hoping it would be.

-Tom
KE7VUX

Eric G 2009-05-13 02:34

Re: Maemo Mapper v2.6 - SQLite and APRS
 
Quote:

Originally Posted by tsm1mt (Post 286495)
Woo-hoo.

Finally.. I have a working APRS setup.

Originally I was fooling around with gpsd and dumping the contents to a USB Serial adapter to my OpenTracker, but fought with the serial drivers for a while, then found the APRS patches to Mapper and fooled around getting Scratchbox installed so I could compile and so on..

Ultimately, I drug my feet long enough that now it all works.


MicroUSB to MiniUSB adapter
MiniUSB OTG to USB.
New PL2302 USB to Serial adapter from Ebay
Null Model Cable
OpenTracker+ in KISS mode
ADI AT-201 2m handheld

-Tom
KE7VUX

That's really cool. I've been hoping to see some Amateur radio apps for some time now. Just wondering, I have a BT to RS232 adapter. How tough do you think it might be to use it instead of all the cables? I'd really like to get the N800 working with my Kenwood D-700 (or D7 HT).

Eric
N3KQX


All times are GMT. The time now is 08:18.

vBulletin® Version 3.8.8