run InitSpatialMetadata in a transaction --> much faster