Currently, in order to create a collection from a shapefile, the user has to - read the shapefile - translate the field types into PostGres-types (e.g. int64 -> integer) - geodb.create_collection(...) - geodb.insert_into_collection(...) There should be a single method for that task.