At the moment when simulators are taken from the grid the maptiles of the regions stay behind. The structure used for the maptiles makes it difficult to manually clear just the tiles of the regions. The best approach is to remove all maptiles and re-generate the maptiles of all connected regions.

The problem with that approach is that if the simulators are operated by third parties the only way to re-generate maptiles is to instruct the operators of those simulators to issue the "generate map" command or restart their simulators.

On large open grids this can take time and results in a reluctance to issue such maptile-clearances.

It would thus be a good to have a way to issue the maptile generation command from robust to be done by all currently connected simulators after a clearance of the maptile files.

Obviously the simulators will need a configuration to either delay this generation command or disable it completely should it be issued by robust rather than locally.

The alternative is to revisit maptile generation to cache the maptiles of all simulators and re-generate the larger, combined, maptiles scales based on the cached tiles and regions table once a de-registration of a simulator is received. This would obviously add load to robust every time a simulator is disconnected. It would also require robust to have logic to combine the maptiles to the regions via the grid coordinates since var-regions have more than one maptile.

Steps To Reproduce

Additional Information

Tags

No tags attached.

Relationships

related to

0008354

patch included

[PATCH] Allow Grid owners to regenerate a maptile for a region manually through the use of the God Tools

this is a bit related to 8315, except that map is a diferent part of grid code that knows nothing about other parts ( also a is a issue on 8315 since diferent parts maybe involved in current robust architecture )
adicionally map is a bit complex, clearing it takes several image operations and full awareness of regions state on a large map section

Maybe a (configurable) cleaning by the ROBUST server could help? Any region not seen in the last x days is removed from the grid and the resp. maptile is cleared. The grid could state the timeframe in the Terms of Usage.