Creating Combined Shapes

Combining two shapes

Are you interested in combining two catchments to eliminate overlapping data? To combine two shapes into one, you will need to know the schema name and the two shape names. This will create a new shape that can be stored and analysed. This is useful when analysing the two shapes without double counting/duplication.

Note: To have the two overlapping drivetimes appear on your map, make sure you have them tagged in a browse before dragging onto your map.

To combine shapes

  • First you will need to create two or more DriveTimes

  • Right click on the schema that the DriveTimes were saved in onto the map. By default, this is Circles and Drivetimes Schema, within the User Catchments schema group

  • Select Add Map Layer | Add Layer…

  • Click on the Select… button besides Geometry Expression

  • In the Expression box use the following:

UNION(SHAPE1.'KEY1':MASTER.BOUNDARY,SHAPE2.'KEY2':MASTER.BOUNDARY)

Where:

SHAPE1 = The name of the Schema that holds Shape1

KEY1 & KEY2 = The names of the overlapping shapes. These can be found by opening a browse on the schema that contains the saved DriveTimes

SHAPE2 = The name of the Schema that holds Shape2

MASTER.BOUNDARY = Is the geographical boundary column. This does not usually require any change

Note: When typing the shape name, it needs to match exactly. To find the name of a schema, right click on it in the Data view and select Show Names

Example expression:

  • The DriveTimes should now be combined, however the new shape still needs to be saved

  • On your map, set the layer you just added as the Focus Layer

  • Select the new shape by clicking on it

  • Click on the shape on the map, select Copy within the Selection Shape section of the Maps tab

Graphical user interface, text Description automatically generated
  • Select Store - found in the same location

  • Give the new shape a Key and a Description

  • Choose the Schema in which to store the new shape & select Ok

The area will now appear as a row in the schema you saved it to. If you already had a browse of this schema open when you saved the new shape, you will need to refresh it (from the Home ribbon).

Last updated