flying_dream
路人甲
路人甲
  • 注册日期2006-04-05
  • 发帖数5
  • QQ
  • 铜币119枚
  • 威望0点
  • 贡献值0点
  • 银元0个
40楼#
发布于:2006-10-14 10:17
<img src="images/post/smile/dvbbs/em01.gif" /><img src="images/post/smile/dvbbs/em02.gif" /><img src="images/post/smile/dvbbs/em01.gif" /><img src="images/post/smile/dvbbs/em02.gif" />感谢感谢
举报 回复(0) 喜欢(0)     评分
kimichen
路人甲
路人甲
  • 注册日期2006-03-23
  • 发帖数67
  • QQ150517388
  • 铜币185枚
  • 威望0点
  • 贡献值0点
  • 银元0个
41楼#
发布于:2006-10-13 15:27
<P>怎么没有继续发布啊, 关注ing。。。</P>
<P>其实我觉得可以在论坛上举行个比赛,开发一些小程序(包括用户界面),提高大家的编程能力,。 不过,共享的东西总有要限制吧</P>
举报 回复(0) 喜欢(0)     评分
liu_puma
路人甲
路人甲
  • 注册日期2004-11-13
  • 发帖数29
  • QQ
  • 铜币200枚
  • 威望0点
  • 贡献值0点
  • 银元0个
42楼#
发布于:2006-10-12 15:01
<P>studying!</P>
举报 回复(0) 喜欢(0)     评分
mei_w
路人甲
路人甲
  • 注册日期2006-08-22
  • 发帖数3
  • QQ
  • 铜币111枚
  • 威望0点
  • 贡献值0点
  • 银元0个
43楼#
发布于:2006-09-05 11:24
有没有空间分析模块的一些程序?或者有谁知道常用的RASTER CACULATOR、栅格图层的显示设置等等一些具体的接口、对象?偶是新手,希望得到大家的帮助、支持!有什么我知道的也定当全力相助!
举报 回复(0) 喜欢(0)     评分
gisleonzhouly
路人甲
路人甲
  • 注册日期2006-07-24
  • 发帖数15
  • QQ
  • 铜币157枚
  • 威望0点
  • 贡献值0点
  • 银元0个
44楼#
发布于:2006-08-17 08:56
<P>请问有没有人有在engine里面画线的程序?mapcontrol.trackline的起始点是系统默认的e.x,e.y,我现在需要指定的point的x,y值,请问哪位高人有更改的方法?替换mousedownevent里面的e??????正在尝试中……</P>
<P>另外,本人有个api画线程序,在vb中能正常运行,但是在.net中,scalex和scaley找不到替代函数,请高人指点……</P>
<P>期待中……</P>
举报 回复(0) 喜欢(0)     评分
pingy_s
路人甲
路人甲
  • 注册日期2006-08-14
  • 发帖数22
  • QQ
  • 铜币150枚
  • 威望0点
  • 贡献值0点
  • 银元0个
45楼#
发布于:2006-08-15 15:40
XX
举报 回复(0) 喜欢(0)     评分
gisleonzhouly
路人甲
路人甲
  • 注册日期2006-07-24
  • 发帖数15
  • QQ
  • 铜币157枚
  • 威望0点
  • 贡献值0点
  • 银元0个
46楼#
发布于:2006-08-15 09:16
<P>该方法是死加数据,还有可以直接从access中根据字段读取的,稍候会继续</P>

