mapchete.testing module¶
Useful tools to facilitate testing.
- class mapchete.testing.ProcessFixture(path=None, output_tempdir=None, output_suffix='')¶
Bases:
object
- clear_output()¶
- first_process_tile(zoom=None)¶
- mp(batch_preprocess=True)¶
Return Mapchete object from mapchete.open().
- process_mp(tile=None, tile_zoom=None, batch_preprocess=True)¶
Return MapcheteProcess object used to test processes.
- mapchete.testing.dict_from_mapchete(path)¶
Read mapchete configuration from file and return as dictionary.
- mapchete.testing.get_process_mp(tile=None, zoom=0, input=None, params=None, metatiling=1, **kwargs)¶