Archive for the ‘Python’ Category

QGIS Hackfest Vienna

Cropped thumbnail

Just back from the QGIS Hackfest! This time, the event took place within the OSGEO Code Sprint, it was great to meet all the guys working on the other projects.

(more...) »

Learning kivy the easy way

Cropped thumbnail

Last month I started learning  kivy, kivy is an exciting Python framework for building rich interactive applications ready to run on different platforms, currently Linux, Windows, IOS and Android are supported. The framework supports accelerated graphics for smooth transitions and a better user experience, different input methods are also supported making kivy an ideal choice for […]

(more...) »

Ligthning fast routing with OSRM

Cropped thumbnail

OSRM is a lightning fast open source routing engine for OpenStreetMap data. We are now using it in all the websites managed by our Django-powered GeoRouter platform.

(more...) »

Controlling Arduino from OpenERP

Recently, I started learning OpenERP: what better occasion to develop a module to control an Arduino UNO Board? I’ve already blogged about PyFirmata (see: http://www.itopen.it/?s=pyfirmata), which is a python library to control an Arduino board flashed with Firmata firmware, this nice library integrates perfectly with OpenERP and let you read/write analog and digital values from […]

(more...) »

Driving a 7-segments display with arduino CD4511 and pyfirmata

Cropped thumbnail

My experiments with the Arduino platform continue with a small 7-segments common cathode LED display and a cheap IC (Integrated Circuit) CD4511. This IC is basically a BCD (Binary Coded Decimal) to 7-segments driver, you feed it with a 4-bit array and it lights up corresponding segments on the display, additional pins on the IC allow […]

(more...) »

Arduino pyfirmata LDR semaphore

Cropped thumbnail

A few days ago I was experimenting with the firmata library on Arduino uno, the simple experiment I describe here is about a LED semaphore triggered by a Ligh Dependent Resistor (LDR). Firmata is a software library which implements the firmata protocol, better described in the website http://firmata.org/wiki/Main_Page : Firmata is a generic protocol for communicating […]

(more...) »

Serving your map tiles 30 times faster

Recently I’ve been experimenting with TileStache tiles caching system, which is similar to TileCache and other tile caching systems in scope. TileStache revealed itself as a powerful and flexible product and was very good to cache tiles generated with my Django-backed mapscript-powered WMS server. Caching and serving tiles with TileStache was by far faster then […]

(more...) »

TileStache Vector simplify provider

Cropped thumbnail

This is the third part of the story that I started with part 1: Polymaps, TileStache and SVG CSS styling issues part 2: TileStache Django tiny wrapper during my experiments I wanted to reach the goal of minimize both the bandwith consuption and the number of vector coordinates that the browser needs to handle, this means that […]

(more...) »

TileStache Django tiny wrapper

This is the second part of the story about my experiments with the wonderful TileStache that I started with TileStache and Polymaps SVG experiments. First, I would like to thank Michal for the quick patch inclusion, the Polymaps patch is still waiting for the pull and the Django admin patch is awating for somebody to […]

(more...) »

Polymaps, TileStache and SVG CSS styling issues

A few days ago I started playing with Polymaps and TileStache, two very promising WebGIS building tools. The final goal of this experiments was the integration with Django. Polymaps Polymaps is a Javascript library aimed to display svg maps in a web page, recently I’ve watched to an interesting talk about a Django-powered app built […]

(more...) »