Mapping For Sharepoint T11 Peter Smith

Post on 16-May-2015

1.679 views 3 download

Tags:

Transcript of Mapping For Sharepoint T11 Peter Smith

LOCATION BASED BUSINESS INTELLIGENCE

2

Mapping for Sharepoint

Pete SmithSolutions Architecte-Spatial

T11 Mapping for SharePoint (200)

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

5

Agenda

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

6

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

7

… and about more than mapping

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

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

9

Spatial Technology Is Prolific

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

- STORE - RETRIEVE - ANALYSE - VISUALISE

10

Gartner Hype Cycle

11

What is Spatial Data?

VectorPointsLinesPolygons (areas, regions)

RasterSatellite imageryDigitised aerial photos

12

Latitude

Longitude

13

Spatial Quick Start

Pete SmithSpatial Solutions Architecte-Spatial

demo

14

Agenda

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

15

Mobile Clients

The Spatially Enabled Enterprise

GPS

SQL Server DatabaseSynchronisation

GIS Applications

Business ApplicationsWeb Applications

SpatialDataFiles

Custom Apps

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

17

Agenda

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

18

SQL Server 2008

Spatial Data typesSpatial FunctionsSpatial IndexingManagement Studio Visualisation Tool

19

Geography TypeEllipsoid

Latitude - Longitude coordinate space

Latitude

+ 90

- 90

Longitude+ 180- 180

20

Geometry TypePlanar

X-Y coordinate space

Y

+ ∞

- ∞

X + ∞- ∞

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

22

Method - STUnion

select @shapeA.STUnion(@shapeB);

set @shapeA = Geometry...

set @shapeB = Geometry...

23

Method - STIntersects

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

24

SQL Server 2008

Pete SmithSpatial Solutions Architecte-Spatial

demo

25

Agenda

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

26

Business Process

Address geo-codingBusiness Planning

27

ComponentOne - Maps for Sharepoint

Portal

29

Business Intelligence

Monitor Analytics GeoAnalyzerSupports Analysis Services hierarchiesDrill in and out

30

Location Intelligence

Custom address type aheadSilverlight web part

31

Solution Round-up

Pete SmithSpatial Solutions Architecte-Spatial

demo

32

Agenda

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

33

Just one line of code

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

35

36

Using Maps

Pete SmithSpatial Solutions Architecte-Spatial

demo

37

Open Layers

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

Open Layers

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>

39

Agenda

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

40

SQL Server 2008 R2

41

Review

ConsiderationsLicensingStandards (OGC/Metadata)Fit for purpose

AdvantagesIntegrated mappingOne version of the truthSelf serve maps

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

43

Q & A

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.