maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Maemo Mapper v1.4 for 770/N800 (https://talk.maemo.org/showthread.php?t=4691)

gnuite 2007-02-13 05:23

Maemo Mapper v1.4 for 770/N800
 
Install for the Nokia 770 or the Nokia N800:(Note: To run Maemo Mapper on the Nokia 770, you must have the latest version of the firmware, 3.2006.49-2.)

There is now a help file in Maemo Mapper - just select the "Help" menu item from inside Maemo Mapper. There's even a quick "Getting Started" section to help new users get accustomed to how Maemo Mapper works.

This is the first release targeted specifically to both the Nokia 770 and the Nokia N800. The code is identical, but due to the differences in platform library versions (and due to code optimization flags), the binary .deb files will (from now on) take on two different forms:

1. maemo-mapper_1.4.4-2_armel.deb - The "-2" refers to "maemo2" and means that this file is built for the Nokia 770.
2. maemo-mapper_1.4.4-3_armel.deb - The "-3" refers to "maemo3" and means that this file is built for the Nokia N800.

If you are getting a dependency error, then you will have to upgrade to the most recent official firmware (3.2006.49-2, aka maemo 2.2, aka gregale). This is NOT the OS2007-on-770 firmware, so you don't have to worry about it breaking your 770. I hate to force you guys into update, but it is necessary in order to properly support both the 770 and the N800 platforms. I should probably remove those debs from the mistral and scirocco repostitories, though - woops, my bad.

Besides the obvious change, this release changes the database backend from sqlite0 to sqlite3. Although this will increase performance slightly, and it is already installed on the N800 (thus facilitating code sharing), it does mean that you will have to reformat your POI databases. The old databases will not (necessarily?) work with the new version of Maemo Mapper. You may be able to find a conversion utility on the internet, but I haven't looked.

If you are getting the "encrypted or is not a database" error, please delete the "poi.db" file and restart Maemo Mapper (at which point Maemo Mapper will create a new poi.db). If you haven't changed the defaults, then the file should be located in the Documents directory. I apologize for the inconvenience. If you want to keep your old POIs, you will have to convert the poi.db file as instructed above.

Oh, and one other new feature: you can now download a list of map repositories directly from the internet (hosted by www.gnuite.com). In the Repository Manager, just push the "Download..." button and (assuming you are connected to the internet) Maemo Mapper will download a set of the following 5 repositories for you to use (subject to their respective license agreements):

Google Maps (street)
http://mt.google.com/mt?n=404&v=w2.9...d&y=%d&zoom=%d

Google Maps (satellite)
http://kh.google.com/kh?n=404&v=99&t=%s

Virtual Earth (street)
http://r0.ortho.tiles.virtualearth.n.../r%0s.png?g=45

Virtual Earth (satellite)
http://a0.ortho.tiles.virtualearth.n...a%0s.jpeg?g=50

Virtual Earth (hybrid)
http://h0.ortho.tiles.virtualearth.n...h%0s.jpeg?g=50

arnix 2007-02-13 07:23

Re: Maemo Mapper v1.4 for 770/N800
 
beat me... but how to install sqlite>3.0 on os2006??
---
AAhh, installing it with the programmanager worked! great!
Thx a lot, dude!
:D :D :D

kempja 2007-02-13 08:07

Re: Maemo Mapper v1.4 for 770/N800
 
Amix,

Use these in your aplication loader (start app mgr >tools>application catalogue then select a new catalogue)

http://repository.maemo.org/ scirocco free non-free

you should then find libsqlite0 install that.

kempja

disq 2007-02-13 08:22

Re: Maemo Mapper v1.4 for 770/N800
 
the lib to look for is actually libsqlite3-0
it is provided with python and some other stuff in the n800 (doesn't come preinstalled iirc)

kempja 2007-02-13 10:54

Re: Maemo Mapper v1.4 for 770/N800
 
I just tried the 1.4 deb,but am getting a hildon-libd0 (>=0.12.24-3) error?
I have loaded libsqlit3-0 already.

Any ideas?


cheers

gnuite 2007-02-13 13:58

Re: Maemo Mapper v1.4 for 770/N800
 
Quote:

Originally Posted by kempja (Post 34558)
I just tried the 1.4 deb,but am getting a hildon-libd0 (>=0.12.24-3) error?
I have loaded libsqlit3-0 already.

Any ideas?

Do you mean hildon-libs0? I assume this is for the 770. Is anyone else experiencing this error on the 770? If so, which version of the firmware are you running? I hope this build doesn't require gregale, because if it does, I'm going to be upset.

I built the deb using gregale, since that's the only one that works with the new scratchbox that is required by bora, but I didn't think that it required gregale in order to run.

cjackiewicz 2007-02-13 15:04

Re: Maemo Mapper v1.4 for 770/N800
 
Previous firmware: 2.2006.39-14; yes, missing dependency.

Tragos 2007-02-13 18:53

Re: Maemo Mapper v1.4 for 770/N800
 
Quote:

Originally Posted by kempja (Post 34558)
I just tried the 1.4 deb,but am getting a hildon-libd0 (>=0.12.24-3) error?
I have loaded libsqlit3-0 already.

Any ideas?


cheers

I had the same problem with firmware 2.2006.39-14. After upgrading to latest firmware (3.2006.49-2) the installation worked.

kempja 2007-02-13 19:08

Re: Maemo Mapper v1.4 for 770/N800
 
:rolleyes: yep I'm on2.2006.39-14 on a 770; I'll try the upgrade if I can get my kids off the PC - half the reason for having the tablet!

arnix 2007-02-13 19:29

Re: Maemo Mapper v1.4 for 770/N800
 
3.2006.49-2 works great..
I only get the error message at startup:
Failed to open or create database:
file is encrypted or is not a database :confused:
poi.db exists but is empty...

danesh 2007-02-13 19:35

Re: Maemo Mapper v1.4 for 770/N800
 
get the same error at startup:
Failed to open or create database:
file is encrypted or is not a database
poi.db exists but is empty...

cjackiewicz 2007-02-13 19:43

Re: Maemo Mapper v1.4 for 770/N800
 
Please, remove this database, because db version is not compatibile (v2 for mm <= 1.3.5 and v3 for 1.4).

OR

convert database:

sqlite poi.db .dump | sqlite3 poi3.db

(you must have installed both version - sqlite (v2) and sqlite3 (v3)

ilia 2007-02-13 20:09

Re: Maemo Mapper v1.4 for 770/N800
 
where is the CHANGELOG?

arnix 2007-02-13 20:15

Re: Maemo Mapper v1.4 for 770/N800
 
the file is empty....
no change in removing this file...
error still remains ;(

danesh 2007-02-13 20:16

Re: Maemo Mapper v1.4 for 770/N800
 
so how does one remove the database, remove install the program again or is there a way just to remove that datatbase

arnix 2007-02-13 20:26

Re: Maemo Mapper v1.4 for 770/N800
 
I removed all completly..
makes no effect...
:cool:

rcull 2007-02-13 21:28

Re: Maemo Mapper v1.4 for 770/N800
 
In maemo-mapper settings on the poi tab there is a poi daabase path. make a note and exit mapper. Use either file manager ( or xterm ) to move or delete. Restart mapper and all should be fine.

fldude99 2007-02-13 21:36

Re: Maemo Mapper v1.4 for 770/N800
 
Quote:

Originally Posted by arnix (Post 34643)
I removed all completly..
makes no effect...
:cool:


i removed the poi file and the next time i restarted the app the error msg was gone and a new poi file was created

ilia 2007-02-13 22:06

Re: Maemo Mapper v1.4 for 770/N800
 
I'm getting the hildon error too. I'm on 2.2006.39-14. Do I need to upgrade firmware?

gnuite 2007-02-13 22:48

Re: Maemo Mapper v1.4 for 770/N800
 
The Changelog is in the same place as all the others: on the Maemo Mapper Files page (click a version number to see release notes and the changelog for that particular version).

If you are getting a dependency error, then you will have to upgrade to the most recent official firmware (3.2006.49-2, aka maemo 2.2, aka gregale). This is NOT the OS2007-on-770 firmware, so you don't have to worry about it breaking your 770. I hate to force you guys into update, but it is necessary in order to properly support both the 770 and the N800 platforms. I should probably remove those debs from the mistral and scirocco repostitories, though - woops, my bad.

If you are getting the "encrypted or is not a database" error, please delete the "poi.db" file and restart Maemo Mapper (at which point Maemo Mapper will create a new poi.db). If you haven't changed the defaults, then the file should be located in the Documents directory. I apologize for the inconvenience. If you want to keep your old POIs, you will have to convert the poi.db file as instructed above.

kempja 2007-02-14 09:02

Re: Maemo Mapper v1.4 for 770/N800
 
Thanks all - Upgraded and sorted the POI db - all fine and dandy. However I am getting a big 0 in the top Left of the screen, but only when the Gps is enabled and on - sometimes I see it countdown 2-1-0, leaving the big zero.

Any ideas?

fredoll 2007-02-14 10:09

Re: Maemo Mapper v1.4 for 770/N800
 
Re Poi.db
you'll have to go to your "Documents" folder and suppress the poi.db file.
Then Maemo Mapper will create another one with sqlite3

Re The big Zero :
It's your current speed : you can set it up in settings

Fred

TA-t3 2007-02-14 11:02

Re: Maemo Mapper v1.4 for 770/N800
 
Got it installed, works nicely with my TomTom Mark I GPS. :)
One small feature request: An option to set the N800 clock from the GPS clock?

gnuite 2007-02-14 21:43

Re: Maemo Mapper v1.4 for 770/N800
 
Quote:

Originally Posted by TA-t3 (Post 34717)
Got it installed, works nicely with my TomTom Mark I GPS. :)
One small feature request: An option to set the N800 clock from the GPS clock?

This would indeed be sweet - a great alternative to NTP. And with such a crappy hardware clock, some kind of time sync is necessary.

Anybody know if this is possible with a D-Bus call or even just a regular osso function, something that doesn't require root access? osso_time_set() doesn't appear to be what I'm looking for...

mzandrew 2007-02-15 06:01

Re: Maemo Mapper v1.4 for 770/N800
 
> sqlite poi.db .dump | sqlite3 poi3.db
thanks for figuring out how to upgrade the db, cjackiewicz!

Gnuite, would it be possible to throw cjackiewicz's database upgrade line into the install script for the newer versions of maemo mapper?

I know it'd have to have sqlite v2 and sqlite v3 installed at the same time, which may be a waste, but it'd be handy...

maxilogan 2007-02-15 09:41

Re: Maemo Mapper v1.4 for 770/N800
 
Will a sqlite3 database created for the old cjackiewicz patch, work with this version of Maemo Mapper?

Omar

cjackiewicz 2007-02-15 09:44

Re: Maemo Mapper v1.4 for 770/N800
 
Yes, these same internal structure.

maxilogan 2007-02-15 09:49

Re: Maemo Mapper v1.4 for 770/N800
 
Wow! Lightning speed :)

Thanks a lot, I still should have on my MMC a Tomtom POI database converted for your patch of Maemo Mapper :D

merilasse 2007-02-15 12:14

Re: Maemo Mapper v1.4 for 770/N800
 
Hi :)
I believe it would be Very useful for marine and aviation use, if there would be possibility to create vector database to memorycard, just like POIs. (and with few diffrent colours pleeease) ;)

