Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

2 Answers 2

up vote 3 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

 
discard

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.