SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Downloaden Sie, um offline zu lesen
Optimizing your map services
    Optomizando tus servicios de mapas

                                  Sterling Quinn
What’s in this session


  •   Map service planning and design


  •   Ways to serve your maps
      -   Cached tiles
      -   Dynamic map service
      -   Client-side graphics


  •   Authoring a good web map


  •   Performance tips for map services
How web maps have changed!
Organize data into logical groupings


Basemaps                            Operational Layers
Geographic frame of reference       Show a focused item of interest

Contain static vector               Support functionality
 and raster data                     of the application

Reusable in multiple applications   Displayed on top of base map
Case study: Google Maps
Google Maps base maps

“Map”                       “Terrain”
                             Terrain”                   “Satellite”
•   Highways                •   Shaded relief           • Imagery
•   Streets                 •   Vegetation              • Source information
•   Ferries                 •   Highways
•   Railroads               •   Streets
•   Transit centers         •   Cities
•   Cities                  •   Parks
•   Parks                   •   Military reservations
•   Military reservations   •   Municipal boundaries
•   Municipal boundaries    •   Lakes
•   Lakes                   •   Rivers
•   Rivers                  •   Golf courses
•   Golf courses            •   Hospitals
•   Hospitals               •   Shopping centers
•   Shopping centers        •   Airports
•   Airports                •   Colleges
•   Colleges                •   Cemeteries
•   Cemeteries              •   Amusement parks
•   Amusement parks
Google Maps operational layers


  •   Street overlay for imagery
  •   Traffic
  •   Photos
  •   Videos
  •   Wikipedia
  •   StreetView coverage
  •   Web cams
  •   Bicycle routes
Some ArcGIS Server examples


  •   Orange County Property Appraiser Map


  •   City of St George


  •   North Vancouver Projects


  •   Solar Boston


  •   City of Greeley Property Information Map
Ways to serve your maps
Three options for displaying map services


  •   As cached tiles


  •   As a dynamically drawn image


  •   As client-side graphics
Cached tiles

•   Pre-draw map tiles and serve them to clients


•   Best performance and scalability


•   Standard for online maps (Google, Bing, Yahoo, etc)


•   Requires you to create and
    maintain cache
What should you cache?


  •   Base maps


  •   Operational layers that satisfy one of the following:
      -   High volumes of traffic
      -   Don’t change often
      -   Cover small scales only
Cache image formats


  •   JPEG or MIXED for most basemaps
      -   High quality (~90) for vectors
      -   Lower quality (55 – 75) for imagery


  •   PNG 32 for overlay networks (boundaries, roads)


  •   MIXED or PNG for other overlays
Dynamically drawn map services


  •   Server retrieves data, draws an image, sends image
      to client


  •   Slower than caching, but may be satisfactory using
      optimized map service
Data that’s OK to draw dynamically


  •   Real-time data


  •   Frequently-changing data with large scope


  •   Internal maps accessed by just a few people
Two types of files can support a map service




  Map service definition            Map document
          .MSD             OR           .MXD

        Optimized                     Traditional
        map service                   map service


                      Map service
Optimized map services


  •   Obtained through Map Services Publishing toolbar in
      ArcMap


  •   Supports the most common layer and symbol types


  •   Faster dynamic drawing than ArcIMS
Demo
Publishing an optimized map service
Antialiasing with optimized map services

•   Improves visual quality


•   Slight performance cost
    -   Use Preview button to see
        effect on performance
What’s available through optimized services?

 •   Most data and layer types
     -   You’ll get an Error in analyzer if not supported


 •   New at 10.0: Maplex and cartographic representations
     -   Recommended for caching only
If you have to use an MXD-based service…

  •   Move whatever layers you can into a separate
      optimized map service


  •   Use ESRI_Optimized style for drawing


  •   Still use the Analyze button to catch performance
      warnings
Client-side graphics


  •   “Data on demand” pattern treats map service as a
      feature server
      -   Queries from map services
      -   Feature services
  •   Server sends geometries and attributes to client


  •   Features drawn in browser
