Example PIN File Definition

The following example is a simple Period Pattern Report definition in a PIN file.

ReportWriter.addReport(new PeriodpatternReport("detail_lmu/area/lmu_A", 
                      "Area in LMU 'A' by Species code and period",
                      "LMU == 'A'",
                      "Spatial Planning Systems: 2002",


A Period Pattern Report would be most effectively used to display attribute information contained in the Block Table, as attributes in the Block Table are organized in columns with prefixes. In this way a Period Pattern Report would allow you to summarize information about particular blocks in the dataset. A reselect expression could be used to limit the number of Blocks that were being summarized, or all blocks could be included. This is the major distinction of the Period Pattern Report from the Multiple Target Report, which summarizes target information.

In this particular example, a Period Pattern report was added to the "area" sub-folder with the filename "detail_lmu/area/lmu_A". NO file extension was specified here as the Report Writer will automatically create three separate files: "lmu_A.html", "lmu_A.csv" and "lmu_A.png". The title of the report, "Area in LMU 'A' by Species code and period" will appear at the top of the HTML and PNG sub-reports, as well as in the Index Report for the "area" sub-folder, and the directory tree. The units "hectares" will appear on the Y-axis of the PNG bar chart.

The information for this report was derived from the Block Table (control.getBlockTable()) using the column prefix of "feature.Area.managed" to locate unique attribute columns (i.e. species .DF, .LA, .SEFA...). The only rows that were selected from the Block Table to be summed for cell values were those rows that contained "A" in the LMU column of the table. The reselectExpression "LMU='A'" was used to narrow the amount of information being summed to only those Blocks (rows) that fell into Landscape Management Unit (LMU) A, all other blocks were ignored.

Only the first 10 planning periods would have been represented in this report, along with the initial conditions (11). The company name was added as additionalHTML under the embedded PNG chart, and all values in the HTML table appear in absolute terms as opposed to percentages of the total (computePercent= false).


The Period Expression report is identical to the Period Pattern Report, except that instead of simply supplying a pattern, you will have the option of supplying an expression that includes the pattern, i.e. feature.Area.managed*TOTALAREA, or feature.Area.managed*10000. See the section called “Period Expression Report”.