Pre-processing an SWD
OS MasterMap data that needs to be exported will be sourced from a dedicated SWD file. The SWD should contain one hittable layer of OS MasterMap only. Use SIS Desktop to pre-process and prime the SWD for DXF export.
Create Labels BDS
GeognoSIS cannot explode a label theme to create Box Text items so an accessible .bds file is required to hold the exploded text. To create this file:
- Open the OS MasterMap overlay in SIS Desktop.
- Apply the following filter to display only the text items (these will currently be Point Text items with the current Theme applied):
- Copy the Point features to a new Cadcorp BDS overlay called Point Text.
- Remove any existing themes from the overlay.
- Create a new Label Theme
with the following attributes:
- Expression uses label_text$
- Override::_heightFormula$ uses label_height
- Override::_alignmentFormula$ uses label_alignment&
- Override::_rotationFormula$ uses label_orientation#
- Under Styles turn off Outline.
(_FC& is null or (_FC& in
(0,10020,10026,10034,10043,10059,10060,10069,10074,10090,10102,10107,10112,10122,10133,10166,10169,10171,10178,1018
4,10198,10204,10213)))
6. Explode the theme to create a new layer with Box Text (this is required by the DXF exporter). This layer is the Box Text overlay.
7. Set the feature table attribute on every feature in the Box Text overlay. You can do this by setting the _featureTable$ property on each item to Cadcorp_ACAD-MM-9.
9. Delete the now unwanted Point Text overlay.
Create SWD
Create an SWD containing the following two overlays:
Overlay 0
Overlay 0 contains OS MasterMap with the following filter applied.
(_FC& is null or (_FC& in
(10041,10042,10044,10045,10046,10048,10075,10076,10077,10080,10155,10170,10172,10173,10175,10176,10177,10206) or
_FC& between 0 and 21 or _FC& between 10016 and 10019 or _FC& between 10021 and 10025 or _FC& between 10027 and
10033 or _FC& between 10050 and 10058 or _FC& between 10061 and 10068 or _FC& between 10070 and 10073 or _FC&
between 10082 and 10089 or _FC& between 10091 and 10101 or _FC& between 10103 and 10106 or _FC& between 10108 and
10111 or _FC& between 10113 and 10121 or _FC& between 10123 and 10132 or _FC& between 10134 and 10137 or _FC&
between 10157 and 10168 or _FC& between 10179 and 10183 or _FC& between 10185 and 10197 or _FC& between 10199 and
10203 or _FC& between 10208 and 10212 or _FC& between 10214 and 10217))
Under Overlay > Properties > Dataset > Dataset Properties, change the Feature Table column to use the Cadcorp_ACAD-MM-9 feature table.
Remove the style theme called ‘OS MasterMap Topography Layer Backdrop’ from the OS MasterMap overlay.
Overlay 1
Overlay 1 contains the .bds file holding the Box Text features. This should be overlay 1 in the SWD.
- Open the SWD containing the OS MasterMap layer and the Box Text overlay.
- Use the extent of the screen to create a polygon of the area for export in a new internal overlay.
- Create an internal overlay (using Query Builder) of all items to be exported, i.e. using a spatial filter of the area of interest. Do this for both the OS MasterMap overlay and the Box Text overlay with the output being added to a separate internal overlay.
- Change the Box text overlay pen to black.
- Delete polygons from the internal MasterMap overlay as they will not be exported.
- Turn off the original overlays 0 and 1 leaving only the two internal overlays just created.