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)

Jimmyk 2007-02-19 05:13

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

Originally Posted by arnix (Post 34543)
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

So Im trying not to bother people and doing my own research but now Im trying to isntall the sqlite3 and I get the follwing error now:

Unable to Install.
Incompatible Package

Thx!

maxilogan 2007-02-19 08:10

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

Originally Posted by cjackiewicz (Post 34934)
As *.jpg?

--
Cezary

Yes, in fact I have some in jpg and some in bmp, but non of them is shown...

Omar

thaibill 2007-02-19 08:29

Re: Maemo Mapper v1.4 for 770/N800
 
Configuring Mapper 1.4 for the 770 hasn't been sucessssful. First, I upgraded to the latest firmware and was able to install Mapper. Reading thru ITT forum messages have yet found the answers I need. I'm using http://mt.google.com/mt?n=404&v=ap.6&x=%d&y=%d&zoom=%d

My cache directory is /media/mmc2/Maps. I get an error message that either I am not connected to the Internet or the format above is not correct. I have verified connection to the Internet. I read somewhere that x, y, and zoom should contain a number. Is that true? I wish to download maps of North American.

Can anyone help?

thaibill

rcull 2007-02-19 08:34

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

Originally Posted by thaibill (Post 35446)
Configuring Mapper 1.4 for the 770 hasn't been sucessssful. First, I upgraded to the latest firmware and was able to install Mapper. Reading thru ITT forum messages have yet found the answers I need. I'm using http://mt.google.com/mt?n=404&v=ap.6&x=%d&y=%d&zoom=%d

My cache directory is /media/mmc2/Maps. I get an error message that either I am not connected to the Internet or the format above is not correct. I have verified connection to the Internet. I read somewhere that x, y, and zoom should contain a number. Is that true? I wish to download maps of North American.

Can anyone help?

thaibill

try v=w2.99

thaibill 2007-02-19 14:29

Re: Maemo Mapper v1.4 for 770/N800
 
v=w2.99 did the trick.

Mucho thanks,

thaibill

TA-t3 2007-02-19 16:10

Re: Maemo Mapper v1.4 for 770/N800
 
Feature request: I know there is a setting "Enable GPS" that can be manually switched off and on, but it would be nice if it could simply stop searching for a GPS if there wasn't one (the TomTom app. on my Palm does something to that effect). Mine is usually at home, but I like to use the tool as a "google maps" thing, without the GPS.

aflegg 2007-02-19 16:33

Re: Maemo Mapper v1.4 for 770/N800
 
Similarly something clever with downloading of maps when there's no network connection.

jcostantino 2007-02-19 16:45

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

Originally Posted by aflegg (Post 35519)
Similarly something clever with downloading of maps when there's no network connection.

That's in the Manage Maps item under the Maps Menu. Right now there is only the ability to select the upper and lower lat/long and the zoom steps to get but it will download every map that makes up that area at every magnification step that you check.

I would like to see a pixel-doubled version of the maximum zoom (maybe a menu choice for "Zoom 0.5") since the resolution of the screen is so high that I almost have to squint at it even on the closest zoom level.

revwillie 2007-02-19 18:28

Re: Maemo Mapper v1.4 for 770/N800
 
I cannot get 1.4 to install. The sqlite from scirocco wouldn't install either.

Also, is there a way to paste coordinates into mapper to plot a POI? If I download a route with the coordinates as start and finish I get a nice dot but only on a road. I want to see the real location like in a park or field.

gnuite 2007-02-19 22:26

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

Originally Posted by TA-t3 (Post 35510)
Feature request: I know there is a setting "Enable GPS" that can be manually switched off and on, but it would be nice if it could simply stop searching for a GPS if there wasn't one (the TomTom app. on my Palm does something to that effect). Mine is usually at home, but I like to use the tool as a "google maps" thing, without the GPS.

Do you mean that, if Enable GPS is on, then you want it to try to connect to the GPS once, and if that fails, it should automatically disable GPS?

gnuite 2007-02-19 22:27

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

Originally Posted by aflegg (Post 35519)
Similarly something clever with downloading of maps when there's no network connection.

Do you mean that, if Auto-Download is on, and if it fails to download a particular map, then it should automatically disable Auto-Download?

