Skip to main content
`Ctrl`+`K`

# ng911ok.lib.eszconst module

SET_TO_NULL: Final[str] = '== SET TO NULL =='

  String to be used as an option in field dropdowns indicating that a field should not be mapped (and therefore the output be set to null).

_all_esb_fields: Final[frozenset[NG911Field]] = frozenset({NG911Field(role='agency_id', name='Agency_ID', type='String', priority='M', length=100, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='avcard_uri', name='Avcard_URI', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='country', name='Country', type='String', priority='M', length=2, domain=<NG911Domain 'COUNTRY' [1 Entry]>, fill_value='US'), NG911Field(role='discrpagid', name='DiscrpAgID', type='String', priority='M', length=75, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='dsplayname', name='DsplayName', type='String', priority='M', length=60, domain=None, fill_value=None), NG911Field(role='effectdate', name='EffectDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='expiredate', name='ExpireDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='initidate', name='InitiDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='initisrce', name='InitiSrce', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='local_id', name='Local_ID', type='String', priority='O', length=100, domain=None, fill_value=None), NG911Field(role='nguid_ems', name='NGUID_EMS', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='nguid_fire', name='NGUID_FIRE', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='nguid_law', name='NGUID_LAW', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='revdate', name='RevDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='reveditor', name='RevEditor', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='servicenum', name='ServiceNum', type='String', priority='O', length=15, domain=None, fill_value=None), NG911Field(role='serviceuri', name='ServiceURI', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='serviceurn', name='ServiceURN', type='String', priority='M', length=55, domain=<NG911Domain 'SERVICEURN' [69 Entries]>, fill_value='urn:emergency:uid:gis'), NG911Field(role='state', name='State', type='String', priority='M', length=2, domain=<NG911Domain 'STATE' [7 Entries]>, fill_value='OK'), NG911Field(role='submit', name='SUBMIT', type='String', priority='M', length=1, domain=<NG911Domain 'YESNO' [2 Entries]>, fill_value='N')})

  Union of all fields in the ESB feature classes.

_common_esb_fields: Final[frozenset[NG911Field]] = frozenset({NG911Field(role='agency_id', name='Agency_ID', type='String', priority='M', length=100, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='avcard_uri', name='Avcard_URI', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='country', name='Country', type='String', priority='M', length=2, domain=<NG911Domain 'COUNTRY' [1 Entry]>, fill_value='US'), NG911Field(role='discrpagid', name='DiscrpAgID', type='String', priority='M', length=75, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='dsplayname', name='DsplayName', type='String', priority='M', length=60, domain=None, fill_value=None), NG911Field(role='effectdate', name='EffectDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='expiredate', name='ExpireDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='initidate', name='InitiDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='initisrce', name='InitiSrce', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='local_id', name='Local_ID', type='String', priority='O', length=100, domain=None, fill_value=None), NG911Field(role='revdate', name='RevDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='reveditor', name='RevEditor', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='servicenum', name='ServiceNum', type='String', priority='O', length=15, domain=None, fill_value=None), NG911Field(role='serviceuri', name='ServiceURI', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='serviceurn', name='ServiceURN', type='String', priority='M', length=55, domain=<NG911Domain 'SERVICEURN' [69 Entries]>, fill_value='urn:emergency:uid:gis'), NG911Field(role='state', name='State', type='String', priority='M', length=2, domain=<NG911Domain 'STATE' [7 Entries]>, fill_value='OK'), NG911Field(role='submit', name='SUBMIT', type='String', priority='M', length=1, domain=<NG911Domain 'YESNO' [2 Entries]>, fill_value='N')})

  Set-intersection of all fields in the ESB feature classes, i.e., the fields common to the ESB feature classes.