maxilogan 2007-02-15 16:19

Re: Maemo Mapper v1.4 for 770/N800
 
I just installed the 1.4 version but have the following problem: the POIs will just show a purple square instead of the corresponding icon. I mantained the same structure as for the patch of old Maemo Mapper ("poi" subdir of the folder where the database is, icons with the same name of the category)

cjackiewicz 2007-02-15 16:40

Re: Maemo Mapper v1.4 for 770/N800
 
Put it in {repo}/poi folder

cjackiewicz 2007-02-15 17:00

Re: Maemo Mapper v1.4 for 770/N800
 
gnuite: you should make wiki. Simpler way to make documentation for maemo-mapper :)

maxilogan 2007-02-15 17:27

Re: Maemo Mapper v1.4 for 770/N800
 
Quote:

Originally Posted by cjackiewicz (Post 34923)
Put it in {repo}/poi folder

In fact it already *is* in (repo)/poi.. :confused:

cjackiewicz 2007-02-15 17:38

Re: Maemo Mapper v1.4 for 770/N800
 
As *.jpg?

--
Cezary

gnuite 2007-02-15 18:00

Re: Maemo Mapper v1.4 for 770/N800
 
Quote:

Originally Posted by cjackiewicz (Post 34928)
gnuite: you should make wiki. Simpler way to make documentation for maemo-mapper :)

