Hallo Jaecko,
schau mal hier..............
http://www.dbs.ifi.lmu.de/Lehre/GIS/SS2009/Skript/Kap-06.pdf