阅读:3396回复:10
mo2.1是否支持geodatabase 官方问答
Software: MapObjects-Windows 2.1
Platforms: N/A Question Does MapObjects-Windows Edition 2.1 have support for geodatabases? Answer MapObjects-Windows Edition 2.1 supports ArcSDE 8.1, which includes limited support for ArcSDE versioning. If the geodatabase is registered as versioned, MapObjects 2.1 can read all versions but cannot edit them. If the ArcSDE geodatabase is not registered as versioned, then it is editable in MapObjects. If the ArcSDE geodatabase is registered and versioned, it is read-only with MapObjects. MapObjects respects geometry as simple features and attributes in a geodatabase stored in ArcSDE. MapObjects doesn't support custom features, relationship classes, feature linked annotation, layers with complex geometry (COGO curves), and so forth. Viewing a layer that contains geodatabase feature linked annotation will only show the outline polygons of the annotation. Similarly, for geodatabase layers containing complex geometry, shapes that are a simplification of the complex geometry are displayed. These simple features are used by ArcObjects to aid spatial searches. The actual content is stored in a related database BLOB field and can only be interpreted by ArcObjects. Personal geodatabases are not fully supported in MapObjects; that is, the spatial features stored in a personal geodatabase are ignored. You can, however, use ADO in MapObjects 2.1 to connect to your database and access the attribute information for the features, for querying, rendering, and so forth |
|
|
1楼#
发布于:2003-10-20 10:57
我一直以为2.1不能访问geodatabase呢,试试看,怎么访问
|
|
|
2楼#
发布于:2003-10-20 11:11
好,大家多来这里交流,继续讨论这个问题
|
|
|
3楼#
发布于:2003-10-20 13:18
mo链接sde的问题(英文)
Does mo 2.1 work with sde 8.3 ? I keep getting err #5. I checked the /etc/services file and I do have the line: esri_sde 5151/tcp in it. In fact, I have no problem at all with AcrView & AcrMap. These are my connection code: Dim dc As New MapObjects2.DataConnection dc.Server = "sde83:serverName" dc.User = "*****" dc.Password = "*****" dc.Database = "databaseName" dc.Connect If dc.Connect Then MsgBox "Smile!" Else MsgBox dc.ConnectError End If Do you have the mosde83 dll file in c:\program files\common files\esri folder. If not, then you can not use the dc.server="sde83:servername" string. If you have mosde82.dll in that folder, you can use dc.server="sde82:servername" string and if you have mosde81.dll in the folder then use the dc.server="sde81:servername" string. If you are running sde8.3, all of these strings should connect to it. Good Luck Thanks so much for your respond. I checked the folder and I got MoSde302.dll, MoSde80.dll, MoSde81.dll, sde30.dll, sde80.dll, sde81.dll. I changed my string to "sde81:serverName" then I got error -102. Error -1 for "sde80:serverName". Do you have any idea what the problem is ? Are you putting "ServerName" and "DatabaseName" as the connection string or are you specifying the actual names. You need to specify the actual names to be able to connect to sde. If DatabaseName is a variable, you need to drop the quotation marks. Also if ServerName is a variable, you need to setup the server connection like this: "sde81:" & ServerName. Below are my connection strings. Good Luck With dCon_Oracle 'connect to sde .Server = "sde82:neptune"'Neptune is the server name .Database = "esri_sde" .User = NUserName 'Variable .Password = NPassword 'Variable End With Which version of mo do you get the ability to connect to sde 8.2 and 8.3? I have mo 2.1 with SP3 but I dont have the MOSDE82.dll or the MOSDE83.dll files. Do these files come with mo 2.2? I think with mo2.1 only mosde81.dll is included, but mosde82.dll is on a CD that comes with sde that is useable with mo2.1. Good Luck |
|
|
4楼#
发布于:2003-10-22 11:14
的确有这样的小问题,大家要小心用哦,呵呵
|
|
|
5楼#
发布于:2003-10-22 11:42
用sde83我就没连上过,80和81都可以的
|
|
|
6楼#
发布于:2003-10-22 12:00
我使用的是8.3版本的,但用的也是sde81来连接,我看有个sde对mo的补丁,还没用过。
|
|
|
7楼#
发布于:2003-10-23 07:27
打包的时候我是把这两个都打进去了,用的是sde80,不管它,能用就行
|
|
|
8楼#
发布于:2003-10-23 09:10
yeah!兄弟最近忙什么呢?什么时候有兴趣一起做个东西玩啊?
|
|
|
9楼#
发布于:2003-10-23 11:19
当然可以了。
最近在做ao的开发,就是做dll,然后arcmap调用的那种,找到接口就写得出来,不过找接口的过程真痛苦,^_^。 |
|
|
上一页
下一页