摘要
数字地图制图实际上是建立在海量空间数据管理基础之上的图形编辑过程。因此,开发数字制图软件的核心工作是要完成地图数据管理和通过对鼠标与键盘的控制以完成灵活的图形编辑操作。设计模式是大型软件架构设计的基础,恰好能满足这些基本的要求。文中从数字地图制图软件的需求出发,对制图软件设计中常用设计模式(包括MVC模式、OBSERVER模式、COMPOSITE模式、COMMAND模式)的一般原理和结构进行简要介绍,并通过实例进行具体的说明。
As a matter of fact, Digital mapmaking is a graphic edit process based on abundant spatial data. The management of map data and flexible edit operation by keyboard and mouse is core of maPmaking software development. Design pattern is the basement of large software architecture'
s esign and it can satisfy these demand mentioned above. This paper discusses the requirements of mapmaking Software firstly, and then depicts several common-used design patterns in mapmaking software architecture's design, including MVC pattern, OBSERVER pattern, COMPOSITE pattern, COMMAND pattern, and explains them by examples in detail.
出处
《测绘工程》
CSCD
2008年第5期4-7,11,共5页
Engineering of Surveying and Mapping
基金
国家863地球空间信息系统技术专题资助(2007AA12Z206)
国家自然科学基金资助项目(40401052)