April 14, 2009

Or/Js: Osmarender in your own browser

Posted in Or/js tagged , , at 8:01 pm by fadinlight

9th_orjs_rendering1

Relevant links

Well, very very long time since my last post. What I would like to showcase this time is a little project of mine I’ve been working on in the last weeks, with great and unvaluable guidance from the author of or/p, Frederik Ramm.

It’s still work in progress, but to me looks very promising: it’s a JavaScript porting of or/p, the perl porting from the original Osmarender XSLT. It obviously performs slower than the Perl code (about 3 times slower), but it hopefully can get faster thanks to the future Firefox integration with Tracemonkey. Furthermore, if I can get to integrate it with SQLite Firefox engine, it’ll probably gain more and more speed. Downloading locally from the SVN, giving it permissions and using the enhanced load XML, it’ll even loads local files (with a common file browsing window) or downloads the XML OSM data file from the API giving it a permalink from OpenStreetMap’s slippy map. This is something that, in the future, will be done also when serving the script online, using a signed script or making it a Firefox extension. I hope to integrate it, before or then, with Osmarender Frontend, to give it a pretty real WYSIWYG feeling!

Enjoy!

Advertisements

January 13, 2009

MyTaH: call for reviews

Posted in MyTaH tagged , , at 6:06 pm by fadinlight

Relevant links

If you like my little MyTaH Firefox extension, and if you want to keep it updated from Mozilla Addon site like any other Firefox extension, please take some time to write a little review. It’s needed by Mozilla policies before publishing it in their repository.

You can help in two ways:

Why should you be concerned? Have a look at planned improvements.. and obviously add your opinion if you feel like! 🙂

December 17, 2008

MyTaH Firefox extension 0.2

Posted in MyTaH tagged , , at 4:13 pm by fadinlight

20081217_mytah_02

Relevant links

Fast post just to let you know I’ve updated MyTaH Firefox extension.

Release notes

  • Now monitoring also:
    • Number of tiles uploaded
    • Number of KB uploaded
    • Idle Time
    • Tiles remaining to gain a better rank
  • All the monitors are shown as a tooltip when the mouse is over the MyTaH extension
  • In the Preferences dialog you can select which monitor you want to see in the status bar

20081217_mytah_02_preferences

  • New option in the menu to update the data immediately

20081217_mytah_02_updatenow

  • Now my account is no longer the default one. If no user account is requested in the preferences dialog a “No name” warning will appear in the status bar

20081217_mytah_02_noname

Furthermore, I’ve taken an account at Mozilla Addon and submitted my extension. Now it’s in the sandbox waiting for review… I hope (after any eventual fix they’ll ask me) to have it published before or then 🙂

December 16, 2008

MyTaH Firefox extension

Posted in MyTaH tagged , , at 1:11 pm by fadinlight

20081216_mytah_01

Relevant links

As I’ve told some weeks ago, I was starting to develop a little Firefox extension to monitor my own Tiles@Home ranking from this page. I was totally new on Firefox extension developing, but I’ve managed to do something working and useful in a few time anyway 🙂

As you can see in this post’s image, MyTaH will sit in your Firefox’s status bar, displaying your current ranking (by number of tiles). Clicking with the right mouse button, you can view “Preferences” or “About” dialog (which you can see in the post’s image as well). In the Preferences dialog window you can write your username or your user id, and how often (in minutes) you want your ranking be fetched and updated. Please be aware that, by default, you’ll see my actual ranking. Not perfect, but… release early release often 🙂

Enjoy!

November 22, 2008

Back to work

Posted in GSoC tagged , , , , , , , , at 4:38 pm by fadinlight

It’s been a long time since the last post. After successfully passed my exam I took a little holiday trip camping around Europe with my girlfriend Claudia (thanks to Frederik Ramm who took us around for a morning in Karlsruhe :)) and then I was a little buried in everyday stuff and everyday work. Now I’ve managed to have more spare time to return back working on Osmarender Frontend!

I was not totally outside OSM however, when I had a little time I’ve managed to remain in touch with the community and doing some little works:

  • I’ve given a talk @ Linux Day 2008 in Rome about OpenStreetMap on October 25th (thanks to LS-Lug for hosting, Simone Cortesi for slides and Martin Koppenhoefer, his girlfriend and their friend for coming there! :))
  • I’ve started to get in touch a little bit with OSMTracker devs because of lack of compatibility with my Samsung Omnia i900. I spent an evening with Rubke and Ldp in chat talking about Marco Polci’s cool work (Pollicino), which already had some compatibility with WM internal GPSes. Now, however, an Intermediate driver for internal GPSes has been developed independently and OSMTracker is fully compatible with my cell phone. Furthermore, I’ve subscribed OSMTracker mailing list.
  • Learnt to use a really great software to use in sync with OSMTracker for mapping, called JTileDownloader
  • Thanks to Virtual Tiles@Home, I’ve managed to get Tiles@Home working on my old Windows box and begun helping actively. However now it’s not working anymore, hope to find a solution when I’ll have more time 😦 As I’ve seen one mail talking about Osmarender Frontend, I’ve subscribed TaH mailing list to not miss possible future mails.
  • In the meantime I was starting to study for developing a little Firefox extension to monitor user’s Tiles@Home activity. I’ve already written some lines of code, but stay tuned for updates 😉
  • I’ve changed Osmarender wiki to link to my Osmarender Frontend wiki page
  • I’ve subscribed the Openstreetmap Italy Facebook group
  • Replied to Jiri Klement (hope to reply again soon) about his new Osmarender rules file format proposal
  • Last but not least… managed to read thousands of emails coming from OSM mailing lists 🙂

Yesterday I’ve done some commits to keep Osmarender Frontend in sync with bobkare’s work on Osmarender’s SVN reorganization. I need however to work to get Osmarender Frontend fully compatible with the new SVN layout, and that means:

  • Using always the latest Osmarender XSLT and latest rule files.
  • Keep dojotoolkit outside the svn (no more svn:externals, so I need other solutions to link to the library) and write some shell scripts to download it (and jsdoctoolkit, and jsunit for developing).
  • Let Osmarender Frontend be fully compatible again with symbols, that are now again outside the rule file.

Before starting to code Osmarender Frontend again, however, today I’m working on a little, very beautiful (to me) surprise for all devs that I’m planning to release tomorrowStay tuned!