In NMS 2.3/2.6, geojson files are required for the Common Network Viewer (CNV). There are are generated from .mb files generated by MBService in the export directory. Essentially, they are only updated once a patch is successfully committed.
It would be better if the preprocessor could generate the geojson file, much in the same way as it does the .mb file. For example a new method in preprocessor.C (similar to exportMap() ) that can write the file in .geojson format. After a successful patch, the model build script could move the .geojson to the export directory. This is analogous to a .mb file being moved to patches/done.
It would be nice if geojson export rules are included in MCM along with the cell explosion rules.
Why is this useful?
Dynamic symbols in CNV rely on various properties of the device such as OH/UG/PM, Load Break, Gang, etc. To make these properties available to CNV, they must be in the .geojson file. To get them into the .geojson file, they have to be available to MBService when it is exporting a .mb file. To make them available to MBService, they have to be in the att_* tables.
Rather than cluttering up the att_* tables with symbology properties, the preprocessor could directly include them in the .geojson file.
A work around could be some configuration on the Viewer's Attributes tool the hide the symbol properties.
(This idea is arising for the Toronto Hydro upgrade project to NMS 2.6/25.12 that will be using CNV).