You are here: Foswiki>Main Web>CW-Compare (12 May 2011, WikiGuest)EditAttach

CW-Compare

The application is written to run on Microstation SE or MicroStation J.

Setup 1:3 Copying the files

Create this directory:

c:\product\cwcompare Copy [http://www.dhp11.com/site04/project/0906/downloads/001_cwcompare-005.zip cwcompare-005.zip] into c:\product\cwcompare\ and extract all files and directories. Use the 'extract with paths option' to get this directory layout:

c:\product\cwcompare\cw03.ma c:\product\cwcompare\cwcompare.ucf c:\product\cwcompare\plantnew.dgn c:\product\cwcompare\plantold.dgn c:\product\cwcompare\mapnew.dgn c:\product\cwcompare\mapold.dgn c:\product\cwcompare\cw.dgn c:\product\cwcompare\cwcompare.dgn c:\product\cwmastermap\temp

Setup 2:3 MicroStation

Copy the workspace file cwcompare.ucf to the MicroStation user configuration directory. In a normal SE installation this will be:

C:\win32app\ustation\config\user\cwcompare.ucf

Create a desktop icon that will start MicroStation with the 'cwcompare' workspace. The -wu flag specifies the workspace:

C:\WIN32APP\ustation\ustation.exe -wucwcompare C:\product\cwcompare\cwcompare.dgn

Setup 3:3 Data

Copy your data to the correct directories:

\product\cwcompare\mapold.dgn\
This directory contains the old maps, i.e. pre-pai OS LandLine? DGN files. You can copy as many or as few files as you like to this directory, but a single segments worth is probably manageable.

\product\cwcompare\mapnew.dgn\
This directory contains the new maps, i.e. post-pai OS-!MasterMap DGN files. Again you can copy as many or as few as you like, but a segments worth (as above) is probably best.

\product\cwcompare\plantold.dgn\
This directory contains the old plant files, i.e. pre-PAI. Once again a segments worth is about right.

: Download the old (pre-pai) plant files for segment 4 (Southern Home Counties) from [http://www.dhp11.com/site04/project/0906/translated/seg4/seg4-plantold.dgn.zip seg4-plantold.dgn.zip].

\product\cwcompare\plantnew.dgn\
This directory should contains the new plant files, i.e. post-PAI.

: Download the new (post-pai) plant files for segment 4 (Southern Home Counties) from [http://www.dhp11.com/site04/project/0906/translated/seg4/seg4-plantnew.dgn.zip seg4-plantnew.dgn.zip].

Other Files and Directories

\product\cwcompare\cw03.ma
Microstation SE/J version of the CW PAI Compare module.
\product\cwcompare\cwcompare.dgn
Microstation SE/J design file which is used to open as default.
\product\cwcompare\cw.dgn
Microstation SE/J design file that is used to open as 'startup' file when module cw03 is loaded.
\product\cwcompare\cwcompare.ucf
Microstation SE/J user config file containing all settings required by cw03 module.
\product\cwcompare\temp\
The compare module writes error and report files to this directory.

Running the Application

Click on the desktop icon you created previously. Once Microstation has loaded enter the following command into the 'keyin' window:

mdl load cw03

The Comparison Tool dialog opens and the tool is ready to use. The application allows the operator to select plant files and view both old and new plant files against old and new maps.

To display the plant files:

  • Toggle on 'Detach Ref Files'
  • Press the [Select Plant...] pushbutton. This opens up a 'Plant Files' dialog.
  • Select the required plant files to attach by highlighting the required row from the list - ' Yes' appears in the 'Attach?' column.
  • Press the [Done] pushbutton when all required plant files have been selected. The dialog closes.
  • To open the selected plant files press the [Show Old and New] pushbutton: * 2 view windows open. * The selected plant files are fitted to both views.
  • The left hand view window shows the old plant files. The right hand view window shows the new plant asset files.

To display background maps:

  • Press the 'Toggle Maps On/Off' pushbutton.
  • Move the cursor over an OS Map Tile grid in either of the 2 views.
  • Press the 'left' mouse button. For the selected OS Tile: * The old map is displayed in the left hand view. * The new map is displayed in the right hand view.

To 'filter' elements accoding to level of shift:

  • Set the filter settings as required: * Set the '1st/top' colour picker to 'Green' * Set the '2nd/middle' colour picker to 'Orange' * Set the '3rd/bottom' colour picker to 'Red' * In the 'Low:' text field - enter a low/acceptable shift value (i.e. 0.5) ** In the 'High:' text field - enter a high shift value (i.e. 2.0)
  • To apply the filter settings to the currently selected 'asset' files press the [Show Old and New] pushbutton: * All elements with a shift value below the 'Low:' text field will be displayed as 'Green' (in the left hand window) * All elements with a shift value between the 'Low:' and High:' text fields will be displayed as 'Orange' (in the left hand window) ** All elements with a shift value above the 'High:' text field will be displayed as 'Red' (in the left hand window)

To edit the 'new' asset data:

  • Press the [Make Plant Active] pushbutton
  • Select an element (that requires editing) from the 'right hand' window (new asset file)
  • The file, which contains the selected element, will become active
  • Use standard Microstation tools (i.e. see the Modify, Manipulate, Fence tool palettes) to edit the asset elements ** See page CW-Compare Fence Tools - which shows how 'grouped' elements can be re-positioned using 'standard' Microstation tools/functionality
Topic revision: r1 - 12 May 2011 - 12:00:02 - WikiGuest
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback