Adjust pixelspacing in restrict and add support for coordinate names