Archives for Coding

Search MUIMapparium Photos

Posted by ALB42 on 17. Mai 2018One Comment

Worked on the broken Search function, I guess I will publish this tomorrow, the new functions are not finished but without the search function the program is more or less useless. The new function is the list of Photo with EXIF GPS positions, as Mapparium also had. It can use Datatypes (need jpg Datatype of course) or the internal pascal JPG loaded, which seems to be slower most of the time, especially on big endian systems. The photos are grouped by date if you double click the date entry it try get all photo markers in sight, when clicking on a photo it shows it.

Attention MUIMapparium Search function

Posted by ALB42 on 16. Mai 2018No Comments

Currently the Search function is broken, because the service used for it changed to SSL only which is not supported by MUIMapparium at the moment.
I will work on this the next days, so wait for 0.7 to fix that.

and because there is an error in the source MUIMapparium will crash instead of printing the errorcode

The routing function is also affected by this of course.

Sorry.

Datatypes for all

Posted by ALB42 on 14. Mai 20184 Comments

I created the datatypes unit for AmigaOS4 and AROS and rewrote the ones for Amiga68k and MorphOS. OF course the aim is again to make them more or less compatible to each other. Of course also wrote a little test program and compiled for all systems which works nice.

DataTypes test for Amiga68k, MorphOS, AmigaOS4 and AROS

Now I have to learn how to actually use Datatypes in a program, especially seems sometimes the datatypes seems to scale down to 8 bit (256 colors) even the screen has 24 bit which I do not understand and if there is a way to let the datatype scale the image to the right size. I use the BitmapScale from graphics.library but this is awfully slow (At least on AROS, even my straigh forward nearest neighbor routine is faster than that).

More Track Statistics

Posted by ALB42 on 10. Mai 2018No Comments

When calculating the statistics value for the track export I thought it would be nice to have them for the normal Tracks Properties Window as well and also repaired the color indicator for the right and left axis for MUI (in Zune it worked).

Export smooth tracks

Posted by ALB42 on 6. Mai 2018No Comments

With such a nice weather I drive a little bit more bicycle, therefore the track function of MUIMapparium is more interesting at the moment.
First of course the export I added for the Route also is useful for the track and there even more, because we can print out some additional informations about the track.
Depending on the Program recording the track the data can be very noisy so I added a simple smoothing function.

MUIMapparium Export Images / HTML

Posted by ALB42 on 5. Mai 2018No Comments

To be honest, the YOURS route finding is very bad, I need to find a replacement for it, the openrouteservice looks nice but I guess to really use it I have to host it myself.
Besides that I’m working on PNG export for MUIMapparium and also export the Route as HTML with the overview (just the current view of window).

MUIMapparium 0.6

Posted by ALB42 on 1. Mai 20183 Comments

After a long time I decided that MUIMapparium has enough bugfixes and improvements to make a new release.
The biggest changes are the Manual, the faster network speed, an about window and route calculation.

Changelog:

  • BugFix: OS4 ToolType reading
  • BugFix: Track plot enabling
  • BugFix: Deleting Tiles
  • Update Checking
  • Amiga Guide manual
  • About MUI Menu Entry
  • About Window
  • Reopen Statistics Window on start if left open on quit
  • Set color for Tracks and Routes
  • Show Route Orders jump to position
  • Block redrawing when moving map (prevents map jumping)
  • Faster Image Download
  • Choose double click map feature lists mode
  • Popup menu for all map feature lists
  • ASCII Export for plot
  • Calculate Routes with YOURS
  • Include *.cd file for own translations

Download at the MUIMapparium Page

MUIMapparium 0.6 with About Game

MUIMapparium Route Creation

Posted by ALB42 on 1. Mai 2018No Comments

I was working on the route creation, sadly it seems the OpenLS is not available anymore for routing, so only YOURS is left. Thats a little bit pity because YOURS calculate nicely the route and orders for it, but sadly it does not show where the orders take place. (OpenLS did that, even there the route calculation was a little bit odd sometimes, thats teh reason I supplied both in Mapparium).
Nevertheless, it works now with YOURS for now, need a little bit more tweaking (especially to get the start/end point from current map center for example)

The search I managed now to put into a PopObject, if you type the search press enter or search button it will do a search (like the main search) and open the popup with the list of results a double click on an entry set it as start/stop point

MUIIDE – Menu stuff

Posted by ALB42 on 25. März 2018No Comments

Traveling is nice, but also nice to be back. As wrote in he travel blog entry I worked on the MUIIDE, especially on the Menu creating stuff, which is quiet difficult things, but prepares other stuff to come (like listview and lists). You can create now very easily Menus with Submenus with the IDE.

There seems to be a little bug, sometimes when I change a combobox active entry, the GUI does not follow it. I debugged it a little bit, and it seems like and updating problem, because after resizing the window everything seems to be normal. Needs some more investigation.

MorphOS Greetings from Hong Kong

Posted by ALB42 on 19. März 20185 Comments

I’m currently on travel in Hong Kong, China and South Korea. I bought a PowerBook to take with me as my only Computer (+ mobile phone of course). The plan was to work a little bit on the free time on the MUIIDE and try MorphOS on the daily use.
Now some time is passed and it worked rather nicely. I had some problems in China to connect to the WLAN access point (it somehow worked but very slow). I switched to mobile phone 3G/4G WLAN sharing (iPhone) to MorphOS which works nicely. In South Korea and Hong Kong the WLAN in Hotel works flawlessly. Now it’s common that every Hotel room has it’s own WLAN access point in the room. If you often switch the Network it’s a little bit trouble, because sometimes the Network will go down when then WLAN disappears but will not come up again if it appears again (or an other known one). Even go to Network settings and force to the new WLAN does not help, but after a Restart of the Computer everything is fine.

Basically that’s the only problem I noticed, everything else works nicely. listing music with Digital Audio Player, Check emails via OWB or SimpleMail, Check my servers via SSH, Watch movies with MPlayer (via from USB Stick) writing code with Scribble, compile with FPC 😉 handle git with MoGit and git, surf Web with OWB (shows nicely chinese characters) and of course write this Article with image upload ;-). Overall not bad certainly daily use compatible for my usecases.

Coding for MorphOS in Hong Kong