SlideShare uma empresa Scribd logo
1 de 13
Printing & Web Mapping
Applications
Mark Donnelly
Professional Services Consultant
Esri Australia
Why Printing?



•   Most web mapping applications require the ability to print the map
    area.
•   There are some special challenges surrounding printing the
    contents of the map area from a browser.
•   ArcGIS Server 10.1 has just arrived and promises to make
    developers lives easier.
What are the challenges?


    -   Browsers aren't very good at printing the map area.
    -   The problem is that browsers don’t deal very well with
        images overlayed on top of each other.
    -   Each browser (IE, Firefox, Chrome) deal with this
        problem in different ways. See this web map:
This is how the different browsers handle printing the web map:


IE



                           Firefox




                                                         Chrome
What are your options?


  •   To be sure all browsers will display the map area
      faithfully, we must give it just one image to print.
  •   This can be done in at least two ways:
      -   Write some code that sits on the server, exports each
          map service to get the various images and then creates
          a composite image, which is returned to the browser for
          printing.
      -   Write some client side code that does more or less the
          same thing. I recently used a HTML canvas object
          emulator called FXCanvas to do just this.
More Options


  •   As of ArcGIS 10 it has been possible to create large
      format, high resolution print layouts using Python
      scripting and the arcpy libraries.
  •   Very recently ArcGIS Server 10.1 was released and it
      provides out of the box printing functionality via its
      printing service.
The Printing Service


  •   Is available already installed under the Utilities folder
      of the ArcGIS Server. It is simply a published
      geoprocessing service for the Export Web Map Task
      tool.
  •   Looking at the REST endpoint we can see there is
      the Export Web Map Task endpoint and it accepts the
      following parameters:
How Do I Use It?


  •   The best way to access the print service is via the
      ArcGIS APIs (JavaScript, Flex, Silverlight).
  •   I’ll demo an app for you now that consumes a
      number of map services, allows the user to draw
      graphics and provides a drop down list of the
      available layouts.
What Does the Code Look Like?
What if I Want to Use My Own Layouts?


  •   The out of the box print service uses a predefined set
      of 8 layouts. To nominate different print layouts you
      need to create your own print service.
  •   Corresponding to the REST endpoint, there is a new
      tool called Export Web Map which allows the user to
      define which directory is holding the desired layouts.
  •   You simply publish this tool, defaulting the layout
      folder directory path to the required location.
  •   This published tool can be consumed by the print
      task widget as it has the same parameters as the
      REST endpoint.
Can I Print High Res, Large Format Maps?


  •   Yes this is possible but not with the printing service.
      The printing service is restricted to 8 predefined
      layouts, the largest of which is 279 X 432 mm (11 X
      17”) (tabloid).
  •   It can be done with the arcpy Python libraries.
  •   Create and publish a Python tool that exports the
      web map area to an MXD and then use the MXD
      printing tools to create high res, large format maps.
  •   Available from ArcGIS 10.
Questions?

Mais conteúdo relacionado

Destaque

Big Data (Dev Meet Up II)
Big Data (Dev Meet Up II)Big Data (Dev Meet Up II)
Big Data (Dev Meet Up II)JHasthorpe
 
Dojo Imagem de Android - 19/06/2012
Dojo Imagem de Android - 19/06/2012Dojo Imagem de Android - 19/06/2012
Dojo Imagem de Android - 19/06/2012Gabriel Moreira
 
Agile Testing e outros amendoins
Agile Testing e outros amendoinsAgile Testing e outros amendoins
Agile Testing e outros amendoinsGabriel Moreira
 
Continuous Inspection - An effective approch towards Software Quality Product...
Continuous Inspection - An effective approch towards Software Quality Product...Continuous Inspection - An effective approch towards Software Quality Product...
Continuous Inspection - An effective approch towards Software Quality Product...Gabriel Moreira
 
METACOM – Uma análise de correlação entre métricas de produto e propensão à m...
METACOM – Uma análise de correlação entre métricas de produto e propensão à m...METACOM – Uma análise de correlação entre métricas de produto e propensão à m...
METACOM – Uma análise de correlação entre métricas de produto e propensão à m...Gabriel Moreira
 
EARLY-FIX: Um Framework para Predição de Manutenção Corretiva de Software uti...
EARLY-FIX: Um Framework para Predição de Manutenção Corretiva de Software uti...EARLY-FIX: Um Framework para Predição de Manutenção Corretiva de Software uti...
EARLY-FIX: Um Framework para Predição de Manutenção Corretiva de Software uti...Gabriel Moreira
 

Destaque (7)

Big Data (Dev Meet Up II)
Big Data (Dev Meet Up II)Big Data (Dev Meet Up II)
Big Data (Dev Meet Up II)
 
Dojo Imagem de Android - 19/06/2012
Dojo Imagem de Android - 19/06/2012Dojo Imagem de Android - 19/06/2012
Dojo Imagem de Android - 19/06/2012
 
Agile Testing e outros amendoins
Agile Testing e outros amendoinsAgile Testing e outros amendoins
Agile Testing e outros amendoins
 