What should you draw with client-side graphics?


  •   Query or geoprocessing results
  •   Layers that need to be thematically symbolized on
      the fly
      -   National Center for Education Statistics
  •   Web editing: Feature Services
  •   Interactive operational layers for mashups
ArcGIS Server Blog Posts


  •   Determining Limits for Map Graphics
  •   High Performance Web Map with Large Dataset as
      FeatureLayer
  •   Out of Box Vector Tiling using FeatureLayer
  •   FeatureLayer can Generalize Geometries on the fly
maxAllowa… what?


 maxAllowableOffset:
 •   a way of reducing the number of points in a curve
 •   Suggestion: a feature’s geometry should not display
     more than one vertex per pixel
Graphics performance considerations


  •   Generalize geometries
       -   Do not generalize geometries in Editing scenario
  •   Be careful not to request too many features
       -   Scale dependencies with Feature Services
  •   Beware of server limits on number of features that
      can be returned
       -   Default 1000
  •   Beware “1=1”
      firewall filters
Where can I learn more about these techniques?


  •   Implementation differs depending on the web API
      being used


  •   Online examples at the ArcGIS Resource Center
Performance tips for map
       services
Pre-compute when possible


  •   Cache
  •   Annotation
  •   Projection
      -   Tip: You can re-project geodatabase features during
          replication
  •   Spatial indexes
      -   Keep up to date
      -   Correct size relative to map extent
  •   Query or geoprocessing results
Data access tips


  •   Tune ArcSDE (direct connect recommended)
  •   Avoid UNC paths for file-based data
  •   Avoid downloading all attributes unless you have to
  •   Attribute indexes
      -   Use for joins and common queries
  •   Precalculate query or tool results
      -   Example: Solar Boston
A u th o r in g   a   g o o d   w e b   m a p
Start with a template


  •   Fully functional apps, maps
      and data
      -   Esri: Resources.arcgis.com
           -   User Communities
      -   Community: www.arcgis.com >
          Gallery
           -   Look for “Configurable”
      -   Download and point at
          your own data
Demo
Building a basemap from a template
Authoring a basemap from scratch


  •   Only a good option if there
      are no templates


  •   Design map for cache scales
      -   Add your tiling scheme scales
          to the ArcMap dropdown list


  •   Group layers by scale level
      -   Only have to set the scale range
          at the group layer level
      -   Copy layers between groups
Authoring mobile maps
Specific cartography for mobility


   •   Design for purpose
       -   Remove unnecessary layers of information
       -   Set scale dependency (walk, drive, etc)
       -   Render editable layers to define feature
           types
                                                      Sunlight
                                                      washes
                                                      out
   •   Design for the environment                     Colors

       -   Establish contrast, choose meaningful
           symbology
Authoring for feature service: symbology


  •   Rendered in the client
  •   Symbols can be Simple (Marker, Line, Fill) or Picture
      (Marker, Fill)
      -   Complex symbols are converted to picture (PNG)
           -   Most point symbols reproduced well – test
      -   Avoid gradient fills
                                                           WebMap
                         ArcMap
Sneak peek: Changing symbology on the fly at 10.1


  •   Modify symbols without downloading geometries on
      the client side
      -   Useful when there are a lot of features
  •   Maps are drawn at the server side
      -   Only image is returned to the client
  •   Helper function on the server side to compute class
      breaks
Demo
Server side thematic mapping at 10.1
Review


 •   Organize map services in logical groups
     -   Base maps
     -   Operational layers


 •   Use a high-performance blend of display techniques
     -   Cached tiles
     -   Dynamically drawn services
     -   Client-side graphics


 •   Follow performance tips, pre-computing when
     possible
Q u e s tio n s
Optimizing your Map Services

Weitere ähnliche Inhalte

Was ist angesagt?

Behunin and lasslo inexpensive mobile mapping solutions
Behunin and lasslo inexpensive mobile mapping solutionsBehunin and lasslo inexpensive mobile mapping solutions
Behunin and lasslo inexpensive mobile mapping solutions
GeCo in the Rockies
 
