Run POI tools as WSGI.
As long as it is not included in Django, you need to apply the patch attached to bug 11948 to get LineString interpolation. It requires GEOS 3.2.
If you did not use layman yet, install layman.
USE="git" emerge layman echo "source /var/lib/layman/make.conf" >> /etc/make.conf
Add the POI tools overlay to
/etc/layman/layman.cfg by adding the second line to overlays:
overlays : http://www.gentoo.org/proj/en/overlays/repositories.xml http://gitorious.org/osm-poi-tools/gentoo-overlay/blobs/raw/master/overlays.xml
Update the overlays, add the POI tools overlay and install MonetDB:
layman -S layman -a osm-poi-tools USE="python odbc sphinx" emerge monetdb-geom
Install the Importer:
TODO: provide poitools ebuild that depends on the rest