gnuite 2007-02-19 22:31

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

Originally Posted by jcostantino (Post 35522)
I would like to see a pixel-doubled version of the maximum zoom (maybe a menu choice for "Zoom 0.5") since the resolution of the screen is so high that I almost have to squint at it even on the closest zoom level.

You can choose not to download the lowest level (0), at which point it will pixel-double the Zoom-level-1 maps when you want to view Zoom-level-0. That should hold you over until a better solution is implemented.

gnuite 2007-02-19 22:34

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

Originally Posted by revwillie (Post 35547)
I cannot get 1.4 to install. The sqlite from scirocco wouldn't install either.

770 or N800? If the former, are you using the most recent firmware for the 770?

Quote:

Originally Posted by revwillie (Post 35547)
Also, is there a way to paste coordinates into mapper to plot a POI? If I download a route with the coordinates as start and finish I get a nice dot but only on a road. I want to see the real location like in a park or field.

I'm a little unclear on your intentions, but unfortunately, the directions are street-centric - you can only get directions that utilize roads. You can use arbitrary coordinates for POIs (just tap and hold any point on the map), but directions between POIs are limited to the use of roads.

So, although you can create a POI in the middle of a field, you can't actually get directions to that exact point in the field, just to the nearest road.

aflegg 2007-02-20 09:24

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

Originally Posted by gnuite (Post 35585)
Do you mean that, if Auto-Download is on, and if it fails to download a particular map, then it should automatically disable Auto-Download?

Well, it shouldn't be disabled, just not tried again for the lifetime of the current application - or until the "network established" DBUS message is received.

Similarly, for the GPS-finding, if a GPS can't be found, stop looking until the user restarts the app or takes some action to force it to be relooked for.

TA-t3 2007-02-20 09:56

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

Originally Posted by gnuite (Post 35584)
Do you mean that, if Enable GPS is on, then you want it to try to connect to the GPS once, and if that fails, it should automatically disable GPS?

If Enable GPS is on (or set to "on" from "off") it could search, and if it fails, ask e.g. "continue search or quit?" and if the latter it wouldn't search anymore. Enable GPS would still be in its "on" setting so that whenever maemo mapper is started with the GPS at hand it will use it - otherwise not (without having to use the menues).
Not a matter of life or death, obviously, but it would be convenient.:D

GeneralAntilles 2007-02-20 11:31

Re: Maemo Mapper v1.4 for 770/N800
 
For both GPS and Auto-Download: timeouts. After a certain amount of time searching for a GPS unit and not finding one (2 minutes?) it should simply stop searching until the user re-initiates the search. For auto-download if the user is prompted for a connection and clicks cancel either it should stop attempting to download immediately or timeout after a certain time and reinitiate either when the user connects to a network or if the initiate another download attempt.

Another idea that came to mind for easier access to some of the menu options (primarily auto-download and GPS, which the timeout function would solve anyway) is to have the bottom 20-pixels-ish of the screen have 5 or 6 buttons. Small, white, semitransparent icons with vertical white dividers and no background. Clickable over their entire height and width. Keeps as much of the map visible as possible, while providing fast access to some of the buried menu functions. Maybe even a drop-down (or up, in this case) menu to select repositories. I was planning on putting together a mock-up, but hopefully my description will suffice.

revwillie 2007-02-20 15:50

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

Originally Posted by gnuite (Post 35588)
770 or N800? If the former, are you using the most recent firmware for the 770?

770 with gregale (49-2)
Quote:

So, although you can create a POI in the middle of a field, you can't actually get directions to that exact point in the field, just to the nearest road.
Yes, I was wondering if you can generate a POI by entering (copy paste) the real coordinates. If that is not a current function, I don't want to sidetrack the Mapper development cycle for non-driving purposes. The real intention? Geocaching. I'd like to download a route to drive up to the field and a POI dot in the middle of the field would tell me where to walk after I get out of the car.

Mapper works great for it's intended purpose and I'd hate to see it run slower due to unecessary overhead. I'm still learning how POI's work, so I'm trying to figure out if Mapper already can do it. Is there a way to make my own POI database with known coordinates from other sources?

cjackiewicz 2007-02-20 17:53

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

Originally Posted by revwillie (Post 35671)
Is there a way to make my own POI database with known coordinates from other sources?

