摘要
通过对MapObjects数据源和ADO.NET技术的研究,探讨了将Shapefiles文件导入到ADO.NET数据集中的方法。由于MapObjects不支持.NET的序列化技术,所以采用编程方式实现了几何对象与二进制数据流之间的双向转换,进而将Shapefiles中的空间数据保存到DataTable,并实现与属性数据的同步管理。这样,GIS数据组织变得简单高效,而且突破了ESRI空间数据只能单独存放的限制。
After the Mapobjects data source and ADO.NET technology are studied, the method for importing shapefiles into ADO.NET datasets is discussed. Because MapObjects do not support .NET serialization, bidirectional conversion between geometry objects of shapefiles and binary data stream is realized by programming. It could save the spatial data of shapefiles into datatable, and make the spatial data and attribute data to be managed synchronously. Thus, the organization of GIS data becomes simpler and more efficient. Further more, it could overcome the limitation of saving ESRI spatial data alone.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第9期1533-1536,共4页
Computer Engineering and Design
基金
国家863高技术研究发展计划基金项目(2003AA209090)
黑龙江省自然科学基金项目(G2004-25)
国家食品安全重大专项基金项目(2001BA804A43)