阅读:1681回复:3
数据绑定问题???大家来讨论讨论!
<P>属性数据保存在sql server数据库中,利用图层的特征进行查询,数据绑定,如何实现?如shape文件,其属性数据库保存基本的属性信息,大量的属性数据保存于sql server数据库,将shape文件也保存在sql server中,是否同时把*.shp,*.shx,*.dbf放入数据库中,如何实现?</P>
|
|
1楼#
发布于:2004-08-02 10:15
使用arcsde来解决了
|
|
|
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> |
|
|
3楼#
发布于:2004-08-06 20:25
<P>如何将shape文件导入到sql server数据库中,我已安装了arcsde for sql server!</P>
|
|