Yes, it's very simple. Install sqlite3, and:
- create new database:

sqlite3 new_poi.db

- create new category:

sqlite> insert into category (label, desc, enabled) values ('Geocaching', 'Geocaching category', 1);

- new poi:

insert into poi (lat, lon, label, desc, cat_id) vales (52.000, 21.000, 'Box', 'black box', 1);

(where 1 is category ID), add more poi...

- close database - type .q (dot q)

Jimmyk 2007-02-20 19:04

Re: Maemo Mapper v1.4 for 770/N800
 
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

So Im trying not to bother people and doing my own research but now Im trying to isntall the sqlite3 and I get the follwing error now:

Unable to Install.
Incompatible Package

What is this program manager that I heard somebody mention earlier? is that the Application manager? and if so how do I get the sqlite3 to show up there, does it have to be in a certain directory? because when I double click the sqlite3 I just keep getting the following error:


Unable to Install.
Incompatible Package


Thanks!

revwillie 2007-02-20 20:23

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

Originally Posted by cjackiewicz (Post 35683)
Yes, it's very simple. Install sqlite3, and:

thanks for the insight. As soon as I can get squlite30 installed, I'll try. Unfortunately I'm having the same problem as JimmyK.

BTW, are you just issuing commands in a term window? I still haven't installed or discovered a term app.

cjackiewicz 2007-02-20 20:29

Re: Maemo Mapper v1.4 for 770/N800
 
In xterm on n800/n770, on host computer - linux or windows, it doesn't matter. Just remember - version 3 sqlite not 2.

tdmajic 2007-02-21 00:43

Re: Maemo Mapper v1.4 for 770/N800
 
hello, i just dn ld da new mm & when i try install sqlite3 it says it's not compatible. any ideas? also when ever try to add to the app. catalogue my package list won't refresh. thanks for help

howardcb 2007-02-22 01:41

Re: Maemo Mapper v1.4 for 770/N800
 
Maemomapper 1.4 installed fine (along with flite), and it has worked great. However, it suddenly started having trouble starting - the screen says maemomapper loading, but the program never starts. It usually starts the next time. It also can no longer download google maps; instead it gets a URL error. It works OK with VE maps. (I downloaded the map repositories using the download option in maemomapper.)

I'm using it with a Holux GPSlim 240 on a N800.

Any ideas? I haven't added any additional software.

Howard

revwillie 2007-02-22 05:31

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

Originally Posted by tdmajic (Post 35779)
hello, i just dn ld da new mm & when i try install sqlite3 it says it's not compatible. any ideas? also when ever try to add to the app. catalogue my package list won't refresh. thanks for help

I was in the same boat. This page has the libsqlite3 you need

Quote:

Originally Posted by howardcb (Post 35912)
It also can no longer download google maps; instead it gets a URL error. It works OK with VE maps. (I downloaded the map repositories using the download option in maemomapper.)

Same here.

heikkri 2007-02-22 11:46

Re: Maemo Mapper v1.4 for 770/N800
 
N800, mapper v1.4, cannot get icons working for POIs.
32x32 jpeg, paths and names set as told earlier in this thread.
Has somebody got own icons working ?? If yes, please tell...

TheMax 2007-02-22 13:19

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

Originally Posted by heikkri (Post 35950)
N800, mapper v1.4, cannot get icons working for POIs.
32x32 jpeg, paths and names set as told earlier in this thread.
Has somebody got own icons working ?? If yes, please tell...

Icons for POIs in v1.4 don't work anymore (changes from sqlite0 to sqlite3).
If you have your own scratchbox and you can build your own maemo-mapper you can fix it in the source maemo-mapper.c.

Change ...
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);
to ...
gchar *poi_label = g_utf8_strdown(sqlite3_column_text(
_stmt_select_poi, 3), -1);
gchar *cat_label = g_utf8_strdown(sqlite3_column_text(
_stmt_select_poi, 6), -1);

ilia 2007-02-22 21:35

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

Originally Posted by TA-t3 (Post 35656)
If Enable GPS is on (or set to "on" from "off") it could search, and if it fails, ask e.g. "continue search or quit?" and if the latter it wouldn't search anymore. Enable GPS would still be in its "on" setting so that whenever maemo mapper is started with the GPS at hand it will use it - otherwise not (without having to use the menues).
Not a matter of life or death, obviously, but it would be convenient.:D

