Mapping For Sharepoint T11 Peter Smith

43
LOCATION BASED BUSINESS INTELLIGENCE

Transcript of Mapping For Sharepoint T11 Peter Smith

Page 1: Mapping For Sharepoint T11 Peter Smith

LOCATION BASED BUSINESS INTELLIGENCE

Page 2: Mapping For Sharepoint T11 Peter Smith

2

Mapping for Sharepoint

Pete SmithSolutions Architecte-Spatial

T11 Mapping for SharePoint (200)

Page 3: Mapping For Sharepoint T11 Peter Smith

4

Session OverviewObjectives and Takeaways

Understand a bit about SpatialKnow about spatial in SQL Server 2008Learn about a few solutions you could useKnow how to put a simple map into SharepointHear about what’s coming soon

Page 4: Mapping For Sharepoint T11 Peter Smith

5

Agenda

1. Spatial Quick Start2. Maps in Sharepoint3. SQL Server 20084. Solutions Round-up5. Using Maps6. The Near Future

Page 5: Mapping For Sharepoint T11 Peter Smith

6

Spatial is about mapping...Many applications make direct use of spatial data and a map may be the primary output

Page 6: Mapping For Sharepoint T11 Peter Smith

7

… and about more than mapping

Many applications may make use of spatial data, even if they do not explicitly make maps.

Page 7: Mapping For Sharepoint T11 Peter Smith

8

Why Spatial?We love maps – maps are coolIts more than just mapsYou probably have ‘spatial’ data already in your database?

Address? City? Postcode? Location description?Database + Spatial Technology ConvergenceCombine Business Intelligence with Location Intelligence

TraditionalIT &

DatabaseSystems

GIS

IntegratedTechnology

Page 8: Mapping For Sharepoint T11 Peter Smith

9

Spatial Technology Is Prolific

How can we integrate spatial thinking and data into the enterprise?

- STORE - RETRIEVE - ANALYSE - VISUALISE

Page 9: Mapping For Sharepoint T11 Peter Smith

10

Gartner Hype Cycle

Page 10: Mapping For Sharepoint T11 Peter Smith

11

What is Spatial Data?

VectorPointsLinesPolygons (areas, regions)

RasterSatellite imageryDigitised aerial photos

Page 11: Mapping For Sharepoint T11 Peter Smith

12

Latitude

Longitude

Page 12: Mapping For Sharepoint T11 Peter Smith

13

Spatial Quick Start

Pete SmithSpatial Solutions Architecte-Spatial

demo

Page 13: Mapping For Sharepoint T11 Peter Smith

14

Agenda

1. Spatial Quick Start2. Maps in Sharepoint3. SQL Server 20084. Solutions Round-up5. Add a Map Walk Through6. The Near Future

Page 14: Mapping For Sharepoint T11 Peter Smith

15

Mobile Clients

The Spatially Enabled Enterprise

GPS

SQL Server DatabaseSynchronisation

GIS Applications

Business ApplicationsWeb Applications

SpatialDataFiles

Custom Apps

Page 15: Mapping For Sharepoint T11 Peter Smith

16

Maps in SharepointMobile

Team Sites

Mapping Web Parts

Address Geo-coding

+Routing

Integrated Spatial Queries

Spatial DbGIS Standards

Integration

SpatialAnalysisServices

PlatformServices

Workspaces, Mgmt,Security, Storage,

Topology, Site Model

Page 16: Mapping For Sharepoint T11 Peter Smith

17

Agenda

1. Spatial Quick Start2. Maps in Sharepoint3. SQL Server 20084. Solutions Round-up5. Using Maps6. The Near Future

Page 17: Mapping For Sharepoint T11 Peter Smith

18

SQL Server 2008

Spatial Data typesSpatial FunctionsSpatial IndexingManagement Studio Visualisation Tool

Page 18: Mapping For Sharepoint T11 Peter Smith

19

Geography TypeEllipsoid

Latitude - Longitude coordinate space

Latitude

+ 90

- 90

Longitude+ 180- 180

Page 19: Mapping For Sharepoint T11 Peter Smith

20

Geometry TypePlanar

X-Y coordinate space

Y

+ ∞

- ∞

X + ∞- ∞

Page 20: Mapping For Sharepoint T11 Peter Smith

21

Geography Data Type

create table gps_track ( Temporal datetime, Longitude decimal(11,3), Latitude decimal(11,3) )

insert gps_track values ( '1 sep 2008 10:00am', 174.6823, -36.8458 ),( '1 sep 2008 10:03am', 174.6921, -36.8543 ),( '1 sep 2008 10:06am', 174.7123, -36.8822 ),( '1 sep 2008 10:08am', 174.7643, -36.9123 ),( '1 sep 2008 10:11am', 174.8643, -36.9312 ),( '1 sep 2008 10:14am', 174.9464, -36.9432 )

select geography::Point(Longitude, Latitude, 4326)from gps_track

Page 21: Mapping For Sharepoint T11 Peter Smith

22

Method - STUnion

select @shapeA.STUnion(@shapeB);