Continuous Inspection - An effective approch towards Software Quality Product...
Continuous Inspection - An effective approch towards Software Quality Product...Continuous Inspection - An effective approch towards Software Quality Product...
Continuous Inspection - An effective approch towards Software Quality Product...
 
METACOM – Uma análise de correlação entre métricas de produto e propensão à m...
METACOM – Uma análise de correlação entre métricas de produto e propensão à m...METACOM – Uma análise de correlação entre métricas de produto e propensão à m...
METACOM – Uma análise de correlação entre métricas de produto e propensão à m...
 
EARLY-FIX: Um Framework para Predição de Manutenção Corretiva de Software uti...
EARLY-FIX: Um Framework para Predição de Manutenção Corretiva de Software uti...EARLY-FIX: Um Framework para Predição de Manutenção Corretiva de Software uti...
EARLY-FIX: Um Framework para Predição de Manutenção Corretiva de Software uti...
 
lsrs15_ciandt
lsrs15_ciandtlsrs15_ciandt
lsrs15_ciandt
 

Semelhante a Printing & Web Mapping Applications (Dev Meet Up II)

NDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS ProNDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS ProNorth Dakota GIS Hub
 
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GIS
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GISNDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GIS
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GISNorth Dakota GIS Hub
 
Esri Scotland Conf 2016 Glasgow City Council
Esri Scotland Conf 2016   Glasgow City CouncilEsri Scotland Conf 2016   Glasgow City Council
Esri Scotland Conf 2016 Glasgow City CouncilEsri UK
 
Providing New Geographic Solutions to the Company
Providing New Geographic Solutions to the Company Providing New Geographic Solutions to the Company
Providing New Geographic Solutions to the Company Esri
 
Esriuk_track5_pro_launch
Esriuk_track5_pro_launchEsriuk_track5_pro_launch
Esriuk_track5_pro_launchEsri UK
 
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...Esri Nederland
 
iMap 4.0 Effective Management of Spatial Information
iMap 4.0 Effective Management of Spatial InformationiMap 4.0 Effective Management of Spatial Information
iMap 4.0 Effective Management of Spatial InformationEsri
 
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev ToolsJefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev ToolsJefferson Andrade
 
Web browser architecture
Web browser architectureWeb browser architecture
Web browser architectureNguyen Quang
 
Web Mapping 101: What Is It and Making It Work For You
Web Mapping 101: What Is It and Making It Work For YouWeb Mapping 101: What Is It and Making It Work For You
Web Mapping 101: What Is It and Making It Work For YouSafe Software
 
Introduction toarcgis editorforosm
Introduction toarcgis editorforosmIntroduction toarcgis editorforosm
Introduction toarcgis editorforosmTaichi Furuhashi
 
Internet-enabled GIS Using Free and Open Source Tools
Internet-enabled GIS Using Free and Open Source ToolsInternet-enabled GIS Using Free and Open Source Tools
Internet-enabled GIS Using Free and Open Source ToolsJohn Reiser
 
DSL (Domain Specific Language) for Maps Mashups
DSL (Domain Specific Language) for Maps MashupsDSL (Domain Specific Language) for Maps Mashups
DSL (Domain Specific Language) for Maps Mashupsaliraza786
 
ArcGIS 10.1 for Server Functionality Matrix
ArcGIS 10.1 for Server Functionality MatrixArcGIS 10.1 for Server Functionality Matrix
ArcGIS 10.1 for Server Functionality MatrixEsri
 
LSIVIEWER 2.0-A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECT...
LSIVIEWER 2.0-A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECT...LSIVIEWER 2.0-A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECT...
LSIVIEWER 2.0-A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECT...Manikanta Kondeti
 
Architecting the ArcGIS Platform - Technical - Esri UK Annual Conference 2017
Architecting the ArcGIS Platform - Technical - Esri UK Annual Conference 2017Architecting the ArcGIS Platform - Technical - Esri UK Annual Conference 2017
Architecting the ArcGIS Platform - Technical - Esri UK Annual Conference 2017Esri UK
 

Semelhante a Printing & Web Mapping Applications (Dev Meet Up II) (20)

NDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS ProNDGISUC2017 - Introducing ArcGIS Pro
NDGISUC2017 - Introducing ArcGIS Pro
 
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GIS
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GISNDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GIS
NDGeospatialSummit2019 - ArcGIS Pro – Next-Generation Desktop GIS
 
Esri Scotland Conf 2016 Glasgow City Council
Esri Scotland Conf 2016   Glasgow City CouncilEsri Scotland Conf 2016   Glasgow City Council
Esri Scotland Conf 2016 Glasgow City Council
 
Providing New Geographic Solutions to the Company
Providing New Geographic Solutions to the Company Providing New Geographic Solutions to the Company
Providing New Geographic Solutions to the Company
 
(2) gui drawing
(2) gui drawing(2) gui drawing
(2) gui drawing
 
Esriuk_track5_pro_launch
Esriuk_track5_pro_launchEsriuk_track5_pro_launch
Esriuk_track5_pro_launch
 
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
Getting Started with the ArcGIS API for JavaScript, Esri, Julie Powell, Antoo...
 
