kml generation web services

30
By: Steve McKinney, PhD SICS Consultants, LLC

Upload: steve-mckinney

Post on 01-Dec-2014

6.210 views

Category:

Technology


0 download

DESCRIPTION

This presentation describes a Web service that dynamically generates a KML from user-selected layers. The service, originally designed on the Alabama Resource Management System for Virtual Alabama, uses computational geometry to generate thematic layers on the fly. Users choose map layers of interest and a KML is then made available to them for download. This discussion will show how quickly a novice user can utilize a Web service to locate and visualize thematic data layers of interest without having to use anything more than their browser and KML displaying application.

TRANSCRIPT

Page 1: Kml Generation Web Services

By:

Steve McKinney, PhD

SICS Consultants, LLC

Page 2: Kml Generation Web Services

Launch in 2009-Q1 Address.NET GeoMath.NET Demographics.NET GeoClipboard.NET

SOAP SDK REST SDK Plain Text

(HTTPService XML) SDK

Page 3: Kml Generation Web Services

What are KML and KMZ? KML is a file format used to display

geographic data in an earth browser, such as Google Earth, ArcGIS Explorer, and Virtual Earth.

A KML file is processed in much the same way that HTML (and XML) files are processed by web browsers.

Like HTML, KML has a tag-based structure with names and attributes used for specific display purposes.

KMZ is a compressed version of KML.

Page 4: Kml Generation Web Services

EXAMPLE IMPLEMENTATION #1

The Alabama Criminal Justice Information Center’s

AlaCop Mapping Application

Page 5: Kml Generation Web Services
Page 6: Kml Generation Web Services
Page 7: Kml Generation Web Services
Page 8: Kml Generation Web Services
Page 9: Kml Generation Web Services
Page 10: Kml Generation Web Services
Page 11: Kml Generation Web Services
Page 12: Kml Generation Web Services
Page 13: Kml Generation Web Services
Page 14: Kml Generation Web Services

EXAMPLE IMPLEMENTATION #2

The Alabama Resource Management System

Page 15: Kml Generation Web Services
Page 16: Kml Generation Web Services
Page 17: Kml Generation Web Services
Page 18: Kml Generation Web Services
Page 19: Kml Generation Web Services
Page 20: Kml Generation Web Services
Page 21: Kml Generation Web Services

Implementation Components Geometry source

ArcGIS Server, SharpMap, or existing KML

Attribution sourceSQL Server, MySQL, Oracle, etc.

Code for parsing and writingASP.NET, PHP, or JSP

Web server with MIME specificationIIS or Apache

Page 22: Kml Generation Web Services

Process

Page 23: Kml Generation Web Services

Step #1: Prepare Geometry

Page 24: Kml Generation Web Services

Step #2: Prepare Attribution

Page 25: Kml Generation Web Services

Step #3: Write Code

Page 26: Kml Generation Web Services
Page 27: Kml Generation Web Services
Page 28: Kml Generation Web Services

Step #4: Server Configuration

Page 29: Kml Generation Web Services

References What Is KML? -

http://code.google.com/apis/kml/documentation/whatiskml.html

How do I create KML files? - http://code.google.com/support/bin/answer.py?answer=55210&topic=10032

Generic Handlers (ASHX Files) - http://www.brainbell.com/tutorials/ASP/Generic_Handlers_(ASHX_Files).html

Data Source Controls - http://www.asp.net/learn/moving-to-asp.net-2.0/module-05.aspx

Configure MIME Types (IIS 6.0) - http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/cd72c0dc-c5b8-42e4-96c2-b3c656f99ead.mspx?mfr=true

Page 30: Kml Generation Web Services

Steve McKinney, PhD

SICS Consultants, LLC

www.sicsconsultants.com

Blog: gisinnovations.blogspot.com