We need to load the metadata into PostgreSQL so that it can be used by the tiler to visualize the layers using metadata values. This should happen as part of usual loader.py behavior, and should happen before we upload to Google App Engine, so that the App Engine never knows about layers which the tiler doesn't know about.
The simplest way to do it for now either be (1) as a single field in PostgreSQL which stores a JSON document, which we can then search through, or (2) just setting up the table based off the fields and characteristics in our Fusion Table, and INSERT, UPDATE, COPY or pgloader. I'll look to see what fits better with the way loader.py already works, and implement that now.
We need to load the metadata into PostgreSQL so that it can be used by the tiler to visualize the layers using metadata values. This should happen as part of usual
loader.pybehavior, and should happen before we upload to Google App Engine, so that the App Engine never knows about layers which the tiler doesn't know about.The simplest way to do it for now either be (1) as a single field in PostgreSQL which stores a JSON document, which we can then search through, or (2) just setting up the table based off the fields and characteristics in our Fusion Table, and INSERT, UPDATE, COPY or pgloader. I'll look to see what fits better with the way
loader.pyalready works, and implement that now.