Open source web GIS
Open source web GISOpen source web GIS
Open source web GIS
Shweta Ghate
 
Geoscience For Gis A
Geoscience For Gis AGeoscience For Gis A
Geoscience For Gis A
Andrew Zolnai
 
CensusGIV - Geographic Information Visualisation of Census Data
CensusGIV - Geographic Information Visualisation of Census DataCensusGIV - Geographic Information Visualisation of Census Data
CensusGIV - Geographic Information Visualisation of Census Data
CASA, UCL
 
Paradigm IT - Outsourcing advantages for you
Paradigm IT - Outsourcing advantages for youParadigm IT - Outsourcing advantages for you
Paradigm IT - Outsourcing advantages for you
santoshkr
 

Was ist angesagt? (20)

Methods for analyzing and mapping temporal data
Methods for analyzing and mapping temporal dataMethods for analyzing and mapping temporal data
Methods for analyzing and mapping temporal data
 
Applications of Arc GIS
Applications of Arc GISApplications of Arc GIS
Applications of Arc GIS
 
Behunin and lasslo inexpensive mobile mapping solutions
Behunin and lasslo inexpensive mobile mapping solutionsBehunin and lasslo inexpensive mobile mapping solutions
Behunin and lasslo inexpensive mobile mapping solutions
 
Open source web GIS
Open source web GISOpen source web GIS
Open source web GIS
 
Methods for Mapping Temporal Data
Methods for Mapping Temporal DataMethods for Mapping Temporal Data
Methods for Mapping Temporal Data
 
Fazli Hadi
Fazli HadiFazli Hadi
Fazli Hadi
 
GIS Use in Map, Chart, and Data Production
GIS Use in Map, Chart, and Data ProductionGIS Use in Map, Chart, and Data Production
GIS Use in Map, Chart, and Data Production
 
Surfer
Surfer Surfer
Surfer
 
Digimap Update - Guy McGarva
Digimap Update - Guy McGarvaDigimap Update - Guy McGarva
Digimap Update - Guy McGarva
 
Digimap Update - Geoforum 2016 - Guy McGarva
Digimap Update - Geoforum 2016 - Guy McGarvaDigimap Update - Geoforum 2016 - Guy McGarva
Digimap Update - Geoforum 2016 - Guy McGarva
 
ArcGIS Extensions
ArcGIS ExtensionsArcGIS Extensions
ArcGIS Extensions
 
Geoscience For Gis A
Geoscience For Gis AGeoscience For Gis A
Geoscience For Gis A
 
Using OS Building Height Attribute data from Digimap in ArcGIS Pro
Using OS Building Height Attribute data from Digimap in ArcGIS ProUsing OS Building Height Attribute data from Digimap in ArcGIS Pro
Using OS Building Height Attribute data from Digimap in ArcGIS Pro
 
CensusGIV - Geographic Information Visualisation of Census Data
CensusGIV - Geographic Information Visualisation of Census DataCensusGIV - Geographic Information Visualisation of Census Data
CensusGIV - Geographic Information Visualisation of Census Data
 
ArcGIS Bivariate Mapping Tools
ArcGIS Bivariate Mapping ToolsArcGIS Bivariate Mapping Tools
ArcGIS Bivariate Mapping Tools
 
IWMW Campus Maps Workshop
IWMW Campus Maps WorkshopIWMW Campus Maps Workshop
IWMW Campus Maps Workshop
 
Global mapper
Global mapperGlobal mapper
Global mapper
 
Paradigm IT - Outsourcing advantages for you
Paradigm IT - Outsourcing advantages for youParadigm IT - Outsourcing advantages for you
Paradigm IT - Outsourcing advantages for you
 
Digimap Aerial Collection - Geoforum 2016 - Ian Holmes
Digimap Aerial Collection - Geoforum 2016 - Ian HolmesDigimap Aerial Collection - Geoforum 2016 - Ian Holmes
Digimap Aerial Collection - Geoforum 2016 - Ian Holmes
 
Geoforum - Digimap Update 2015
Geoforum - Digimap Update 2015Geoforum - Digimap Update 2015
Geoforum - Digimap Update 2015
 

Andere mochten auch (6)

Geodesign: Past, Present, and Future
Geodesign: Past, Present, and FutureGeodesign: Past, Present, and Future
Geodesign: Past, Present, and Future
 
Procedural Design
Procedural DesignProcedural Design
Procedural Design
 
Essays on Geography and GIS, Vol. 4
Essays on Geography and GIS, Vol. 4Essays on Geography and GIS, Vol. 4
Essays on Geography and GIS, Vol. 4
 
Esri News for Petroleum Winter 2013/2014 newsletter
Esri News for Petroleum Winter 2013/2014 newsletterEsri News for Petroleum Winter 2013/2014 newsletter
Esri News for Petroleum Winter 2013/2014 newsletter
 
Esri News for Health & Human Services Summer 2013 newsletter
Esri News for Health & Human Services Summer 2013 newsletterEsri News for Health & Human Services Summer 2013 newsletter
Esri News for Health & Human Services Summer 2013 newsletter
 
ArcGIS Server Road Ahead
ArcGIS Server Road AheadArcGIS Server Road Ahead
ArcGIS Server Road Ahead
 

Ähnlich wie Optimizing your Map Services

Building good web_maps, Esri, Joris Bak
Building good web_maps, Esri, Joris BakBuilding good web_maps, Esri, Joris Bak
Building good web_maps, Esri, Joris Bak
Esri Nederland
 
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
 
Coast gis talk
Coast gis talkCoast gis talk
Coast gis talk
Carl Sack
 
5 c 1-hec-georas_part1
5 c 1-hec-georas_part15 c 1-hec-georas_part1
5 c 1-hec-georas_part1
Taoufik Byou
 

Ähnlich wie Optimizing your Map Services (20)

Building good web_maps, Esri, Joris Bak
Building good web_maps, Esri, Joris BakBuilding good web_maps, Esri, Joris Bak
Building good web_maps, Esri, Joris Bak
 
Arc gis desktop_and_geoprocessing
Arc gis desktop_and_geoprocessingArc gis desktop_and_geoprocessing
Arc gis desktop_and_geoprocessing
 
Publishing on ArcGIS Mobile
Publishing on ArcGIS MobilePublishing on ArcGIS Mobile
Publishing on ArcGIS Mobile
 
Materi Geodatabase Management - Fellowship 2022.pdf
Materi Geodatabase Management - Fellowship 2022.pdfMateri Geodatabase Management - Fellowship 2022.pdf
Materi Geodatabase Management - Fellowship 2022.pdf
 
Au 2007 It’S Not Cad To Gis Final
Au 2007   It’S Not Cad To Gis FinalAu 2007   It’S Not Cad To Gis Final
Au 2007 It’S Not Cad To Gis Final
 
3D Visualization in ArcGIS Pro
3D Visualization in ArcGIS Pro3D Visualization in ArcGIS Pro
3D Visualization in 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
 
Trail of Two Maps
Trail of Two MapsTrail of Two Maps
Trail of Two Maps
 
Evolution of Esri Data Formats Seminar
Evolution of Esri Data Formats SeminarEvolution of Esri Data Formats Seminar
Evolution of Esri Data Formats Seminar
 
2017 GIS in Education Track: Sharing Historical Maps and Atlases in Web Apps
2017 GIS in Education Track: Sharing Historical Maps and Atlases in Web Apps2017 GIS in Education Track: Sharing Historical Maps and Atlases in Web Apps
2017 GIS in Education Track: Sharing Historical Maps and Atlases in Web Apps
 
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...
 
Total Knockout: Start-to-Finish Development of Suitability Applications Using...
Total Knockout: Start-to-Finish Development of Suitability Applications Using...Total Knockout: Start-to-Finish Development of Suitability Applications Using...
Total Knockout: Start-to-Finish Development of Suitability Applications Using...
 
Automatic Typographic Maps
Automatic Typographic MapsAutomatic Typographic Maps
Automatic Typographic Maps
 
Coast gis talk
Coast gis talkCoast gis talk
Coast gis talk
 
Making the Most of Raster Analysis with Living Atlas Data - Esri UC 2018
Making the Most of Raster Analysis with Living Atlas Data - Esri UC 2018Making the Most of Raster Analysis with Living Atlas Data - Esri UC 2018
Making the Most of Raster Analysis with Living Atlas Data - Esri UC 2018
 
ArcGIS10 Land Records Mgmt (EPAN 2010)
ArcGIS10 Land Records Mgmt (EPAN 2010)ArcGIS10 Land Records Mgmt (EPAN 2010)
ArcGIS10 Land Records Mgmt (EPAN 2010)
 
Using Imagery in ArcGIS
Using Imagery in ArcGISUsing Imagery in ArcGIS
Using Imagery in ArcGIS
 
Gis development
Gis developmentGis development
Gis development
 
5 c 1-hec-georas_part1
5 c 1-hec-georas_part15 c 1-hec-georas_part1
5 c 1-hec-georas_part1
 
Building Mosaics
Building MosaicsBuilding Mosaics
Building Mosaics
 

Mehr von Esri

Aena Aeropuerto Adolfo Suárez-Barajas crea potentes aplicaciones para sus cli...
Aena Aeropuerto Adolfo Suárez-Barajas crea potentes aplicaciones para sus cli...Aena Aeropuerto Adolfo Suárez-Barajas crea potentes aplicaciones para sus cli...
Aena Aeropuerto Adolfo Suárez-Barajas crea potentes aplicaciones para sus cli...
Esri
 

Mehr von Esri (20)

INIA- CISA: Análisis de las amenazas en la fauna silvestre
INIA- CISA: Análisis de las amenazas en la fauna silvestreINIA- CISA: Análisis de las amenazas en la fauna silvestre
INIA- CISA: Análisis de las amenazas en la fauna silvestre
 
Aena Aeropuerto Adolfo Suárez-Barajas crea potentes aplicaciones para sus cli...
Aena Aeropuerto Adolfo Suárez-Barajas crea potentes aplicaciones para sus cli...Aena Aeropuerto Adolfo Suárez-Barajas crea potentes aplicaciones para sus cli...
Aena Aeropuerto Adolfo Suárez-Barajas crea potentes aplicaciones para sus cli...
 
Plataforma Smart City de Móstoles
Plataforma Smart City de MóstolesPlataforma Smart City de Móstoles
Plataforma Smart City de Móstoles
 
ArcGIS Online para Organizaciones
ArcGIS Online para OrganizacionesArcGIS Online para Organizaciones
ArcGIS Online para Organizaciones
 
Molina de Segura se convierte en una smart city
Molina de Segura se convierte en una smart cityMolina de Segura se convierte en una smart city
Molina de Segura se convierte en una smart city
 
Portal for ArcGIS
Portal for ArcGISPortal for ArcGIS
Portal for ArcGIS
 
GIS-Based Web Services Provide Rapid Analysis and Dissemination of Maritime Data
GIS-Based Web Services Provide Rapid Analysis and Dissemination of Maritime DataGIS-Based Web Services Provide Rapid Analysis and Dissemination of Maritime Data
GIS-Based Web Services Provide Rapid Analysis and Dissemination of Maritime Data
 
An Effective Tool for Drinking Water Protection
An Effective Tool for Drinking Water ProtectionAn Effective Tool for Drinking Water Protection
An Effective Tool for Drinking Water Protection
 
GeoCollector for ArcPad
GeoCollector for ArcPadGeoCollector for ArcPad
GeoCollector for ArcPad
 
GeoCollector for ArcGIS for Windows Mobile
GeoCollector for ArcGIS for Windows MobileGeoCollector for ArcGIS for Windows Mobile
GeoCollector for ArcGIS for Windows Mobile
 
Data Appliance for ArcGIS
Data Appliance for ArcGISData Appliance for ArcGIS
Data Appliance for ArcGIS
 
Esri and BlackBridge
Esri and BlackBridgeEsri and BlackBridge
Esri and BlackBridge
 
GeoPlanner for ArcGIS
GeoPlanner for ArcGISGeoPlanner for ArcGIS
GeoPlanner for ArcGIS
 
Esri and AccuWeather
Esri and AccuWeatherEsri and AccuWeather
Esri and AccuWeather
 
Esri and Airbus Defense & Space
Esri and Airbus Defense & SpaceEsri and Airbus Defense & Space
Esri and Airbus Defense & Space
 
Esri US Data Fact Sheet
Esri US Data Fact SheetEsri US Data Fact Sheet
Esri US Data Fact Sheet
 
ArcGIS for Server on Microsoft Azure Jumpstart
ArcGIS for Server on Microsoft Azure JumpstartArcGIS for Server on Microsoft Azure Jumpstart
ArcGIS for Server on Microsoft Azure Jumpstart
 
ArcGIS for the Military--Maritime Operations
ArcGIS for the Military--Maritime OperationsArcGIS for the Military--Maritime Operations
ArcGIS for the Military--Maritime Operations
 
Esri Geoportal Server
Esri Geoportal ServerEsri Geoportal Server
Esri Geoportal Server
 
ArcGIS GeoEvent Extension for Server
ArcGIS GeoEvent Extension for ServerArcGIS GeoEvent Extension for Server
ArcGIS GeoEvent Extension for Server
 

Kürzlich hochgeladen

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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?
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 

