svir: add export_geometries boolean parameter; delete stuff related to the old DB version.