Skip to main content

Changes from previous structure

This section is intended for software developers, power users, and other advanced users familiar with the pre-TeRaSys 2025 structure who wish to understand the differences between the previous and current structures, which apply starting from BR IFIC 3042 (published on 18 March 2025).

The following key changes have been implemented:

  1. Merge GE06 allotments into FMTV
  2. Move the column target
  3. Geographic coordinates
  4. Move FXM geographic coordinates

Merge GE06 allotments into FMTV

The table ge06_allot_terra and related tables were merged into fmtv_terra and related tables.

The column is_allot is added to the table fmtv_terra to differentiate assignments from GE06 allotments.

Deleted tablesData moved toAdded columns
ge06_allot_terrafmtv_terrais_allot, allot_name and typ_ref_netwk
ge06_allot_coordfmtv_coord 
ge06_allot_plan_rmksfmtv_ge06_plan_rmks 
ge06_allot_pub_histfmtv_pub_hist 
ge06_allot_rmksfmtv_rmks 
ge06_allot_statusfmtv_status 
ge06_allot_targetfmtv_target 

The table ge06_allot_sub_area_xref is renamed to fmtv_ge06_sub_area_xref to comply with the prefix fmtv.

Move the column target

The column target contains the terrakey of the target assignment/allotment where the intent is SUPPRESS and/or MODIFY.

In the old structure, this column was in the terra tables:

  • fmtv_terra
  • fxm_terra
  • lfmf_terra

It has been moved, respectively, to the target tables:

  • fmtv_target
  • fxm_target
  • lfmf_target

The value of the column intent in terra tables, which is SUPPRESS and/or MODIFY, is copied to the column action in the target tables.

Geographic coordinates

The geographic coordinates columns in the tables lfmf_terra, fmtv_terra, ge06_sub_area_pt, and fxm_geo_pt have been simplified. The specific modifications made to these columns are outlined in the table below:

Old columnsNew columnsNew column typeValue in the new column
long_declong_dec (preserved)floatLongitude in decimal °
lat_declat_dec (preserved)floatLatitude in decimal °
long_deg, long_min, long_sec, long_ewlongitude_dmsfloatDD * 10000 + MM * 100 + SS
lat_deg, lat_min, lat_sec, lat_nslatitude_dmsfloatDD * 10000 + MM * 100 + SS
 seconds_in_usestringTRUE or FALSE
long_rdn   
lat_rdn   

The columns longitude_dms, latitude_dms and seconds_in_use are migrated from the old structure using the following SQL statements:

longitude_dms = ( long_deg * 10000 + long_min * 100 + ISNULL(long_sec, 0) )
* CASE long_ew WHEN 'E' THEN 1 ELSE -1 END,

latitude_dms = ( lat_deg * 10000 + lat_min * 100 + ISNULL(lat_sec, 0) )
* CASE lat_ns WHEN 'N' THEN 1 ELSE -1 END,

seconds_in_use = CASE WHEN long_sec IS NULL THEN 'FALSE' ELSE 'TRUE' END

FXM geographic coordinates

In the previous database structure, the fxm_geo_pt table stored the geographic coordinates along with the site altitude (site_alt) for entries where the geo_type was designated as POINT, CIRCLE or MULTIPOINT.

This structure has been revised in the new database schema. The fxm_geo_pt table now exclusively contains the geographic coordinates for entries where the geo_type is MULTIPOINT.

For entries where the geo_type is POINT or CIRCLE, both the geographic coordinates and the site altitude (site_alt) have been relocated to the fxm_geo table.