private void SaveDynamicGeoPoints() { var dynamicPoints = DrawLib.GetMaskIndexes(_pathToEdgedDynamicFile); var landsatDescription = new LandsatDataDescription(_dataFolders.Last()); var currentTemporaryImage = landsatDescription.Channel4.Raw; var geographicPoints = ClipImageHelper.GetGeographicPointsByPointsIndexes(dynamicPoints, currentTemporaryImage, _polygon); JsonHelper.Serialize(_pathToDynamicPointsJson, geographicPoints); }