GerH,
There are two issues here,
1. one is the earthing method of generator. If the generator is a large one and high impedance earthing is proposed, then long cable is a concern. If the generator is medium resistance earthed (say 100A), then 300m cable may not be a concern.
2. Secondly, requirement for isolation close to the generator. Generally, this is a safety requirement and governed by national codes. To my knowledge, some codes stipulate that there should be an isolation facility within fifteen meters from the equipment.