mopointandline_vb
所属分类:GIS/地图编程
开发工具:Visual Basic
文件大小:23KB
下载次数:19
上传日期:2006-04-22 10:04:03
上 传 者:
ALFATER
说明: mapobject的点线编辑程序 程序语言:vb
(Lotus point line editing Procedure Language : vb)
文件列表:
MO的点线编辑程序_VB (0, 2003-11-17)
MO的点线编辑程序_VB\clsObjectTable.cls (5981, 1999-05-12)
MO的点线编辑程序_VB\clsOutage.cls (5025, 1999-05-05)
MO的点线编辑程序_VB\clsPole.cls (1838, 1999-05-12)
MO的点线编辑程序_VB\clsSpan.cls (4804, 1999-05-12)
MO的点线编辑程序_VB\frmObjectTable.frm (15077, 1999-05-12)
MO的点线编辑程序_VB\frmObjectTable.frx (61, 1999-05-12)
MO的点线编辑程序_VB\ObjectTable.vbp (775, 1999-05-12)
MO的点线编辑程序_VB\ObjectTable.vbw (151, 2003-10-29)
MO的点线编辑程序_VB\frmObjectTable.log (83, 2003-10-29)
MO的点线编辑程序_VB\SHAPES (0, 2003-11-17)
MO的点线编辑程序_VB\SHAPES\BUILD.DBF (1866, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\BUILD.SBN (2124, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\BUILD.SBX (420, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\BUILD.SHP (24948, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\BUILD.SHX (1300, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\POLE.DBF (187, 1999-05-12)
MO的点线编辑程序_VB\SHAPES\POLE.SHP (184, 1999-05-12)
MO的点线编辑程序_VB\SHAPES\POLE.SHX (124, 1999-05-12)
MO的点线编辑程序_VB\SHAPES\SPAN.DBF (198, 1999-05-12)
MO的点线编辑程序_VB\SHAPES\SPAN.SHP (276, 1999-05-12)
MO的点线编辑程序_VB\SHAPES\SPAN.SHX (116, 1999-05-12)
MO的点线编辑程序_VB\SHAPES\STREET.DBF (78, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\STREET.SBN (132, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\STREET.SBX (116, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\STREET.SHP (4432, 1999-05-05)
MO的点线编辑程序_VB\SHAPES\STREET.SHX (108, 1999-05-05)
Demonstration of clsObjectTable
This simple MapObjects/Visual Basic project demonstrates many of the
capabilities of the clsObjectTable object. The Full View, Zoom Out,
and Pan/Zoom tools should be self explanatory. The Pole and Span
tools are used for editing these features:
Pole
Left mouse - Selects a pole or adds one if none is found. Hold down
to drag the selected pole and any attached spans.
Right mouse - Deletes a pole and any attached spans.
Span
Left mouse - Click and drag to define the span line. When you lift
up, it will search for poles at either end of the line. If
poles are found, the line will snap to them and the span will
be saved.
Right mouse - Deletes a span.
When a pole is selected, you can edit and update its attributes in
the bottom frame.
----------
clsObjectTable is a front-end to a MapLayer that can read and write
shapefile/SDE records as VB objects. The idea for this came from
similar concepts in ARC/INFO version 8.0. Objects read and written
with clsObjectTable must have the following three methods:
ReadRecord - given a Recordset, populate the object with the
values of the current record
Spawn - return a new instance of the object class
WriteRecord - given a Recordset, write the attributes of the
object to the current record or a new record
To operate, a clsObjectTable object must be given a MapLayer and a
Prototype object. The Spawn method is used on the Prototype to
generate instances of the feature object.
clsObjectTable supports all of the MapLayer search methods
(SearchByDistance, SearchExpression, SearchShape). Use the
HasResultSet method to see if a search found any records.
clsObjectTable also contains its own internal Recordset, so all of
the Recordset management methods (EOF, MoveFirst, MoveNext) are
also supported. Use ReadObject to retrieve objects from the
MapLayer and WriteObject to send them back.
近期下载者:
相关文件:
收藏者: