Configuring OMA For Schematic Maps
Overview
OMA can support viewing NMS generated schematic maps, including general schematics and single circuit schematics. Schematic maps can double or triple the volume of OMA map data being generated on the server and being managed on the OMA device. Due to the performance implications, it is advisable to do a business case justification to determine if schematics are warranted, and, if so, what schematic sets to include in OMA.
Configuration
To configure NMS and OMA to support schematics, please complete the following:
Change your [project]_geojson_export.dat file to include ALT_DIAGRAM, LATITUDE, and LONGITUDE attributes on objects likely to be included in schematics to allow OMA to navigate from the geographic and internal maps to the schematic maps. Typically, object to include are primary switches, breakers, and 3 phase conductors and cables.
Change your [project]_geojson_export.dat file to include .mb objects that are new in the schematic maps. Typically this would include substation boxes, switch gear boxes, and schematic connectors. Check your <project>-create-schematics script for schematic specific classes.
Change your [project]_geojson_export.dat file to include a record to define which of the schematic sets are single circuit verses general schematics. Single circuit schematics will have a special coordinate system assigned to them in the <project>-create-schematics script -coordsystem parameter on the schematica call for single circuit schematics. This value is also in the VIEWER_GLOBAL_PROPERTIES.inc file viewer.single_circuit_schematic_coord_sys property (defaults to 10 for product).
Change your [project]-create-schematics script and add the -export flag to any schematica calls for schematic map sets you want included in OMA. This flag will tell the schematica program to write out .mb files to the $OPERATIONS_MODELS/export directory to be processed by the geojson generation process.
Change your model build post-process script ([project]-postbuild) to do schematic map generation before the OMA geojson map generation.
Change your [project]-build-moble-maps script to process schematica .mb files in the $OPERATIONS_MODELS/export directory.
Change your project version of partition based condition views to include dev_cls and dev_idx fields. For product, these views include oma_truck_locations_ptn, oma_incidents_ptn, oma_jobs_ptn, and oma_damage_reports_ptn and are defined in the [project]_schema_mobile_crew.sql file.