building good web_maps, esri, joris bak

54
Joris Bak Building Good Web Maps Esri Developer Summit in Europe November 9 | Rotterdam

Upload: esri-nederland

Post on 03-Nov-2014

957 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Building good web_maps, Esri, Joris Bak

Joris Bak

Building Good Web Maps

Esri Developer Summit in EuropeNovember 9 | Rotterdam

Page 2: Building good web_maps, Esri, Joris Bak

What’s in this session

• Map service planning and design

• Ways to serve your maps

• Authoring a good Web map

Page 3: Building good web_maps, Esri, Joris Bak

Map service planning and design

Page 4: Building good web_maps, Esri, Joris Bak

How Web maps have changed!

Page 5: Building good web_maps, Esri, Joris Bak

How Web maps have changed!

Page 6: Building good web_maps, Esri, Joris Bak

What is the purpose of the map?

Page 7: Building good web_maps, Esri, Joris Bak

What is the purpose of the map?

Page 8: Building good web_maps, Esri, Joris Bak

Organize data into logical groupings

Basemaps

Geographic frame of reference

Contain static vector and raster data

Reusable in multiple applications

Operational Layers

Show a focused item of interest

Support functionality of the application

Displayed on top of base map

Page 9: Building good web_maps, Esri, Joris Bak

Case study: Google Maps

Page 10: Building good web_maps, Esri, Joris Bak

Google Maps base maps

“Map”• Highways• Streets• Ferries• Railroads• Transit centers• Cities• Parks• Military reservations• Municipal boundaries• Lakes• Rivers• Golf courses• Hospitals• Shopping centers• Airports• Colleges• Cemeteries• Amusement parks

• Imagery• Source information

“Satellite”• Shaded relief• Vegetation• Highways• Streets• Cities• Parks• Military reservations• Municipal boundaries• Lakes• Rivers• Golf courses• Hospitals• Shopping centers• Airports• Colleges• Cemeteries• Amusement parks

“Terrain”

Page 11: Building good web_maps, Esri, Joris Bak

Google Maps operational layers

• Street overlay for imagery

• Traffic

• Photos

• Videos

• Wikipedia

• StreetView

• Web cams

• Bicycle routes

Page 12: Building good web_maps, Esri, Joris Bak

Some ArcGIS Server examples

• Orange County Property Appraiser Map

• City of St George

• North Vancouver Projects

• Solar Boston

• City of Greeley Property Information Map

Page 13: Building good web_maps, Esri, Joris Bak

Authoring a basemap

• Design map for cache scales- Add your tiling scheme scales

to the ArcMap dropdown list

- Web Mercator is ‘standard’

• Group layers by scale level- Only have to set the scale range

at the group layer level

- Copy layers between groups

Page 14: Building good web_maps, Esri, Joris Bak

The new design of the cached World Topo Map

Page 15: Building good web_maps, Esri, Joris Bak

Pre-compute when possible

• Annotation versus labels

• Query or tool results

• Projection- Best = no projection

• Cache

Page 16: Building good web_maps, Esri, Joris Bak

Data tips

• ArcSDE geodatabase tips- Tune ArcSDE

- Use direct connect

• Spatial indexes- Keep up to date

- Correct size relative to map extent

• Attribute indexes- Use for joins and common queries

Page 17: Building good web_maps, Esri, Joris Bak

Ways to serve your maps

Page 18: Building good web_maps, Esri, Joris Bak

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

Page 19: Building good web_maps, Esri, Joris Bak

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

Page 20: Building good web_maps, Esri, Joris Bak

Dynamically drawn map services

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

• Slower than caching, but advantages like labeling, dynamic layers and more..

Page 21: Building good web_maps, Esri, Joris Bak

Data that’s OK to draw dynamically

• Real-time data

• Frequently-changing data with large scope

• Internal maps accessed by just a few people

Page 22: Building good web_maps, Esri, Joris Bak

Client-side graphics

• Server sends geometries and attributes to client

• Features drawn in browser

Page 23: Building good web_maps, Esri, Joris Bak

What should you draw with client-side graphics?

• Interactive operational layers for mashups

• Layers that need to be thematically symbolized on the fly

• Query or geoprocessing results

• Web editing: Feature Services

Page 24: Building good web_maps, Esri, Joris Bak

New Service Publishing Experience

Page 25: Building good web_maps, Esri, Joris Bak

Sharing as Services

• Make it easier to share GIS resources- Unified sharing experience

- Comprehensive Analysis

- Sharing to servers in the cloud and to ArcGIS Online

Vision

ArcGISServer

Professional to Everyone

Page 26: Building good web_maps, Esri, Joris Bak

ArcGIS Server Cloud

Sharing as Services

ArcGIS ServerOn-Premises

Desktop

ArcGIS Online

Page 27: Building good web_maps, Esri, Joris Bak

Service Definition

Hosted Mapping on ArcGIS Online

Desktop ArcGIS Online

Web Map

Feature Service

Tiled Map Service

Service Configuration

Map Data

Publishing

Page 28: Building good web_maps, Esri, Joris Bak

Demo

Desktop

ArcGIS Online

Sharing services as hosted Maps on ArcGIS Online

Page 29: Building good web_maps, Esri, Joris Bak

Hosted Mapping on ArcGIS Online

• Sharing the easy way- No Server to buy, install or maintain

- Scales automatically

- No Firewall or IT issues

• Limitations- Only Tiled Map and Feature Service supported

- Data is private to each service

• When to use- Public facing services

- Desktop Users

Page 30: Building good web_maps, Esri, Joris Bak

Map service enhancements (10.1)

Page 31: Building good web_maps, Esri, Joris Bak

Analyzers in 10.1

276 Analyzers total for sharing

• Map Service 133

• Feature 22

• Caching 3

• Network 13

• Tracking 6

• SDS 37

• Schematics 1

Always publish successfully!

• GP Service

27

• Globe Service

5

• Image Service

5

• Geocode Service

7

• Geodata Service

1

• Packaging

15

Page 32: Building good web_maps, Esri, Joris Bak

Dynamic Layers: The Concept

• New behavior with the map service that allows for per-request changes to the map

• Optional capability of map services

• Allows for:- Updating renderers and symbols

- Removing and reordering layers

- Changing layer data sources

- Adding new layers from registered data sources

Application

10.1Map Service

REST

Workspaces

http json

Page 33: Building good web_maps, Esri, Joris Bak

Thematic Mapping

• When do I use dynamic layers instead of feature layers on the client for thematic mapping?- large number of features

- complex geometries that cannot be generalized

- when it provides a performance advantage

• Each approach has tradeoffs- e.g. Client side features scale better and provide more

interactive behavior

- Generate renderer can be used with both approaches

Page 34: Building good web_maps, Esri, Joris Bak

What’s in this session

• Map service planning and design

• Ways to serve your maps

• Authoring a good Web map

Page 35: Building good web_maps, Esri, Joris Bak

Authoring a good Web map

Page 36: Building good web_maps, Esri, Joris Bak

ArcGIS Services Directory

ArcGIS for ServerYour own data

Page 37: Building good web_maps, Esri, Joris Bak

ArcGIS Online

Register your services to make them easily accessible

ArcGIS for ServerYour own data

Search mapsUse mapsCreate mapsShare maps

Page 38: Building good web_maps, Esri, Joris Bak

Publishing Services

• Document service at source

• Carried along with item

• Links included in maps

ArcGIS Server

Publish from ArcGIS Desktop

(subscription)

Page 39: Building good web_maps, Esri, Joris Bak

Configure Web maps

ArcGIS for ServerEigen Data

GalerijenEmbedded Maps

Microsoft Office Mobiele Devices

Website

SharePoint

Page 40: Building good web_maps, Esri, Joris Bak

Configure Web maps

ArcGIS for ServerEigen Data

GalerijenEmbedded Maps

Microsoft Office Mobiele Devices

Website

Web mapsSharePoint

Page 41: Building good web_maps, Esri, Joris Bak

Service Authoring Considerations For optimal mashup ease and usability

• Limit number of layers, sublayers

• Layers as map building blocks

Page 42: Building good web_maps, Esri, Joris Bak

Using custom Base maps

• Add Cached Map Service to a Web map

• Leverage Custom Scales

• Use any layer

Page 43: Building good web_maps, Esri, Joris Bak

Configuring Layer

• Define user experience

• Save to item properties (if owner)

Pop-up

Save item propertiesto save configuration

Page 44: Building good web_maps, Esri, Joris Bak

Configuring your map

Layer Pop-upsTransparency

Display Scale Range

SymbolsNew – hide from legend

Page 45: Building good web_maps, Esri, Joris Bak

Pop-ups

• Use aliases, hide fields, don’t SHOUT

• Explore formatting options

• Deliver information well

• Optimize photo experience

200px by 150pxSmall size for rapid display

Page 46: Building good web_maps, Esri, Joris Bak

Item Description

After you save, and before you share

Concise SummaryGood Thumbnail

Great Description(use links, photos, etc.

Tags, Usage Notes, etc

Page 47: Building good web_maps, Esri, Joris Bak

Thumbnails

OrganizationBranding

LocationHints

GraphicHints

ContentHints

Page 48: Building good web_maps, Esri, Joris Bak

Groups

• Group thumbnail

• Description (can include links, photos)

Group Thumbnails& Summary

Group Description

Page 49: Building good web_maps, Esri, Joris Bak

Group are building blocks for galleries

Configurable group gallery template

Embedded gallery in public website

Page 50: Building good web_maps, Esri, Joris Bak

Consider your audience

• Map Viewer vs. applications (authors vs. consumers)

Embedded maps open map viewer by default – change!

Easy!

Page 53: Building good web_maps, Esri, Joris Bak
Page 54: Building good web_maps, Esri, Joris Bak

QuestionsJoris Bak