Optimizing your Map Services

  • 1. Optimizing your map services Optomizando tus servicios de mapas Sterling Quinn
  • 2. What’s in this session • Map service planning and design • Ways to serve your maps - Cached tiles - Dynamic map service - Client-side graphics • Authoring a good web map • Performance tips for map services
  • 3. How web maps have changed!
  • 4. Organize data into logical groupings Basemaps Operational Layers Geographic frame of reference Show a focused item of interest Contain static vector Support functionality and raster data of the application Reusable in multiple applications Displayed on top of base map
  • 6. Google Maps base maps “Map” “Terrain” Terrain” “Satellite” • Highways • Shaded relief • Imagery • Streets • Vegetation • Source information • Ferries • Highways • Railroads • Streets • Transit centers • Cities • Cities • Parks • Parks • Military reservations • Military reservations • Municipal boundaries • Municipal boundaries • Lakes • Lakes • Rivers • Rivers • Golf courses • Golf courses • Hospitals • Hospitals • Shopping centers • Shopping centers • Airports • Airports • Colleges • Colleges • Cemeteries • Cemeteries • Amusement parks • Amusement parks
  • 7. Google Maps operational layers • Street overlay for imagery • Traffic • Photos • Videos • Wikipedia • StreetView coverage • Web cams • Bicycle routes
  • 8. Some ArcGIS Server examples • Orange County Property Appraiser Map • City of St George • North Vancouver Projects • Solar Boston • City of Greeley Property Information Map
  • 9. Ways to serve your maps
  • 10. Three options for displaying map services • As cached tiles • As a dynamically drawn image • As client-side graphics
  • 11. Cached tiles • Pre-draw map tiles and serve them to clients • Best performance and scalability • Standard for online maps (Google, Bing, Yahoo, etc) • Requires you to create and maintain cache
  • 12. What should you cache? • Base maps • Operational layers that satisfy one of the following: - High volumes of traffic - Don’t change often - Cover small scales only
  • 13. Cache image formats • JPEG or MIXED for most basemaps - High quality (~90) for vectors - Lower quality (55 – 75) for imagery • PNG 32 for overlay networks (boundaries, roads) • MIXED or PNG for other overlays
  • 14. Dynamically drawn map services • Server retrieves data, draws an image, sends image to client • Slower than caching, but may be satisfactory using optimized map service
  • 15. Data that’s OK to draw dynamically • Real-time data • Frequently-changing data with large scope • Internal maps accessed by just a few people
  • 16. Two types of files can support a map service Map service definition Map document .MSD OR .MXD Optimized Traditional map service map service Map service
  • 17. Optimized map services • Obtained through Map Services Publishing toolbar in ArcMap • Supports the most common layer and symbol types • Faster dynamic drawing than ArcIMS
  • 19. Antialiasing with optimized map services • Improves visual quality • Slight performance cost - Use Preview button to see effect on performance
  • 20. What’s available through optimized services? • Most data and layer types - You’ll get an Error in analyzer if not supported • New at 10.0: Maplex and cartographic representations - Recommended for caching only
  • 21. If you have to use an MXD-based service… • Move whatever layers you can into a separate optimized map service • Use ESRI_Optimized style for drawing • Still use the Analyze button to catch performance warnings
  • 22. Client-side graphics • “Data on demand” pattern treats map service as a feature server - Queries from map services - Feature services • Server sends geometries and attributes to client • Features drawn in browser
  • 23. What should you draw with client-side graphics? • Query or geoprocessing results • Layers that need to be thematically symbolized on the fly - National Center for Education Statistics • Web editing: Feature Services • Interactive operational layers for mashups
  • 24. ArcGIS Server Blog Posts • Determining Limits for Map Graphics • High Performance Web Map with Large Dataset as FeatureLayer • Out of Box Vector Tiling using FeatureLayer • FeatureLayer can Generalize Geometries on the fly
  • 25. maxAllowa… what? maxAllowableOffset: • a way of reducing the number of points in a curve • Suggestion: a feature’s geometry should not display more than one vertex per pixel
  • 26. Graphics performance considerations • Generalize geometries - Do not generalize geometries in Editing scenario • Be careful not to request too many features - Scale dependencies with Feature Services • Beware of server limits on number of features that can be returned - Default 1000 • Beware “1=1” firewall filters
  • 27. Where can I learn more about these techniques? • Implementation differs depending on the web API being used • Online examples at the ArcGIS Resource Center
  • 28. Performance tips for map services
  • 29. Pre-compute when possible • Cache • Annotation • Projection - Tip: You can re-project geodatabase features during replication • Spatial indexes - Keep up to date - Correct size relative to map extent • Query or geoprocessing results
  • 30. Data access tips • Tune ArcSDE (direct connect recommended) • Avoid UNC paths for file-based data • Avoid downloading all attributes unless you have to • Attribute indexes - Use for joins and common queries • Precalculate query or tool results - Example: Solar Boston
  • 31. A u th o r in g a g o o d w e b m a p
  • 32. Start with a template • Fully functional apps, maps and data - Esri: Resources.arcgis.com - User Communities - Community: www.arcgis.com > Gallery - Look for “Configurable” - Download and point at your own data
  • 33. Demo Building a basemap from a template
  • 34. Authoring a basemap from scratch • Only a good option if there are no templates • Design map for cache scales - Add your tiling scheme scales to the ArcMap dropdown list • Group layers by scale level - Only have to set the scale range at the group layer level - Copy layers between groups
  • 35. Authoring mobile maps Specific cartography for mobility • Design for purpose - Remove unnecessary layers of information - Set scale dependency (walk, drive, etc) - Render editable layers to define feature types Sunlight washes out • Design for the environment Colors - Establish contrast, choose meaningful symbology
  • 36. Authoring for feature service: symbology • Rendered in the client • Symbols can be Simple (Marker, Line, Fill) or Picture (Marker, Fill) - Complex symbols are converted to picture (PNG) - Most point symbols reproduced well – test - Avoid gradient fills WebMap ArcMap
  • 37. Sneak peek: Changing symbology on the fly at 10.1 • Modify symbols without downloading geometries on the client side - Useful when there are a lot of features • Maps are drawn at the server side - Only image is returned to the client • Helper function on the server side to compute class breaks
  • 38. Demo Server side thematic mapping at 10.1
  • 39. Review • Organize map services in logical groups - Base maps - Operational layers • Use a high-performance blend of display techniques - Cached tiles - Dynamically drawn services - Client-side graphics • Follow performance tips, pre-computing when possible
  • 40. Q u e s tio n s