47
Allan Laframboise Nicholas Furness …in the cloud Building Mobile Solutions ArcGIS Esri Developer Network

Building ArcGIS Mobile Solutions in the Cloud

Embed Size (px)

DESCRIPTION

Navteq Developer Days presentation that illustrates how to build a complete cloud-based mapping solution. A mobile app is used to monitize the platform by allowing customers to check-in (similar to foursquare).

Citation preview

Page 1: Building ArcGIS Mobile Solutions in the Cloud

Allan Laframboise

Nicholas Furness

…in the cloud

Building

MobileSolutions

ArcGIS

Esri Developer Network

Page 2: Building ArcGIS Mobile Solutions in the Cloud

esri – a leader in geospatial software

[email protected]

[email protected]

EDN Team

Support the developer community

Connecting - www.esri.com/devmeetup

Resources

esri - www.esri.com

Maps and Services - ArcGIS.com

Developer Help - resources.esri.com

Page 3: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS | A complete system for geographic information

Mobile

Desktop

Web• Discover

• Create

• Manage

• Visualize

• Analyze

• Collaborate

Cloud

Enterprise

Local

Page 4: Building ArcGIS Mobile Solutions in the Cloud

Who’s building ArcGIS solutions?

E311/Service Request

Campus Routing

Where To/Entertainment

Quake Map

Page 5: Building ArcGIS Mobile Solutions in the Cloud

Agenda

Build “intelligent” webmaps

Basemaps and Services

Host your data in the cloud

Build a mobile application

Get the most out of your subscription

Page 6: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Online

Building “intelligent” webmaps

Page 7: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Online

1. Website for maps and applications

2. Basemaps and Geo Services

3. Cloud-space for you! - New!

ArcGIS.com

Cloud-based geospatial solution

Page 8: Building ArcGIS Mobile Solutions in the Cloud

A complete geospatial infrastructure

Free Map

Viewers

Web & Mobile

APIsCloud Space

• ArcGIS OnlineBasemaps

& Services

Webmaps

In the cloud

Page 9: Building ArcGIS Mobile Solutions in the Cloud

What you can do with ArcGIS Online?Out-of-the-box you can…

Create an account

Browse and find maps

Create “intelligent” webmaps

Add data (CSV, GPX, SHP)

Share with groups

Access from any device

Accessibility

Page 10: Building ArcGIS Mobile Solutions in the Cloud

Webmap Viewers

ArcGIS Online (JS)

ArcGIS Explorer Online (SL)

Page 11: Building ArcGIS Mobile Solutions in the Cloud

DemoArcGIS.com – Build your first webmap

Page 12: Building ArcGIS Mobile Solutions in the Cloud

Recap

ArcGIS Online - cloud-based geospatial solution

Easy to find, create and share “intelligent” webmaps

Design with free viewers

No experience with GIS!

Page 13: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Online Services

How to access your world

Page 14: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Online Services

Types

1. Basemap Services

2. Task Services (Geo Services)

• ArcGIS Online

Page 15: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Online Basemaps

Types

World Street View

World Imagery (Satellite)

Demographics

Landsat Imagery

Reference

Other types

Bing, Open Street Map

Page 16: Building ArcGIS Mobile Solutions in the Cloud

Beautiful Maps!

Page 17: Building ArcGIS Mobile Solutions in the Cloud

Community Maps Programwww.esri.com/communitymaps

Page 18: Building ArcGIS Mobile Solutions in the Cloud

Basemap and Service Metadata

Description: Last updated July 2011…

Scale: 1:591,657,528 down to 1:4,514

Coordinate System: Web Mercator (WKID 102100)

Tiling scheme: Bing/Google

REST

http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer

REST:

http://tasks.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Places_World/Ge

ocodeServer

Page 19: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Online Task Services

Task Services = “Geo Services”

World geocoding and address matching

Routing (North America and Europe)

Geometry Service

Page 20: Building ArcGIS Mobile Solutions in the Cloud

DemoArcGIS Online Basemaps and Services

Page 21: Building ArcGIS Mobile Solutions in the Cloud

Recap

High-quality basemaps

Community is contributing

Different types of Task Services

Free for development!

Page 22: Building ArcGIS Mobile Solutions in the Cloud

Your data in the Cloud

ArcGIS Online cloud hosting

Page 23: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Online Subscription (New!)

Subscription

Access to geospace and services in the cloud

Standard account +

Brand ArcGIS.com website

Manage users (admin, publishers, users)

Create groups

Create and share private maps and data

Upload your data to the cloud

No servers, infrastructure or GIS expertise!

Page 24: Building ArcGIS Mobile Solutions in the Cloud

Moving data into the cloud

Hosting options

Feature Service – Live data

Tile Service – Images

Page 25: Building ArcGIS Mobile Solutions in the Cloud

What’s a Feature Service?

Your data as a “geo service” in the cloud

Accessible via REST, ArcGIS Web and Mobile APIs

SQL-like query

Get actual records (features)

Access shapes

Create, Update and Delete

Page 26: Building ArcGIS Mobile Solutions in the Cloud

Creating feature Services

1. Import your table or shapefile data

CSV, TXT and Shapefiles (zip)

Automatically geocoded

2. Creates a REST endpoint

http://services.arcgis.com/uCXeTVveQzP4IIcx/arcgis/rest/ser

vices/Navteq_POI_Cook_County/FeatureServer

Page 27: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Online Subscription

Publish and manage own services

No 1000 feature limit!

Default space is 2GB

Token-based security model