I second this request.

Another feature request. Add a way to make a specific repository the default one. Currently the first one in the list is the default one.

ilia 2007-02-22 21:43

Re: Maemo Mapper v1.4 for 770/N800
 
I'm getting some messages on STDERR. I'm using 3.2006.49-2. My GPS works fine. The GPS is a Holux GPSlim 236.

channel_cb_input: Bad checksum in NMEA sentence:
$GPVTG,344.92,T,,M,0.00,N,0$GPGGA,214111.000,4346. 3274,N,07924.0842,W,1,10,0.9,173.8,M,-35.2,M,,0000*65
channel_cb_input: Bad checksum in NMEA sentence:
$GPVTG,344.92,T,,M,0.00,N,0$GPGGA,214116.000,4346. 3276,N,07924.0842,W,1,10,0.9,174.8,M,-35.2,M,,0000*67

ilia 2007-02-22 21:45

Re: Maemo Mapper v1.4 for 770/N800
 
I'm also seeing a bit fat 0 (zero) digit in the top-left corner of the map when i hit Auto-Center (the enter key on the d-pad).

The digit changes to 7 (seven) randomly. This appears to happen while connected to the GPS receiver. the GPS receiver is located 8 metres or so away through a wall. Could that be why?

cjackiewicz 2007-02-22 22:09

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

Originally Posted by ilia (Post 36032)
I'm also seeing a bit fat 0 (zero) digit in the top-left corner of the map when i hit Auto-Center (the enter key on the d-pad).

The digit changes to 7 (seven) randomly. This appears to happen while connected to the GPS receiver. the GPS receiver is located 8 metres or so away through a wall. Could that be why?

Speedwarner. Menu Settings/Misc2, uncheck "Speed limit"

--
Cezary

ilia 2007-02-22 22:11

Re: Maemo Mapper v1.4 for 770/N800
 
doh. thanks.

gnuite 2007-02-23 01:38

Re: Maemo Mapper v1.4 for 770/N800
 
I've been a little busy, but here's a quick update on my status...

libsqlite3-0 is now in the gregale repository. There should be no more problems with trying to install Maemo Mapper from a fresh flash of the latest firmware on the 770.

Sorry about the icons - will be fixed in the next release.

I added a dialog box that pops up when Maemo Mapper fails to connect to the GPS receiver. It will be available in the next release.

I'm adding some built-in route generation functionality (right-click menu items to add points and waypoints to the route).

And, finally, I'm adding some on-device documentation, including context-sensitive help and a quick start section. Hopefully, this begins to address the abysmal documentation problem.

Next release should be this weekend.

EDIT: Oh yeah, and the next release will have Finnish localization - thanks to Marko Vertainen.

YoDude 2007-02-23 03:13

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

Originally Posted by gnuite (Post 36058)
I've been a little busy, but here's a quick update on my status...

libsqlite3-0 is now in the gregale repository. There should be no more problems with trying to install Maemo Mapper from a fresh flash of the latest firmware on the 770.

Sorry about the icons - will be fixed in the next release.

I added a dialog box that pops up when Maemo Mapper fails to connect to the GPS receiver. It will be available in the next release.

I'm adding some built-in route generation functionality (right-click menu items to add points and waypoints to the route).

And, finally, I'm adding some on-device documentation, including context-sensitive help and a quick start section. Hopefully, this begins to address the abysmal documentation problem.

Next release should be this weekend.

EDIT: Oh yeah, and the next release will have Finnish localization - thanks to Marko Vertainen.

You rock!
With all this talk of what the N800 has or doesn't have you guys delivered what some envisioned all along. A stand alone app that uses data found on-line that can be stored and used on the device while not connected.
Kudos!

Lets hope this is just the beginning of many more such apps for PIM, web mail, and news readers.

Do you have a the ability to accept donations to the cause and would it be acceptable to post a link in this thread?

TheMax 2007-02-23 06:54

Re: Maemo Mapper v1.4 for 770/N800
 
Another feature request:
If no GPS is conneted copy the current position to the GPS position.
This makes "Download Route to..." and "Show Distance to" more usable.

