heyou
路人甲
路人甲
  • 注册日期2004-04-07
  • 发帖数59
  • QQ
  • 铜币324枚
  • 威望0点
  • 贡献值0点
  • 银元0个
阅读:1681回复:3

数据绑定问题???大家来讨论讨论!

楼主#
更多 发布于:2004-07-30 17:25
<P>属性数据保存在sql server数据库中,利用图层的特征进行查询,数据绑定,如何实现?如shape文件,其属性数据库保存基本的属性信息,大量的属性数据保存于sql server数据库,将shape文件也保存在sql server中,是否同时把*.shp,*.shx,*.dbf放入数据库中,如何实现?</P>
喜欢0 评分0
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15951
  • QQ
  • 铜币25345枚
  • 威望15368点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
1楼#
发布于:2004-08-02 10:15
使用arcsde来解决了
GIS麦田守望者,期待与您交流。
举报 回复(0) 喜欢(0)     评分
gis
gis
管理员
管理员
  • 注册日期2003-07-16
  • 发帖数15951
  • QQ
  • 铜币25345枚
  • 威望15368点
  • 贡献值0点
  • 银元0个
  • GIS帝国居民
  • 帝国沙发管家
  • GIS帝国明星
  • GIS帝国铁杆
2楼#
发布于:2004-08-02 10:16
<P>1. First, decide how you wish to connect to your tabular data to populate a MapObjects Table. The method you choose will depend on which data source the data is currently stored in. Choose from:</P><P>  ADO (using an OLE DB provider) for Jet Engine sources (Access), ISAM sources (Excel, FoxPro, dBase, Paradox, text files) or an ODBC data source (most databases such as Oracle, SQL Server etc)
  DAO for Access, Excel, FoxPro, dBase, Paradox, or text file sources.
  ODBC driver for any ODBC source (e.g.; Oracle, SQL Server, Access, Excel etc).
  INFO databases database using the MapObjects client</P><P>  ArcSDE using the MapObjects client</P><P>2. Create a new Table object, and define the Table by setting the Database and Name properties appropriately for your data source, as described in the links above.
4. Invoke the MapLayer object's AddRelate method, specifying a Field in the MapLayer's Recordset, the Table, and a Field in the external Table.
 If the Recordset has more than 100 records, it is recommended that you create an index on the field in the source Table. You may also wish to consider the use of the MaxCachedRelateRecords property. </P>
GIS麦田守望者,期待与您交流。
举报 回复(0) 喜欢(0)     评分
heyou
路人甲
路人甲
  • 注册日期2004-04-07
  • 发帖数59
  • QQ
  • 铜币324枚
  • 威望0点
  • 贡献值0点
  • 银元0个
3楼#
发布于:2004-08-06 20:25
<P>如何将shape文件导入到sql server数据库中,我已安装了arcsde for sql server!</P>
举报 回复(0) 喜欢(0)     评分
游客

返回顶部