Signpost
Signpost is a Cadcorp SIS Desktop application for creating sign data from Way Finder topology. It does not aim to generate final signage, but to provide a guide on what signage should contain to be complete.
It is supplied for a test data example as:
- signpost.py - Python script.
- signpost.config - example settings.
- signpost-destinations.txt - example Node item descriptions for destinations to be signposted.
- signpost.log - example log.
The settings are:
- RouteOverlay - the name of the site plan topology overlay containing Node and Link items (e.g. Route-Vehicle).
- LinkBuilding - the code for the building whose Node and Link items are to be processed (blank to process site items).
- Brief - whether the log should be brief or verbose (e.g. True).
- NodeDescAttribute - the Node item description attribute (e.g. Name$).
- LinkDescAttribute - the Link item description attribute (e.g. Name$).
- LinkBuildingAttribute - the Link item building code attribute (e.g. Building$).
- LinkLengthExpression - the Link weighted length attribute (e.g. _length#, see Way Finder setting RouteItemLengthFormula).
- LinkBendAngleDegrees - the minimum angle between Link items for a signpost to be present, in degrees (e.g. 45).
- SignDescAttribute - the sign post item description attribute (e.g. Description$).
- FingerDescAttribute - the sign finger item description attribute (e.g. Fingertext$).
- FingerLengthMetres - the sign finger length in metres (e.g. 3).
To run the Signpost application:
- Copy the above files to your desktop.
- Edit signpost.config to suit your data and preferences.
- Edit signpost-destinations.txt to suit your data.
- Launch Cadcorp SIS Desktop and open the site SWD file containing the overlay to process.
- Use View / Developer / Python to display the Python developer control bar.
- Load the application by entering (replacing "david" by your account name):
sys.path.append("C:\\Users\\david\\Desktop"); import signpost; import importlib
- Run the application by entering:
importlib.reload(signpost); signpost.main(sis)
- Inspect the results in signpost.log.
- Inspect the results in new overlay Signpost for site data, or Signpost-code for building data.
Map Compiler can be used to compile site topology and signpost overlays for display in Map Enquiry if desired.
As a Python application, Signpost runs slowly. A much faster DLL application can be supplied on request.