Library for a database independent spatial index creation