_esz_fields: Final[frozenset[NG911Field]] = frozenset({NG911Field(role='agency_id', name='Agency_ID', type='String', priority='M', length=100, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='country', name='Country', type='String', priority='M', length=2, domain=<NG911Domain 'COUNTRY' [1 Entry]>, fill_value='US'), NG911Field(role='discrpagid', name='DiscrpAgID', type='String', priority='M', length=75, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='dsplayname', name='DsplayName', type='String', priority='M', length=60, domain=None, fill_value=None), NG911Field(role='effectdate', name='EffectDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='ems', name='EMS', type='String', priority='O', length=60, domain=None, fill_value=None), NG911Field(role='esn', name='ESN', type='String', priority='M', length=5, domain=None, fill_value='0'), NG911Field(role='esz', name='ESZ', type='String', priority='M', length=5, domain=None, fill_value=None), NG911Field(role='expiredate', name='ExpireDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='fire', name='FIRE', type='String', priority='O', length=60, domain=None, fill_value=None), NG911Field(role='initidate', name='InitiDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='initisrce', name='InitiSrce', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='law', name='LAW', type='String', priority='O', length=60, domain=None, fill_value=None), NG911Field(role='local_id', name='Local_ID', type='String', priority='O', length=100, domain=None, fill_value=None), NG911Field(role='nguid_esz', name='NGUID_ESZ', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='revdate', name='RevDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='reveditor', name='RevEditor', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='state', name='State', type='String', priority='M', length=2, domain=<NG911Domain 'STATE' [7 Entries]>, fill_value='OK'), NG911Field(role='submit', name='SUBMIT', type='String', priority='M', length=1, domain=<NG911Domain 'YESNO' [2 Entries]>, fill_value='N')})

  Fields in the `
  ESZ_BOUNDARY` feature class.

_fields_omit_from_dissolve: Final[frozenset[NG911Field]] = frozenset({NG911Field(role='dsplayname', name='DsplayName', type='String', priority='M', length=60, domain=None, fill_value=None), NG911Field(role='local_id', name='Local_ID', type='String', priority='O', length=100, domain=None, fill_value=None)})

  Fields in the `
  ESZ_BOUNDARY` feature class that are not relevant to the dissolve operation and therefore should be omitted from it.

always_required_standard_field_names: Final[frozenset[str]] = frozenset({'EMS', 'ESZ', 'FIRE', 'LAW'})

  Names of standard fields for which corresponding source fields are always required to be provided when dissolving an ESZ feature class.

common_dissolve_fields: Final[frozenset[NG911Field]] = frozenset({NG911Field(role='agency_id', name='Agency_ID', type='String', priority='M', length=100, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='avcard_uri', name='Avcard_URI', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='country', name='Country', type='String', priority='M', length=2, domain=<NG911Domain 'COUNTRY' [1 Entry]>, fill_value='US'), NG911Field(role='discrpagid', name='DiscrpAgID', type='String', priority='M', length=75, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='effectdate', name='EffectDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='expiredate', name='ExpireDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='initidate', name='InitiDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='initisrce', name='InitiSrce', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='revdate', name='RevDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='reveditor', name='RevEditor', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='servicenum', name='ServiceNum', type='String', priority='O', length=15, domain=None, fill_value=None), NG911Field(role='serviceuri', name='ServiceURI', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='serviceurn', name='ServiceURN', type='String', priority='M', length=55, domain=<NG911Domain 'SERVICEURN' [69 Entries]>, fill_value='urn:emergency:uid:gis'), NG911Field(role='state', name='State', type='String', priority='M', length=2, domain=<NG911Domain 'STATE' [7 Entries]>, fill_value='OK'), NG911Field(role='submit', name='SUBMIT', type='String', priority='M', length=1, domain=<NG911Domain 'YESNO' [2 Entries]>, fill_value='N')})

  Fields that are all present in all of the ESB feature classes, not including those listed for omission. These fields should be used in each dissolve operation along with the relevant ESB-specific field.

common_esz_esb_fields = frozenset({NG911Field(role='agency_id', name='Agency_ID', type='String', priority='M', length=100, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='country', name='Country', type='String', priority='M', length=2, domain=<NG911Domain 'COUNTRY' [1 Entry]>, fill_value='US'), NG911Field(role='discrpagid', name='DiscrpAgID', type='String', priority='M', length=75, domain=<NG911Domain 'AGENCYID' [147 Entries]>, fill_value='INVALID'), NG911Field(role='dsplayname', name='DsplayName', type='String', priority='M', length=60, domain=None, fill_value=None), NG911Field(role='effectdate', name='EffectDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='expiredate', name='ExpireDate', type='Date', priority='O', length=None, domain=None, fill_value=None), NG911Field(role='initidate', name='InitiDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='initisrce', name='InitiSrce', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='local_id', name='Local_ID', type='String', priority='O', length=100, domain=None, fill_value=None), NG911Field(role='revdate', name='RevDate', type='Date', priority='M', length=None, domain=None, fill_value=None), NG911Field(role='reveditor', name='RevEditor', type='String', priority='M', length=75, domain=None, fill_value=None), NG911Field(role='state', name='State', type='String', priority='M', length=2, domain=<NG911Domain 'STATE' [7 Entries]>, fill_value='OK'), NG911Field(role='submit', name='SUBMIT', type='String', priority='M', length=1, domain=<NG911Domain 'YESNO' [2 Entries]>, fill_value='N')})

  Set-intersection of all fields in `
  ESZ_BOUNDARY` AND all of the ESB feature classes, i.e., the fields common to all of those feature classes.

