azavea/OTM2-tiler — pull request #14 by ahinz (2013-07-29 22:22:21+00:00)
Title: Filter by instance id for plots and boundaries

Both plot and boundary tiles require an instance to render the proper
subset of their respective elements. However, the method for generating
the SQL requires two different approaches.

Since we're only using one route we can just switch on the table name.