Working with GeoGATE

  1. Home
  2. Docs
  3. Working with GeoGATE
  4. Reports Templates
  5. Report with Map

Report with Map

In this section, you will design a report with map with some attributes of a parcel that you select on map.

First open iReport Designer, and start with a blank report as shown below.

Go to File menu, and click on New to create new report.

Choose Blank A4 template, and click Open this template as shown below.

Type a name for the report, choose the location where you want to save it, and click Next; in this example the report name is “Report_with_Map”, and stored in Reports folder in D drive; as in the screenshot below.

Click Finish.

Now, the new report will be created in the location you choose, and will open as shown below.

  • The report is divided into main bands which are:
  • Title Band
  • Page Header Band
  • Column Header Band
  • Detail Band
  • Column Footer Band
  • Page Footer Band
  • Summary Band

You can select these bands and change their properties (height and printing conditions) from the report explorer as shown below.

In this example, only the title band and details band are needed, so delete the other bands, by right clicking them in the Report Inspector and clicking delete as shown below.

After deleting the bands, the result will be as shown below.

Now increase the height of details band, by selecting it in Report Inspector, and changing its height from properties window; In this example the height will be set to 350 points (1 inch=72 points) as shown below.

Now, add a static text from (by dragging it from Palette window and dropping it to title band); this text will be used for defining the report title, as shown below.

Edit the text from the properties window, and change it to “Parcel Information Report” as shown below.

NOTE: NEVER DOUBLE CLICK THE STATIC TEXT ITEM TO EDIT TEXT INSIDE IT, THIS WILL CAUSE CRASH OF THE PROGRAM.

Increase the size of the text area, and set the font to bold with font size 20 as shown below.

Now, add the map to report, the map is an image with a parameter, so first create a parameter from Report Inspector and call it “map” as shown below.

Now, drag an image from palette window to the details band; this image will be used for rendering the map.

In the image browser, click cancel, since the image will be printed from map, not a static image from computer, as shown below.

In the image properties, set the image expression by clicking on … icon. As shown below.

Now assign map parameter you created to the image by double clicking it, and click OK according to steps below.

Now, resize the image according to the actual size that will appear when printing the report from map, as shown below.

Add static texts as labels for the information that will be printed on the report; the report will include parcel number, block number, and area in m2, and these values will be determined from the parcel’s attributes.

Add a grey background to labels as shown below, by selecting a back-color, and checking “Opaque” option as shown below.

Now, create three parameters for the three attributes, and make sure that the three parameters are named exactly the same as the attributes’ names in the parcels layer as shown below.

Drag and drop parameters under labels as shown below.

Save the report.

On GeoGATE side, go to Reports Templates page, and click on New Report button; please note that the printing server should be started. Otherwise, the report will not work.

Type a name for the report as shown below.

Click on Choose File button in order to upload the report you created to GeoGATE as shown below.

Click Get file to fetch report’s parameters as shown below.

Since the parameters will be determined by GeoGATE (not by user, uncheck User’s Input checkboxes for all parameters)

Save the report by clicking Save button.

Note that the report has been added, however it is not recognized by Print Server as shown below.

In order to enable the printing server to recognize it, you need to stop and start the printing server as in the case of Printing templates, this is shown below.

Now, the printing server is off, so start it by clicking the toggle button.

Now the reporting server is on and recognizing the report, as shown below.

Go to Reports tab in Parcels layer settings as shown below.

In Reports tab, check “Enable Reports for this layer” checkbox as shown below.

Click on add report, and add the report from the report lists and click Add, as shown below.

Now, the report is added to Parcels layer as shown below.

Also, you can configure permissions for accessing this report by clicking permissions button as shown below.

Save the settings by clicking Save button as shown below.

Now, go to map, and identify a certain parcel as shown below.

You can note that a new button for reports appears in the identify panel, and in order to generate a report, you need to click this button as shown below.

Select the report you want to print (you have only one report: Parcel Information with Map), and also select output format and click Run Report as shown below.

As with print templates, the loading screen will appear as shown below.

When the report is generated, open it and see how it is generated according to your design as shown below.

Was this article helpful to you? Yes No

How can we help?