iMap 4.0 Effective Management of Spatial Information
iMap 4.0 Effective Management of Spatial InformationiMap 4.0 Effective Management of Spatial Information
iMap 4.0 Effective Management of Spatial Information
 
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev ToolsJefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
 
Web browser architecture
Web browser architectureWeb browser architecture
Web browser architecture
 
Web Mapping 101: What Is It and Making It Work For You
Web Mapping 101: What Is It and Making It Work For YouWeb Mapping 101: What Is It and Making It Work For You
Web Mapping 101: What Is It and Making It Work For You
 
Transforming the web into a real application platform
Transforming the web into a real application platformTransforming the web into a real application platform
Transforming the web into a real application platform
 
Azlina5 imagery
Azlina5  imageryAzlina5  imagery
Azlina5 imagery
 
(2) gui drawing
(2) gui drawing(2) gui drawing
(2) gui drawing
 
Introduction toarcgis editorforosm
Introduction toarcgis editorforosmIntroduction toarcgis editorforosm
Introduction toarcgis editorforosm
 
Internet-enabled GIS Using Free and Open Source Tools
Internet-enabled GIS Using Free and Open Source ToolsInternet-enabled GIS Using Free and Open Source Tools
Internet-enabled GIS Using Free and Open Source Tools
 
DSL (Domain Specific Language) for Maps Mashups
DSL (Domain Specific Language) for Maps MashupsDSL (Domain Specific Language) for Maps Mashups
DSL (Domain Specific Language) for Maps Mashups
 
ArcGIS 10.1 for Server Functionality Matrix
ArcGIS 10.1 for Server Functionality MatrixArcGIS 10.1 for Server Functionality Matrix
ArcGIS 10.1 for Server Functionality Matrix
 
LSIVIEWER 2.0-A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECT...
LSIVIEWER 2.0-A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECT...LSIVIEWER 2.0-A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECT...
LSIVIEWER 2.0-A CLIENT-ORIENTED ONLINE VISUALIZATION TOOL FOR GEOSPATIAL VECT...
 
Architecting the ArcGIS Platform - Technical - Esri UK Annual Conference 2017
Architecting the ArcGIS Platform - Technical - Esri UK Annual Conference 2017Architecting the ArcGIS Platform - Technical - Esri UK Annual Conference 2017
Architecting the ArcGIS Platform - Technical - Esri UK Annual Conference 2017
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 

Último (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

Printing & Web Mapping Applications (Dev Meet Up II)

  • 1. Printing & Web Mapping Applications Mark Donnelly Professional Services Consultant Esri Australia
  • 2. Why Printing? • Most web mapping applications require the ability to print the map area. • There are some special challenges surrounding printing the contents of the map area from a browser. • ArcGIS Server 10.1 has just arrived and promises to make developers lives easier.
  • 3. What are the challenges? - Browsers aren't very good at printing the map area. - The problem is that browsers don’t deal very well with images overlayed on top of each other. - Each browser (IE, Firefox, Chrome) deal with this problem in different ways. See this web map:
  • 4. This is how the different browsers handle printing the web map: IE Firefox Chrome
  • 5. What are your options? • To be sure all browsers will display the map area faithfully, we must give it just one image to print. • This can be done in at least two ways: - Write some code that sits on the server, exports each map service to get the various images and then creates a composite image, which is returned to the browser for printing. - Write some client side code that does more or less the same thing. I recently used a HTML canvas object emulator called FXCanvas to do just this.
  • 6. More Options • As of ArcGIS 10 it has been possible to create large format, high resolution print layouts using Python scripting and the arcpy libraries. • Very recently ArcGIS Server 10.1 was released and it provides out of the box printing functionality via its printing service.
  • 7. The Printing Service • Is available already installed under the Utilities folder of the ArcGIS Server. It is simply a published geoprocessing service for the Export Web Map Task tool. • Looking at the REST endpoint we can see there is the Export Web Map Task endpoint and it accepts the following parameters:
  • 8.
  • 9. How Do I Use It? • The best way to access the print service is via the ArcGIS APIs (JavaScript, Flex, Silverlight). • I’ll demo an app for you now that consumes a number of map services, allows the user to draw graphics and provides a drop down list of the available layouts.
  • 10. What Does the Code Look Like?
  • 11. What if I Want to Use My Own Layouts? • The out of the box print service uses a predefined set of 8 layouts. To nominate different print layouts you need to create your own print service. • Corresponding to the REST endpoint, there is a new tool called Export Web Map which allows the user to define which directory is holding the desired layouts. • You simply publish this tool, defaulting the layout folder directory path to the required location. • This published tool can be consumed by the print task widget as it has the same parameters as the REST endpoint.
  • 12. Can I Print High Res, Large Format Maps? • Yes this is possible but not with the printing service. The printing service is restricted to 8 predefined layouts, the largest of which is 279 X 432 mm (11 X 17”) (tabloid). • It can be done with the arcpy Python libraries. • Create and publish a Python tool that exports the web map area to an MXD and then use the MXD printing tools to create high res, large format maps. • Available from ArcGIS 10.