Yes, I know documentation is a huge problem for maemo-mapper...

If you can figure out how it works, there is supposed to be a way to create wiki documentation on downloads.maemo.org... Try here:

https://test.maemo.org/developers/do...sandbox/index/

Good luck, though; Midgard sucks.

oceans777 2007-02-15 22:04

Re: Maemo Mapper v1.4 for 770/N800
 
Wow -I just got an N800 this week and got Maemo Mapper running with the maps last night - this has to be the coolest app I've seen in a long, long time.
I've been showing people I work with and they are all amazed - very cool application and the new map repository download sure makes it a lot easier for us newbs to get up and tracking.

pumo 2007-02-16 12:42

Re: Maemo Mapper v1.4 for 770/N800
 
Hi! I liked alot this great app! thanks for it.
but still like to use own map files, because google or VE doesn't provide topo maps to Finland...

TheMax 2007-02-18 19:39

Re: Maemo Mapper v1.4 for 770/N800
 
Quote:

Originally Posted by maxilogan (Post 34932)
In fact it already *is* in (repo)/poi.. :confused:

I have the same poi icon problem.
Is the source code broken, column numbers mismatch?

drawing poi using column 2 (poi label) and 5 (cat label):
...
gchar *poi_label = g_utf8_strdown(sqlite3_column_text(
_stmt_select_poi, 2), -1);
gchar *cat_label = g_utf8_strdown(sqlite3_column_text(
_stmt_select_poi, 5), -1);

