View Single Post
gnuite's Avatar
Posts: 1,245 | Thanked: 421 times | Joined on Dec 2005
#73
Originally Posted by mikemorrison View Post
hi gnuite. i love you're program and i like your ideas for 2.0. i'm interested in hearing how you plan to implement rotation and perspective.
Because I have more memory to work with in the N800, I'll just have to extend the current in-memory image to extend to a square the width of at least the diagonal of the fullscreen display plus one tile, which equates to a 5x5 tile square (1280x1280). Then I'll use standard GDK image processing to rotate and center that image as necessary, optionally using smoothing to keep it readable. It'll probably require at least 4 times as much memory (twice the number of pixels in memory, plus an intermediate buffer for the rotation processing), plus a lot more CPU requirements, but people have been asking for rotation for a while, and with the N800, it's a lot easier to digest.

Originally Posted by mikemorrison View Post
- allow importing large images (scanned maps for instance) into the map database. when importing it would ask for a couple lat/long points within the image for calibration and could crop & scale for various zoom levels.
This might be nice for a third-party application (even if it's written by me) to consider doing. I don't think it belongs in Maemo Mapper proper.
Originally Posted by mikemorrison View Post
- fix the crash that occurs when the gps is turned off while connected to maemo mapper
I think that's up to Nokia. I have done everything I can to debug this, but the seg fault is in GLIB code, which (to me) implies an improper handling of the "out-of-range" or "device-turned-off" event. Note that this bug is not present on the 770 (even though Maemo Mapper's code is identical).
Originally Posted by mikemorrison View Post
- consider breaking maemo-mapper.c into multiple files. at nearly 15000 lines of code, people may be less intimidated to help on the project if it were more modular.
That is already in progress. For what it's worth, the very first version of Maemo Mapper was less than 1,000 lines long, and I kept it in a single file to ease development and to improve performance (it's easier for the compiler to optimize code in a single object file). Obviously, the project has grown considerably since then.

Thanks for the feedback.