1

因此,我将空间数据存储在 SQL Server 2008 数据库(邮政编码)中。我的前端是 Silverlight 4,我可以将 WCF 服务中的形状作为 GML 获取到前端。有什么简单的方法可以将它们作为形状添加到地图中,而无需自己解析 GML?或者我可以使用众所周知的文本格式吗?由于各种其他原因,我无法使用 RSS 服务。

4

2 回答 2

0

Use WKT. if you need to extract data from geometry types. Add sql types as reference to your project and use sql geometry types.

于 2013-01-30T15:27:18.530 回答
0

Maybe you can use the spatial functions in odata for this. Its in the wcf data services October preview.

于 2011-11-01T20:51:17.833 回答