common_field_map_parameter_field_names: Final[FrozenList[str]] = FrozenList(('Agency_ID', 'Country', 'DiscrpAgID', 'EffectDate', 'ExpireDate', 'InitiDate', 'InitiSrce', 'RevDate', 'RevEditor', 'SUBMIT', 'State'))

  Standard field names to use in the common field map parameter, sorted by field name.

esb_feature_classes: FrozenList[NG911FeatureClass] = FrozenList((<NG911FeatureClass 'esb_ems_boundary'>, <NG911FeatureClass 'esb_fire_boundary'>, <NG911FeatureClass 'esb_law_boundary'>))

  The ESB feature classes. Does not include `
  ESZ_BOUNDARY`.

esb_field_map_parameter_field_names: Final[FrozenList[str]] = FrozenList(('Avcard_URI', 'ServiceNum', 'ServiceURI', 'ServiceURN'))

  Standard field names to use in the ESB field map parameter, sorted by field name.

esb_only_fields: Final[frozenset[NG911Field]] = frozenset({NG911Field(role='avcard_uri', name='Avcard_URI', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='servicenum', name='ServiceNum', type='String', priority='O', length=15, domain=None, fill_value=None), NG911Field(role='serviceuri', name='ServiceURI', type='String', priority='M', length=254, domain=None, fill_value=None), NG911Field(role='serviceurn', name='ServiceURN', type='String', priority='M', length=55, domain=<NG911Domain 'SERVICEURN' [69 Entries]>, fill_value='urn:emergency:uid:gis')})

  Fields present in all of the ESB feature classes but not in `
  ESZ_BOUNDARY`.

esb_specific_fields: Final[FrozenDict[NG911FeatureClass, NG911Field]] = FrozenDict({<NG911FeatureClass 'esb_ems_boundary'>: NG911Field(role='ems', name='EMS', type='String', priority='O', length=60, domain=None, fill_value=None), <NG911FeatureClass 'esb_fire_boundary'>: NG911Field(role='fire', name='FIRE', type='String', priority='O', length=60, domain=None, fill_value=None), <NG911FeatureClass 'esb_law_boundary'>: NG911Field(role='law', name='LAW', type='String', priority='O', length=60, domain=None, fill_value=None)})

  Mapping of ESB feature classes to their corresponding fields in the `
  ESZ_BOUNDARY` feature class.

esz_field_map_parameter_field_names: Final[FrozenList[str]] = FrozenList(('DsplayName', 'EMS', 'ESN', 'ESZ', 'FIRE', 'LAW', 'Local_ID', 'NGUID_ESZ'))

  Standard field names to use in the ESZ field map parameter, sorted by field name.

esz_only_fields: Final[frozenset[NG911Field]] = frozenset({NG911Field(role='ems', name='EMS', type='String', priority='O', length=60, domain=None, fill_value=None), NG911Field(role='esn', name='ESN', type='String', priority='M', length=5, domain=None, fill_value='0'), NG911Field(role='esz', name='ESZ', type='String', priority='M', length=5, domain=None, fill_value=None), NG911Field(role='fire', name='FIRE', type='String', priority='O', length=60, domain=None, fill_value=None), NG911Field(role='law', name='LAW', type='String', priority='O', length=60, domain=None, fill_value=None), NG911Field(role='nguid_esz', name='NGUID_ESZ', type='String', priority='M', length=254, domain=None, fill_value=None)})

  Fields in `
  ESZ_BOUNDARY` that are not present in any of the ESB feature classes.