maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Karttabrowser - N9 map software for OziExplorer map format (https://talk.maemo.org/showthread.php?t=87973)

JuhoP 2012-11-22 15:30

Karttabrowser - N9 map software for OziExplorer map format
 
Hi,

I recently made public "alpha" version of my little mobile programming project. The goal of the software is to browse raster maps with OziExplorer calibration format in Nokia N9. GPS navigation and such basic tasks work decently.

I haven't been very active on this project lately, and it's not really ready, but decided to publish it in case someone else might find use for it. I probably continue development when the summer approaches and I need maps again. In any case, basic functionality should work already, so if you need a software for OziExplorer maps on your N9, you might be interested in this.

The link to N9 .deb binaries: https://bitbucket.org/juhop/karttabrowser/downloads

You can also find the source code from those repositories if you're interested.

Instructions:
- go to https://bitbucket.org/juhop/karttabrowser/downloads and download the .deb file
- install the file on your N9
- run the application, you should see black screen. close the application
- copy your maps to /home/user/MyDocs/Maps/ folder (or if you mount your phone as mass storage, you should see Maps folder)
- maps should have a .map file and an image file
- start Karttabrowser, open map, enjoy


Things I'm planning to do:
- in map list screen, give an option to filter maps to current GPS location
- show distance in landmarks
- UI tweaking
- hmm. Sailfish version?

Feedback is of course welcome.

xes 2012-11-22 16:01

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Wow...interesting....

One question.... and for the N900?

JuhoP 2012-11-22 16:15

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Quote:

Originally Posted by xes (Post 1297273)
One question.... and for the N900?

Unfortunately I don't own N900, so developing would not work for me. Small part of the UI would have to be rewritten because now it uses some Harmattan specific components.

xes 2012-11-22 16:22

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Quote:

Originally Posted by JuhoP (Post 1297275)
Unfortunately I don't own N900, so developing would not work for me. Small part of the UI would have to be rewritten because now it uses some Harmattan specific components.

:( ...at this moment i'm using this:

http://talk.maemo.org/showthread.php?t=85686

marmistrz 2012-11-22 16:30

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Hi,
What exactly is Harmattan-specific? Looking at debian/control and MapBrowser.qml I don't see anything that wouldn't run with latest qt-components-10
If there's indeed something specific, maybe you'd adapt it for meecolay?

JuhoP 2012-11-22 16:43

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Quote:

Originally Posted by marmistrz (Post 1297281)
Hi,
What exactly is Harmattan-specific? Looking at debian/control and MapBrowser.qml I don't see anything that wouldn't run with latest qt-components-10
If there's indeed something specific, maybe you'd adapt it for meecolay?

Thanks, I didn't know that. For some reason I though com.nokia.meego was somehow Harmattan specific. So if qt-components work in N900, it might be easy to build N900 version.

marmistrz 2012-11-22 16:45

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Quote:

Originally Posted by JuhoP (Post 1297284)
Thanks, I didn't know that. For some reason I though com.nokia.meego was somehow Harmattan specific. So if qt-components work in N900, it might be easy to build N900 version.

You should remove the applauncherd boost, as applauncherd port is not already working. But it's not a necessity.

But you have to remove the invoker command - just execute the binary

And add field
Code:

X-CSSU-Force-Landscape=true
As PageStackWindow apps can't be blacklisted and double rotate when forced rotation enabled.

xes 2012-11-22 16:53

Re: Karttabrowser - N9 map software for OziExplorer map format
 
make on the N900:
...

marmistrz 2012-11-22 17:16

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Quote:

Originally Posted by xes (Post 1297288)
make on the N900:
...

You need to use http://www.developer.nokia.com/Commu...ation_on_Maemo

xes 2012-11-22 17:18

Re: Karttabrowser - N9 map software for OziExplorer map format
 
my fault.....i have just added some include in the makefile to use qtm12-dev...
..the make gear is running...

mapmarkers.o: In function `MapMarkers::MapMarkers(MapCalibration*, QObject*)':
mapmarkers.cpp:(.text+0xf6): undefined reference to `QtMobility::QLandmarkManager::QLandmarkManager(QO bject*)'
mapmarkers.o: In function `MapMarkers::MapMarkers(MapCalibration*, QObject*)':
mapmarkers.cpp:(.text+0x15a): undefined reference to `QtMobility::QLandmarkManager::QLandmarkManager(QO bject*)'
mapmarkers.o: In function `landmarkFromLid(QString const&, QtMobility::QLandmarkManager*)':
mapmarkers.cpp:(.text+0x19a): undefined reference to `QtMobility::QLandmarkId::QLandmarkId()'


...it seems to require a little more time...

marmistrz 2012-11-22 17:20

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Quote:

Originally Posted by xes (Post 1297292)
my fault.....i have just added some include in the makefile to use qtm12-dev...
..the make gear is running...

You need to modify .pro, not the makefile. Read the link.

JuhoP 2012-11-22 17:39

Re: Karttabrowser - N9 map software for OziExplorer map format
 
Well, if you'll get it to work on N900, it's nice to hear.

However, a little warning: I just remembered one thing that might be a big problem in N900. My application loads the map images to RAM, so the bigger the map is (in pixels), the more memory it will use. This wasn't a problem in N9, where there is 1GB of memory, but I don't know about N900. I'm afraid big maps might be totally unusable.

Good luck.


All times are GMT. The time now is 22:14.

vBulletin® Version 3.8.8