set @shapeA = Geometry...

set @shapeB = Geometry...

Page 22: Mapping For Sharepoint T11 Peter Smith

23

Method - STIntersects

select suburb, Geom, geometry::Point(Longitude, Latitude, 4326)from gps_track, suburbswhere Geom.STIntersects(geometry::Point(Longitude, Latitude, 4326)) = 1

Page 23: Mapping For Sharepoint T11 Peter Smith

24

SQL Server 2008

Pete SmithSpatial Solutions Architecte-Spatial

demo

Page 24: Mapping For Sharepoint T11 Peter Smith

25

Agenda

1. Spatial Quick Start2. Maps in Sharepoint3. SQL Server 20084. Solutions Round-up5. Using Maps6. The Near Future

Page 25: Mapping For Sharepoint T11 Peter Smith

26

Business Process

Address geo-codingBusiness Planning

Page 26: Mapping For Sharepoint T11 Peter Smith

27

ComponentOne - Maps for Sharepoint

Portal

Page 28: Mapping For Sharepoint T11 Peter Smith

29

Business Intelligence

Monitor Analytics GeoAnalyzerSupports Analysis Services hierarchiesDrill in and out

Page 29: Mapping For Sharepoint T11 Peter Smith

30

Location Intelligence

Custom address type aheadSilverlight web part

Page 30: Mapping For Sharepoint T11 Peter Smith

31

Solution Round-up

Pete SmithSpatial Solutions Architecte-Spatial

demo

Page 31: Mapping For Sharepoint T11 Peter Smith

32

Agenda

1. Spatial Quick Start2. Maps in Sharepoint3. SQL Server 20084. Solutions Round-up5. Using Maps6. The Near Future

Page 32: Mapping For Sharepoint T11 Peter Smith

33

Just one line of code

Page 33: Mapping For Sharepoint T11 Peter Smith

34

OGC Web Map Servicesonearth.jpl.nasa.gov

http://wms.jpl.nasa.gov/wms.cgi?VERSION=1.1.1&REQUEST=GetMap&LAYERS=BMNG&STYLES=&SRS=EPSG:4326&BBOX=-164.452975,-90,164.453009,90&WIDTH=952&HEIGHT=521&FORMAT=image/png&TRANSPARENT=TRUE&BGCOLOR=0xFFFFFF&EXCEPTIONS=application/vnd.ogc.se_xml

http://wms.jpl.nasa.gov/wms.cgi?VERSION=1.1.1&REQUEST=GetMap&LAYERS=BMNG&STYLES=&SRS=EPSG:4326&BBOX=-164.452975,-90,164.453009,90&WIDTH=952&HEIGHT=521&FORMAT=image/png&TRANSPARENT=TRUE&BGCOLOR=0xFFFFFF&EXCEPTIONS=application/vnd.ogc.se_xml

Page 34: Mapping For Sharepoint T11 Peter Smith

35

Page 35: Mapping For Sharepoint T11 Peter Smith

36

Using Maps

Pete SmithSpatial Solutions Architecte-Spatial

demo

Page 36: Mapping For Sharepoint T11 Peter Smith

37

Open Layers

Open sourceJavascript libraryhttp://www.openlayers.org/

Open Layers

Page 37: Mapping For Sharepoint T11 Peter Smith

38

Content Editor Web Part<script src="http://openlayers.org/dev/OpenLayers.js"></script> <script type="text/javascript"> _spBodyOnLoadFunctionNames.push('GetMap'); var map = null; function GetMap(){ map = new OpenLayers.Map('map'); var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );

map.addLayers([ol_wms]);map.zoomToMaxExtent();

} </script><div id="map"></div>

Page 38: Mapping For Sharepoint T11 Peter Smith

39

Agenda

1. Spatial Quick Start2. Maps in Sharepoint3. SQL Server 20084. Solutions Round-up5. Using Maps6. The Near Future

Page 39: Mapping For Sharepoint T11 Peter Smith

40

SQL Server 2008 R2

Page 40: Mapping For Sharepoint T11 Peter Smith

41

Review

ConsiderationsLicensingStandards (OGC/Metadata)Fit for purpose

AdvantagesIntegrated mappingOne version of the truthSelf serve maps

Page 41: Mapping For Sharepoint T11 Peter Smith

42

Mapping for SharepointObjectives and Takeaways

Understand a bit about SpatialKnow about spatial in SQL Server 2008Learn about a few solutions you could useKnow how to put a simple map into SharepointHear about what’s coming soon

Page 42: Mapping For Sharepoint T11 Peter Smith

43

Q & A

Page 43: Mapping For Sharepoint T11 Peter Smith

44

© 2008 e-Spatial Limited New Zealand. All rights reserved. The information herein is for informational purposes only and represents the current view of e-Spatial Limited as of the date of this presentation. Because e-Spatial must respond to changing market conditions, it should not be interpreted to be a commitment on the part of e-Spatial, and e-Spatial cannot guarantee the accuracy of any information provided after the date of this presentation. e-

Spatial MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.