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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: