Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone have experience in creating reports from your ArcGIS data (geodatabase, map exports) using a python reporting engine? In my current project, we are using Jasper Reports in the following way: A custom geoprocessing tool creates a intermediate XML file containing the data from the Oracle SDE and an exported map image as encoded byte array. This file and a template from iReport is used to generate a PDF file by Jasper Reports.

I am looking for a different solution using a report engine based on python (Jasper is based on Java), I can imagine that a python approach can be better integrated in ArcGIS.

Did anyone tried this before?

share|improve this question
What type of text data is in your report (attribute table based)? – artwork21 Aug 14 '12 at 11:35
Yes, attribute tables of feature classes in a geodatabase for example. But it should not be restricted to that kind of data. A "screenshot" of the map should also be exported, by arcmap or may be by a map service. – offermann Aug 14 '12 at 12:22
How do I want to generate the similar report on a web based application? – pplive Apr 28 '15 at 16:51
That would be another question. JasperReports can be used for reporting in a web based application, either by writing a Java Servlet or using the server of JasperSoft. – offermann Apr 30 '15 at 6:19
up vote 4 down vote accepted

At the 2012 ESRI User conference, they demonstrated building custom PDF pages and reports using the open-souce ReportLab toolkit.

Check out the Conference proceedings and look at the Technical Workshops for Python Map Automation. One of them makes a reference to this sample script.

share|improve this answer

There is a new development in 10.1 for Python access in reporting: ExportReport.

Essentially you create a report and save the layout as a report layout file (.rlf). When you call ExportReport from arcpy you access the layout file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.