Johannes 的个人资料Hannes's Virtual Earth B...日志列表SkyDrive 工具 帮助

日志


3月2日

Virtual Earth & SQL Server 2008 - Part 1: Introduction (1/2)

The “Geohype” of the last years has lead to an increasing distribution of so called “Earth Viewers”. Microsoft Virtual Earth with its rich content and highly interactive user interface is certainly one of the most successful services of this type. However, there are scenarios where you want to achieve more than these services provide out of the box. The combination with spatial-enabled databases is a natural fit since it allows analysing and aggregation of the data directly in the database and transporting just the result of this process to the presentation layer. This series of blog-postings gives a brief introduction in the spatial infrastructure of SQL Server 2008 and discusses how we can integrate with Virtual Earth. It is not meant to be a complete overview about the possibilities but rather an introduction into the technical approach.

Introduction

For those of us who have been engaged in the geospatial business it is not really a surprise that the geospatial applications have become increasingly popular. In the 22nd of January 2004 issue of Nature you even found that “the US Department of Labour identified geotechnology as one of the three most important emerging and evolving fields, along with nanotechnology and biotechnology” and that the market for these type of applications is about to explode. Well, we have heard these kinds of expectations before but with the advent of the so called “Earth Viewers” there was a true breakthrough which created a geohype and maneuvered geotechnology into the mainstream.

Everyday new so called mashups – web applications which integrate data from different sources – pop up and many of them have a mapping component. Earth Viewers like Microsoft Virtual Earth contribute to this success of geospatial technologies through their attractivity and simplicity. In many cases you don’t need specialist knowledge anymore to create these spatial-enabled applications and the community of developers has grown from few GIS-specialists to a huge number of web developers and web designers who leverage the “Web 2.0” technologies like AJAX (Asynchronous JavaScript and XML) to create rich and appealing web applications.

While it can be very simple to create these kinds of applications there is the still quite often the need to integrate with traditional GIS or spatial-enabled databases. Earth Viewers combine ease of use with attractive content and a rich user experience but by themselves they have limited functionality when it comes to data creation, data storage or spatial-relationship queries; thus it is a natural fit to combine the Earth Viewers with spatial-enabled databases and GIS.

In this series of blog-postings we will discuss the integration of Microsoft SQL Server 2008 with Microsoft Virtual Earth and we will briefly discuss how to use ETL (Extract, Transform and Load) tools to load the data into Microsoft SQL Server 2008 in the first place and to perform basic transformations

image

Some Mapping Basics

If you are a geospatial specialist this is nothing new for you but if you are more a database administrator or a web developer this might be a new concept for you so let’s step back and have a look at background.

Projection

The world is a 3-dimensional object while a screen or a piece of paper is a flat object. SQL Server 2008 can work with both concepts and so can Virtual Earth if we use it in both 2D and 3D-mode. However, if we use the 2D-mode we need to use a so called projection to get from 3 to 2 dimensions. Virtual Earth uses the Mercator-projection which is a cylindrical projection. There are many advantages in this projection but the downside is that a cylindrical projection becomes less accurate the closer you get to the poles. Thus you will only be able to work accurate between 85 degrees North and 85 degrees South.

image

Coordinate System

There are a large number of coordinate-systems in use; many countries have specific coordinate-systems like the OSGB36 (Ordnance Survey Great Britain 1936) and some are even specific for a single infrastructure like a manufacturing facility or a steelworks.

However, when you need a coordinate system which is available in any place on the world you are usually looking at a geodetic coordinate system such as the WGS84 (World Geodetic System 1984). This coordinate system was originally introduced to reference locations acquired by the Global Positioning System (GPS).

评论

请稍候...
很抱歉,您输入的评论太长。请缩短您的评论。
您没有输入任何内容,请重试。
很抱歉,我们当前无法添加您的评论。请稍后重试。
若要添加评论,需要您的家长授予您相应权限。请求权限
您的家长禁用了评论功能。
很抱歉,我们当前无法删除您的评论。请稍后重试。
您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
完成下面的安全检查,您提供评论的过程才能完成。
您在安全检查中键入的字符必须与图片或音频中的字符一致。
KebeckJoha​nnes 在此页禁用了评论功能。

引用通告

此日志的引用通告 URL 是:
http://johanneskebeck.spaces.live.com/blog/cns!42E1F70205EC8A96!3529.trak
引用此项的网络日志