Presentation is loading. Please wait.

Presentation is loading. Please wait.

Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Supporting High-Quality.

Similar presentations


Presentation on theme: "Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Supporting High-Quality."— Presentation transcript:

1 Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Supporting High-Quality Printing in Web Applications with ArcGIS for Server Craig Williams Tanu Hoque

2 Esri UC2013. Technical Workshop. High Quality Printing Typical goals: - Create a printable document (PDF preferably) - Have that document printed to ‘exact’ scale - Leverage ArcMap layouts - Support large format plots - Display ALL contents of my Web map - Services, graphics, feature layers, etc. - Be able to modify the map content during the process - High DPI We created a 3 tiered solution to meet these needs Supporting High-Quality Printing in Web Applications with ArcGIS for Server

3 Esri UC2013. Technical Workshop. High Quality Printing Simple printing - Out of the box Geoprocessing Service with ArcGIS Server - Small format - Synchronous - Token based secure services Custom configuration - Ability to supply your own templates - Asynchronous if desired - Handle HTTP secure services - Large format Supporting High-Quality Printing in Web Applications with ArcGIS for Server

4 Esri UC2013. Technical Workshop. High Quality Printing (con’t) Advanced cases - Supported via ArcPy.Mapping - Map/Layer addition, replacement, etc. - Very flexible Supporting High-Quality Printing in Web Applications with ArcGIS for Server

5 Esri UC2013. Technical Workshop. Printing service overview Mobile Flex etc. JavaScript WebMap Print Service (Export WebMap) Print Service (Export WebMap) PDF etc. Print services are powered by WebMaps - Consistent format produced by all the ArcGIS APIs - JSON based spec for sharing services, graphics, symbols etc. Note: The services in the WebMap must be accessible to the Print Service - HTTP security is a special case Supporting High-Quality Printing in Web Applications with ArcGIS for Server

6 Esri UC2013. Technical Workshop. Demo Simple print demonstration with the JavaScript API Supporting High-Quality Printing in Web Applications with ArcGIS for Server

7 Esri UC2013. Technical Workshop. Custom configuration Publish the Export Web Map tool as your own service - Use your own layout templates - Choose to make the service asynchronous if desired - This choice depends on the size of your prints and the length of time they’ll take - Configure service security - Token security handled automatically - HTTP security must be configured Supporting High-Quality Printing in Web Applications with ArcGIS for Server

8 Esri UC2013. Technical Workshop. Configuring secured services HTTP security requires configuration - Add service connections for each secure service before publishing - “Edit” the tool to edit security configurations - Secure the print service itself if you configure security for services Supporting High-Quality Printing in Web Applications with ArcGIS for Server

9 Esri UC2013. Technical Workshop. Demo Printing with custom templates Supporting High-Quality Printing in Web Applications with ArcGIS for Server

10 Esri UC2013. Technical Workshop. Custom print workflows: ArcPy.Mapping New ArcPy.Mapping method for converting Web Maps to MapDocuments ConvertWebMapToMapDocument (webmap_json, {template_mxd}, {notes_gdb}, {extra_conversion_options}) Secure services handled via the extra conversion options parameter Supporting High-Quality Printing in Web Applications with ArcGIS for Server

11 Esri UC2013. Technical Workshop. ArcPy.Mapping workflows Once a WebMap is converted to a map document - Full capabilities of ArcPy.Mapping on the document - Modify content - Add content - Export using custom options - etc. See the ArcPy.Mapping help for examples… Supporting High-Quality Printing in Web Applications with ArcGIS for Server

12 Esri UC2013. Technical Workshop. ArcPy.Mapping help examples Use the web help - updated samples and discussion - two new tutorials: - Basic high-quality web map printing: http://esriurl.com/4601 http://esriurl.com/4601 - Advanced web map printing: http://esriurl.com/4602 http://esriurl.com/4602 Supporting High-Quality Printing in Web Applications with ArcGIS for Server

13 Esri UC2013. Technical Workshop. Demo Large format vector printing Supporting High-Quality Printing in Web Applications with ArcGIS for Server

14 Esri UC2013. Technical Workshop. Wait! You didn’t actually print anything. Printing services are about generating printable documents (PDF etc.) If you wish to send the output to a physical printer automatically - Use the ArcPy.Mapping workflow - Local printers – xcopy to local share on some printers - Cloud printing workflows (e.g. Google Cloud Print)Google Cloud Print - Driverless printing - Simple APIs that can be called from Python Supporting High-Quality Printing in Web Applications with ArcGIS for Server

15 Esri UC2013. Technical Workshop. Web API Status for Printing Use the 3.0 or higher versions of the WebAPIs for printing support JavaScript: Print Dijit Flex: PrintTask Silverlight: PrintTask Samples on their respective Resource Centers Supporting High-Quality Printing in Web Applications with ArcGIS for Server

16 Esri UC2013. Technical Workshop. Printing service recap Mobile Flex etc. JavaScript WebMap Print Service (Export WebMap) Print Service (Export WebMap) PDF etc. Print services are powered by WebMaps - Consistent format produced by all the WebAPIs - JSON based spec for sharing services, graphics, symbols etc. You can use the out of the box tool, a custom configuration, or an ArcPy.Mapping approach Supporting High-Quality Printing in Web Applications with ArcGIS for Server

17 Esri UC2013. Technical Workshop. Related presentations Python Map Automation - Beyond the Basics of arcpy.mapping - Wednesday 3:15PM - 4:30PM Room 01 A/B - Thursday 8:30AM - 9:45AM Room 08 See WebAPI sessions for specifics of printing in each API Supporting High-Quality Printing in Web Applications with ArcGIS for Server

18 Esri UC2013. Technical Workshop. Please fill out the session evaluation Offering ID: 1340 Online – www.esri.com/ucsessionsurveys Paper – pick up and put in drop box Thank you… Supporting High-Quality Printing in Web Applications with ArcGIS for Server

19 Esri UC2013. Technical Workshop. Questions?

20 Esri UC2013. Technical Workshop.Supporting High-Quality Printing in Web Applications with ArcGIS for Server


Download ppt "Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Supporting High-Quality."

Similar presentations


Ads by Google