Page 28: Building ArcGIS Mobile Solutions in the Cloud

GoChicago!

Page 29: Building ArcGIS Mobile Solutions in the Cloud

DemoHosting your data in the cloud

Page 30: Building ArcGIS Mobile Solutions in the Cloud

Recap

ArcGIS Online Subscription gives you cloud space

Host data as a Feature or Tile services

Accessible from all ArcGIS clients and APIs (REST)

No experience with GIS!

Page 31: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Mobile APIs

Accessing your data in the cloud

Page 32: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS apps for tablets and smartphonesAccess ArcGIS.com webmaps in cloud

Apple iOS

Microsoft Windows

Phone 7

Google Android

(Coming in Q4, 2011) Free!

Page 33: Building ArcGIS Mobile Solutions in the Cloud

ArcGIS Mobile Development Options

Cross-platform

ArcGIS API for JavaScript (compact)

Native

ArcGIS for iOS

ArcGIS for Windows Phone

ArcGIS for Android (beta)

Page 34: Building ArcGIS Mobile Solutions in the Cloud

Getting Started

1. Go to the Resource Center

2. Download API

3. Access ArcGIS Online Basemaps

4. Access ArcGIS Online Services

5. Access your feature service in the cloud

Page 35: Building ArcGIS Mobile Solutions in the Cloud

Adding layers to your map

// ArcGIS Online Basemap Service

<esri:Map x:Name="MyMap" Extent="-120, 20, -100, 40">

<esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer"

Url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_

2D/MapServer">

</esri:ArcGISTiledMapServiceLayer>

<esri:GraphicsLayer ID=“PlacesLayer" />

</esri:Map>

Page 36: Building ArcGIS Mobile Solutions in the Cloud

Accessing geo services

// ArcGIS Online Geometry Service

private void RunBufferService()

{

BufferParameters bufferParams = new ESRI.ArcGIS.Client.Tasks.BufferParameters()

{

BufferSpatialReference = new SpatialReference(4326),

OutSpatialReference = MyMap.SpatialReference,

Unit = LinearUnit.StatuteMile,

};

bufferParams.Distances.Add(SliderDistance.Value);

bufferParams.Features.Add(_point);

_geometryService.BufferAsync(bufferParams);

}

void GeometryService_BufferCompleted(object sender, GraphicsEventArgs args)

{

Graphic bufferGraphic = new Graphic();

bufferGraphic.Geometry = args.Results[0].Geometry;

_polygonLayer.Graphics.Add(bufferGraphic);

}

Page 37: Building ArcGIS Mobile Solutions in the Cloud

Accessing features in the cloud

// ArcGIS Online Feature Service

QueryTask _placesQueryService = new QueryTask("http://services.arcgis.com/uCXeTVveQzP4IIcx

/ArcGIS/rest/services/POI_Cook_County/MapServer/0");

_placesQueryService.ExecuteCompleted += PlacesQueryTask_ExecuteCompleted;

private void RunPlacesService()

{

ESRI.ArcGIS.Client.Tasks.Query query = new ESRI.ArcGIS.Client.Tasks.Query();

query.Geometry = _bufferGeometry;

query.OutFields.Add("Name, Address,Street,City,County,Phone,Description,Cuisine,Chain");

query.Where = "Description like '%restaurant%'“;

_placesQueryService.ExecuteAsync(query);

}

private void PlacesQueryTask_ExecuteCompleted(object sender, QueryEventArgs args)

{

foreach (Graphic selectedPOI in args.FeatureSet.Features)

{

placesLayer.Graphics.Add(selectedPOI);

}

}

Page 38: Building ArcGIS Mobile Solutions in the Cloud

Mobile Developer Help

Downloads

API Reference

Samples

Forum

Blog

resources.arcgis.com

Page 39: Building ArcGIS Mobile Solutions in the Cloud

DemoArcGIS Mobile Development

Page 40: Building ArcGIS Mobile Solutions in the Cloud

Recap

Start with the out-of-the-box mobile Apps

Cross-platform and native development options

ArcGIS Resource Centers

How to access your data in the cloud

Page 41: Building ArcGIS Mobile Solutions in the Cloud

Getting the most out

of your ArcGIS Online

Subscription

Page 42: Building ArcGIS Mobile Solutions in the Cloud

GoChicago! Pizza Finder Mobile App

Search for pizza restaurants

Check-in/out

Routing

Directions

Rating

Page 43: Building ArcGIS Mobile Solutions in the Cloud

Cloud implementation + business model

Web Viewers

Administration

ArcGIS

Mobile App

• ArcGIS OnlineCustomer

Check-ins

Basemaps

& Services

Restaurant Owner

Webmaps

Page 44: Building ArcGIS Mobile Solutions in the Cloud

GIS mapping and analysisCloser look at customer information

Location

Time

Ratings

Routing

Identify patterns

Understand demographics

Target advertising & promotion

Page 45: Building ArcGIS Mobile Solutions in the Cloud

Business AnalystMake better location-based decisions

Marketplace

Analyses

Reports

Demographics

Decision making

bao.esri.com

Page 46: Building ArcGIS Mobile Solutions in the Cloud

Summary

ArcGIS Online One-stop-shop for webmaps, apps and services

ArcGIS Online Subscription Host and manage your data in the cloud

ArcGIS Mobile APIs Easy to consume cloud data and services

Monetize your investment GIS analyses, Demographics, Business Analyst

Page 47: Building ArcGIS Mobile Solutions in the Cloud

[email protected]

[email protected]

Esri Developer Network