<P>'按下加载SDE按钮<BR>'==================================================<BR>Private Sub btnConToSde_Click()<BR>Dim I As Integer<BR>Dim pPropset As IPropertySet<BR>    Set pPropset = New PropertySet<BR>        With pPropset<BR>             .SetProperty "Server", "yy-server"<BR>             .SetProperty "Instance", "port:5151"<BR>             .SetProperty "user", "pdrq"<BR>             .SetProperty "password", "pdrq"<BR>        End With<BR>Dim pFact As IWorkspaceFactory<BR>Dim pWorkspace As IWorkspace<BR>    Set pFact = New SdeWorkspaceFactory<BR>    Set pWorkspace = pFact.Open(pPropset, 0)</P>
<P>Dim pFeatureWorkspace As IFeatureWorkspace<BR>    Set pFeatureWorkspace = pWorkspace</P>
<P>'打开地物类<BR>Dim pFeatureClassPipe As IFeatureClass<BR>Dim pFeatureClassDevice As IFeatureClass<BR>Dim pFeatureClassLabelPoint As IFeatureClass<BR>Dim pFeatureClassLabelLine As IFeatureClass</P>
<P>    Set pFeatureClassPipe = pFeatureWorkspace.OpenFeatureClass("PDRQ.管线")<BR>    Set pFeatureClassDevice = pFeatureWorkspace.OpenFeatureClass("PDRQ.设施")<BR>    Set pFeatureClassLabelPoint = pFeatureWorkspace.OpenFeatureClass("PDRQ.设施标注点")<BR>    Set pFeatureClassLabelLine = pFeatureWorkspace.OpenFeatureClass("PDRQ.设施标注线")<BR>        <BR>        Set pEditLayerPipe = New FeatureLayer<BR>        Set pEditLayerDevice = New FeatureLayer<BR>        Set pEditLayerLabelPoint = New FeatureLayer<BR>        Set pEditLayerLabelLine = New FeatureLayer<BR>        <BR>        Set pEditLayerPipe.FeatureClass = pFeatureClassPipe<BR>        Set pEditLayerDevice.FeatureClass = pFeatureClassDevice<BR>        Set pEditLayerLabelPoint.FeatureClass = pFeatureClassLabelPoint<BR>        Set pEditLayerLabelLine.FeatureClass = pFeatureClassLabelLine<BR>        '获取每个层的名字<BR>        pEditLayerPipe.Name = pEditLayerPipe.FeatureClass.AliasName<BR>        pEditLayerDevice.Name = pEditLayerDevice.FeatureClass.AliasName<BR>        pEditLayerLabelPoint.Name = pEditLayerLabelPoint.FeatureClass.AliasName<BR>        pEditLayerLabelLine.Name = pEditLayerLabelLine.FeatureClass.AliasName<BR>        <BR>        Set pMap = MapCon.Map<BR>        pMap.AddLayer pEditLayerPipe<BR>        pMap.AddLayer pEditLayerDevice<BR>        pMap.AddLayer pEditLayerLabelPoint<BR>        pMap.AddLayer pEditLayerLabelLine<BR>        For I = 0 To MapCon.LayerCount - 1<BR>            lstLyrName.AddItem (MapCon.Layer(I).Name)           '在下拉框中显示图层名称<BR>        Next<BR>        Set pActiveView = pMap<BR>End Sub</P>
举报 回复(0) 喜欢(0)     评分
gisleonzhouly
路人甲
路人甲
  • 注册日期2006-07-24
  • 发帖数15
  • QQ
  • 铜币157枚
  • 威望0点
  • 贡献值0点
  • 银元0个
47楼#
发布于:2006-08-15 09:14
加载shp文件按钮<BR>'===================================================<BR>Private Sub btnLoadSHP_Click()<BR>        Dim sFilePath As String<BR>        Dim pWorkspaceFactory As IWorkspaceFactory<BR>        Dim pFeatureWorkspace As IFeatureWorkspace<BR>        Dim pFeatureLayer As IFeatureLayer<BR>            CommonDialog1.DialogTitle = "Browse Map Document"<BR>            CommonDialog1.Filter = "Map Documents (*.shp)|*.shp"<BR>            CommonDialog1.CancelError = True<BR>        On Error GoTo error<BR>            CommonDialog1.ShowOpen<BR>            If Len(CommonDialog1.FileName) = 0 Then Exit Sub<BR>error:<BR>            sFilePath = CommonDialog1.FileName<BR>            If sFilePath = "" Then Exit Sub<BR>                fname = Left(CommonDialog1.FileTitle, Len(CommonDialog1.FileTitle) - 4)<BR>            Set pWorkspaceFactory = New ShapefileWorkspaceFactory<BR>            Set pFeatureWorkspace = pWorkspaceFactory.OpenFromFile(CurDir, 0)<BR>            Set pFeatureLayer = New FeatureLayer<BR>            Set pFeatureLayer.FeatureClass = pFeatureWorkspace.OpenFeatureClass(fname)<BR>            pFeatureLayer.Name = pFeatureLayer.FeatureClass.AliasName<BR>            Set pMap = MapCon.Map<BR>            pMap.AddLayer pFeatureLayer<BR>                 <BR>                 <BR>            Dim I As Integer<BR>            I = MapCon.LayerCount - 1<BR>            lstLyrName.AddItem (MapCon.Layer(0).Name)           '在下拉框中显示图层名称<BR>End Sub
举报 回复(0) 喜欢(0)     评分
hahaaluo
路人甲
路人甲
  • 注册日期2006-08-05
  • 发帖数146
  • QQ
  • 铜币591枚
  • 威望0点
  • 贡献值0点
  • 银元0个
48楼#
发布于:2006-08-12 22:04
<P>在下也正在学习当中  希望高手们多多指导~~~~~</P>
<P>谢谢 </P>
举报 回复(0) 喜欢(0)     评分
lvhongfu
路人甲
路人甲
  • 注册日期2006-07-31
  • 发帖数24
  • QQ
  • 铜币191枚
  • 威望0点
  • 贡献值0点
  • 银元0个
49楼#
发布于:2006-08-11 16:54
<img src="images/post/smile/dvbbs/em01.gif" />
举报 回复(0) 喜欢(0)     评分
游客

返回顶部