initializing the select statement, column 4 is poi label and 7 is cat label:
...
sqlite3_prepare(_db,
"select p.lat, p.lon, p.poi_id, p.label, p.desc,"
" p.cat_id, c.label, c.desc"
" from poi p, category c "
" where p.lat between ? and ? "
" and p.lon between ? and ? "
" and c.enabled = 1 and p.cat_id = c.cat_id",
-1, &_stmt_select_poi, NULL);

...

Jimmyk 2007-02-18 21:08

Re: Maemo Mapper v1.4 for 770/N800
 
Hey guys

Not sure what Im doing wrong I got my nokia 770 mainly for this app.


First thing I did I pulled it out of the box and flashed it to:
Internet Tablet OS 2006 edition
Vesion: 3.2006.49-2

I proceeded to download Verion 1.4 but I get the following error when I click it and try to install:

Unable to install.
Some packages required for the insallation missing

What am I doing wrong?

Thx!

Jimmy

gnuite 2007-02-19 00:03

Re: Maemo Mapper v1.4 for 770/N800
 
Quote:

Originally Posted by Jimmyk (Post 35394)
I proceeded to download Verion 1.4 but I get the following error when I click it and try to install:

Unable to install.
Some packages required for the insallation missing

That's strange. I uploaded to gregale-extras the libsqlite3-0 debian required to install Maemo Mapper on the Nokia 770, but it doesn't appear to have been added to the Packages list, or to the pool.

Until that gets fixed, you can install the libsqlite3-0 from the scirocco repository:
http://repository.maemo.org/extras/p...sso1_armel.deb


All times are GMT. The time now is 17:55.

vBulletin® Version 3.8.8