Maptitude - http://research.umbc.edu/~roswell/maptitude.html

Larry's and Armando's utilities are now up on directionsmag.com, but still
in the "Newest Additions" section.

http://www.directionsmag.com/tools/default.asp?a=unapproved&title=Newest+Additions

I confess that I find Armando's utility to be easier to use. I think they
do two different things, but I'm not exactly sure of the difference.
Here's the best I'm able to determine.

                                        CopyLines   MixLines
Two files must be in same directory?     No             Yes
Two files must be in same map?           Yes            Yes
Source must be DBD file?                 No             Yes
Target must be DBD file?                 Yes            Yes
Must have same file structure?           Yes            Yes

Resource (.rsc) files are case-sensitive. So, it's "CopyLines," not
"copylines"





Here's Armando's blurb on CopyLines, since I have it handy.

Here is the macro to transfer lines from one layer to another.
I am including the code and a ZIP file with the Add-In.
Would you please pass the message to the list and upload it? (I am
reluctant to send attachments to a mailing list)

The name of  the Add In is CopyLines (to be filled in the "Name" field
of the AddIn Setup Dialog Box)


Limitations:
- The target  layer must be in the standard format.
- Both layers should be in the same map.
- only the geometry is copied,  no attached data is passed to the new
layer. (this can be improved with little extra programming, let me know
if you need it and I will try to find some free time to add it)

Before running the Add-In you have to select the lines you want to
transfer in the source layer.  After the seleection is made, run the add
in.  A dialog box will ask you for the source and target layer as well
as the selection set.

Please let me know of any problems or bugs you encounter.  Good Luck

Armando Scalise

=======================================
I have added some code to allow the CopyLine program to copy the
geography as well as the data.

I am including the compiled dbd, and the .rsc file.

I have not done extensive testing of this macro, so let me know if there
is any problem.

One note of caution: one choosing the field names to copy from one layer
to another, DO NOT INCLUDE   ID, DIR and  LENGTH.  This might create
some problem, specillay the ID (not so sure about the other two).

Good luck

Armando Scalise

_________________________________________________________
            Marjorie Roswell, Spatial Analyst
UMBC Center for Health Program Development and Management
1000 Hilltop Circle                     Fx: (410)455-6850
Baltimore, MD 21250                   E: [EMAIL PROTECTED]
Ph: (410)455-6802    http://umbc.edu/~roswell/mipage.html
_________________________________________________________


______________________________________________________________________
To unsubscribe, write to [EMAIL PROTECTED]

Reply via email to