SharpGIS博客翻译2005年6月:使用.NET来渲染地图

SharpGIS博客翻译2005年6月:使用.NET来渲染地图,第1张

概述Rendering maps using .NET 【原文】: http://www.sharpgis.net/2005/06/10/RenderingMapsUsingNET.aspx 【翻译】:小粟 日期: 2007 年 2 月 23 日 Last night I was, just for fun, fooling around with creating my own mapserver

Rendering maps using .NET

【原文】: http://www.sharpgis.net/2005/06/10/RenderingMapsUsingNET.aspx

【翻译】:小粟 日期: 2007 2 23

Last night I was,just for fun,fooling around with creating my own mapserver engine using native .NET and GDI+ methods,combined with a PostGreSQL/PostGIS database. Until Now I got Points,Labels and line layertypes implemented.
I dIDn’t expect much of the speed,but it turned out that GDI+’s drawing methods and anti-aliasing rendering combined with .NETs automatic connection pooling provIDed me with an ultra fast map render engine. And just by exposing linestyles as System.Drawing.Pen you get a vast amount of options for customizing the look of the rendered output. And it even looks great! I’m all ecstatic about the result,and will probably follow this further with more geometry types and additional data-provIDers (shapefile,Oracle etc). I’ll post some results here later.

使用.NET来渲染地图

昨天晚上,纯粹是为了好玩,我使用本地.NETGDI+方法来创建自己的地图服务引擎,使用的数据库是PostGreSQL/PostGIS。现在,我实现了点、注记和线图层的绘制。

当时我并没有怎么考虑速度的问题,不过实践表明,GDI+的绘制方法和基于.NET自动连接池反走样绘制技术给我提供了一个足够快的地图绘制引擎。并且,通过基于System.Drawing.Pen的线条样式定义,可以得到很多对绘制进行定制的选项,而它们的显示效果也很不错。我对它完全着迷了,所以有可能将对此例子增加更多的几何类型和数据类型(shapefile,Oracle等等),并发布到这里。

Rendering maps using .NET - Part II

I promised some screendumps from my PostGIS/.NET based MapEngine,so here it is. Nicely packed into a small workspace manager:

这是我的基于PostGIS/.NET的地图引擎的一些屏幕输出,它们很好地包裹在一个小的工作区管理器中:

总结

以上是内存溢出为你收集整理的SharpGIS博客翻译2005年6月:使用.NET来渲染地图全部内容,希望文章能够帮你解决SharpGIS博客翻译2005年6月:使用.NET来渲染地图所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/sjk/1180997.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-02
下一篇 2022-06-02

发表评论

登录后才能评论

评论列表(0条)

保存