artemp/trac2github — Issue #736: Programmatic access to MetaWriter information
Author: artemp
Created: 2011-10-09 20:48:51+00:00
State: closed
Labels: MetaWriters

The existing metawriter outputs data to a JSON format file. This is awesome, but in some cases it's easier if the data is programmatically available through the Python interface. For example, to change the JSON format, use the data directly in a GUI or web app without the JSON format intermediary.

This patch adds another metawriter, called "inmem", which writes no data but caches it so that it can be retrieved from the Map object after the rendering pass.