A new menuitem in the Location Menu like "Copy Lat/Lon to GPS" can do this with the code:
static gboolean
cmenu_cb_loc_gps_latlon(GtkAction *action)
{
guint unitx, unity;
gfloat lat, lon;

printf("%s()\n", __PRETTY_FUNCTION__);

unitx = x2unit(_cmenu_position_x);
unity = y2unit(_cmenu_position_y);
unit2latlon(unitx, unity, lat, lon);

_gps.latitude = lat;
_gps.longitude = lon;

vprintf("%s(): return TRUE\n", __PRETTY_FUNCTION__);
return TRUE;
}

kempja 2007-02-23 14:49

Re: Maemo Mapper v1.4 for 770/N800
 
1 Attachment(s)
Ah you've been busy Gnuite!

Remember I asked you about using your own scanned maps a week ago on the old thread; I had no joy with Mapfit as i'ts not supported by MM 1.4. However, I have found a microsoft research tool that will allow you to geo reference your own maps - good bit....then it will render that 'warped-to-fit map' into the constiuent 256x256 png bitmaps, naming them as well, at various (or user specified) zoom levels - the neat bit!

All you have to do then is file them correctly, or point to them in the repository some how.......your bit!

MapCruncher is here http://research.microsoft.com/mapcruncher/
- it took about 20 mins to place the tie points for a 4000x4000 UTM projected 1/25k topo map; then 5 minutes processing by the programme.

It also generates an xml file, which may help...this details what tiles have been named how and at what zoom level; this could be used to generate and place tiles into the MM directory structure... I can't seem to attach it, though:confused:

See what you think - the fit is v usable - see attachment.

kempja:)

GeneralAntilles 2007-02-23 18:19

Re: Maemo Mapper v1.4 for 770/N800
 
I wonder if anybody knows of a nautical repository. It would be great if I could use this on the water.

gnuite 2007-02-24 00:02

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

Originally Posted by YoDude (Post 36064)
You rock!
With all this talk of what the N800 has or doesn't have you guys delivered what some envisioned all along. A stand alone app that uses data found on-line that can be stored and used on the device while not connected.
Kudos!

Lets hope this is just the beginning of many more such apps for PIM, web mail, and news readers.

Do you have a the ability to accept donations to the cause and would it be acceptable to post a link in this thread?

Thanks for your kind words! :)

There is a link to donate to the Maemo Mapper cause on the Maemo Mapper Home Page:

http://www.gnuite.com/nokia770/maemo-mapper/

Just click the "Make a Donation" button. And thanks! :)

gnuite 2007-02-24 00:03

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

Originally Posted by TheMax (Post 36079)
Another feature request:
If no GPS is conneted copy the current position to the GPS position.
This makes "Download Route to..." and "Show Distance to" more usable.

Those context menus are getting a little crowded, but if there's room, I'll add it in.

Thanks for the suggestion.

gnuite 2007-02-24 00:10

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

Originally Posted by kempja (Post 36121)
Ah you've been busy Gnuite!

Remember I asked you about using your own scanned maps a week ago on the old thread; I had no joy with Mapfit as i'ts not supported by MM 1.4. However, I have found a microsoft research tool that will allow you to geo reference your own maps - good bit....then it will render that 'warped-to-fit map' into the constiuent 256x256 png bitmaps, naming them as well, at various (or user specified) zoom levels - the neat bit!

All you have to do then is file them correctly, or point to them in the repository some how.......your bit!

It sounds like it's possible to write a script that could re-hierarchize the MapCruncher-generated map images into Maemo Mapper's expected directory hierarchy, possibly using the XML file as a guide?

The code for converting lat/lon to tile number (and vice versa) is in the Maemo Mapper source code, if you want to use it - it's GPL, after all.

kempja 2007-02-26 09:33

Re: Maemo Mapper v1.4 for 770/N800
 
1 Attachment(s)
The last thing I maganged to program was a new VCR! Progamming is not in my arsenal - although I did a bit of BASIC at school 30 years ago!

Mapcrucher produces a sample web page from which I took that screenshot sample attached on my post; perhaps it would be easier to point the map repository at that page with the appropriate URL, then just download as normal?


All times are GMT. The time now is 09:06.

vBulletin® Version 3.8.8