To create intelligent utility network layers, Cadcorp topological overlays can be used, as described in the Map Compiler topic's Topological Overlays section, and here are the steps to create its example using the Cadcorp SIS Desktop application:
1. CREATE CADCORP SYMBOLS AND SISfm ICONS
Two map icons are required, to represent pits and lamps. These are Cadcorp symbols named mapicons.name-ext and corresponding SISfm icon files named name.ext under the DataFolderMapIcon folder. This folder may already contain Node.gif and Lamp.png, and here we create corresponding symbols in SIS Desktop. To save time we will use copies of suitable existing symbols rather than creating new ones.
2. CREATE NETWORK INFRASTRUCTURE
Here we create the infrastructure, as pits and trenches, that will house the light network.
Item ID (_id&)
Item class (_classLocal$)
Origin X (_ox#)
Origin Y (_oy#)
Links (_links$)
Symbol (_shape$)
Pit_ID (Pit_ID$) - an attribute
(Note that a schema can be copied and pasted between overlays using Copy Overlay settings and Paste schema buttons in this dialog, which may assist here).
Item ID (_id&)
Item class (_classLocal$)
Number of vertices (_np&)
Start Node (_id1&)
End Node (_id2&)
Trench_ID (Trench_ID$)
entering values for the latter, e.g. T1, T2, T3,... and specifying Trench_ID for its label theme with Label placement Middle and Rotate labels True.
ERROR: Topology "Service" table "service_pit" does not exist ERROR: Topology "Service" table "service_trench" does not exist ERROR: Topology "Service" tables invalid - valid SQL for schema and DDL is:followed by a list of SQL statements; copy these to the clipboard.
label, service_pit.pit_id, Service Pit ID tip, service_pit.pit_id, Pit ID label, service_trench.trench_id, Service Trench ID tip, service_trench.trench_id, Trench ID
3. CREATE LIGHT NETWORK
Next we add the light network, as lamps and circuits, to this network infrastructure.
Item ID (_id&)
Item class (_classLocal$)
Node (_node&)
Angle (_angleDeg#)
Lamp_ID (Lamp_ID$)
Network_ID (Network_ID$)
Bulb_Type (Bulb_Type$)
Condition (Condition$)
Direction (Direction$)
Operation (Operation$)
Category (Category$)
Status (Status$)
Item ID (_id&)
Item class (_classLocal$)
Links (_links$)
Circuit_ID (Circuit_ID$)
Network_ID (Network_ID$)
Cable_Type (Cable_Type$)
Condition (Condition$)
Underground (Underground$)
label, service_light_lamp.lamp_id, Light Lamp ID tip, service_light_lamp.lamp_id, Lamp ID tip, service_light_lamp.network_id, Network ID tip, service_light_lamp.status, Status colour, service_light_lamp.status, Light Status label, service_light_circuit.circuit_id, Light Circuit ID tip, service_light_circuit.circuit_id, Circuit ID tip, service_light_circuit.network_id, Network ID tip, service_light_circuit.condition, Condition colour, service_light_circuit.condition, Light Circuit Condition
and the following MapLegend settings:
service_light_lamp.status, Working, 00FF00 service_light_lamp.status, Failed, 0000FF service_light_circuit.condition, Good, 00FF00 service_light_circuit.condition, Poor, 0000FF
and optionally the following AssetTable settings:
0,service_light_lamp,Lighting - Lamps,service_light_lamp_id lamp_id circuit_id condition status bulb_type direction operation category site_id x y 0,service_light_circuit,Lighting - Circuits,service_light_circuit_id circuit_id condition cable_type underground site_id x y
Service Pit (service_pit)
Service Trench (service_trench)
Service Light Lamp (service_light_lamp)
Service Light Circuit (service_light_circuit)
4. ADDING DIFFERENT NETWORK TYPES TO THE SAME INFRASTRUCTURE
The Map Compiler topic's Topological Overlays section's example includes a second network type that shares the same pit and trench infrastructure (Power networks with Line and Outlet items). With multiple network types:
_layer$="Light" And _classLocal$="TopoPoint" _layer$="Light" And _classLocal$="TopoLineString" _layer$="Power" And _classLocal$="TopoPoint" _layer$="Power" And _classLocal$="TopoLineString"
If you need further assistance, please contact IFM Support <support@integratedfm.com.au>.