Wrap-Up of TIF Databases: Location Publishing
Wrap-Up of TIF Databases: Location Publishing
1) Document Control
DOCUMENT CONTROL
Version Date Author Approved Status Circulation Remark
By
2.1 26AUG08 JT BN/HD Final All via E-PRIDE TIF17 plus User
Feedback Updates
HISTORY
1.0 14NOV05 KG KG, DJ, Final All via WIKI
PLT
1.1 02DEC05 KG KG Final All via WIKI Included copyright
and on-line doc
comment in footer.
1.2 09DEC05 KG KG Final All via WIKI Prelim audit changes:
LP in header and
measures.
1.3 02FEB06 KG KG Final All via WIKI Copyright 2006
1.4 28FEB06 CD KG Draft KG, TLT Draft of document
1.5 23MAR06 KG CD, PLT Final All via E-PRIDE Review retention &
disposal in records
table from cert audit.
1.6 08AUG06 GR KG Final All via E-PRIDE Update to Tif 15
1.7 18JAN07 MW GR Final All via E-PRIDE Consistency
Improvements
1.8 17SEPT07 GR, KG Final All via E-PRIDE Improvements added
MW for TMC, Team
Leader signoff and
ADB checks
1.9 08NOV07 MW GR Final All via E-PRIDE Improvements added
for housenumbers,
TMC and delivery
format
2.0 14FEB08 MW GR Final All via E-PRIDE TIF17 plus User
Feedback Updates
Wrap_Up_v2-1_W.doc 1/14
2) References
Reference Type Title
Related Process Finalise Data
Work Product Conversion data
Tool Toolbox, TA Mapper, Fealing Road, RemHnr, List MPI, Log Interpreter,
TIF2Asc, Dupid check, X01cdbi (Consistency Check Tools ), Corrwork
(Consistency Fix Tools).
Support Material <Specs, TADM_TM, TADM_PM etc>
Wrap_Up_v2-1_W.doc 2/14
3) Purpose
To wrap-up TIF databases for release
4) Scope
This process is completed by GIS Officers in the Production team.
5) Tasks
A. Preparation
Get signoff from a team leader that all INCA checks (including CONCAD preset) have been run
and completed. Check Release Checklist on “P:\PLM\RELEASE\Aussie16_QualityReports\
COUNTRY\Release Checklist”
Check if Pre Wrapup Tool has been run on the dataset. Without this sign off wrap-up cannot be
completed. Check Release Checklist on “P:\PLM\RELEASE\Aussie16_QualityReports\
COUNTRY\Release Checklist”
Make sure the database is FULLY CONSISTENT. No errors are found after consistency is run
over the particular dataset; e.g (chkcntry nsw 01 /all /tag). Warnings need to be fixed also. Make
sure snips are checked when running consistency over the country. Also check cross-country
seaming. Note: consistency runs quicker locally.
HINT: there are sometimes hundreds or thousands of street used counter errors which would take
an unbelievably long amount of time to fix- so you can use the batch file countpy for this Located
on M:\AUS\Workspac\ count.py.
All the latest programs and tools need to be installed locally as all checks and processes will be run
on one computer. Note: Make sure before running any tools that the tool possesses the country’s
DBI’s and that they are set locally.
Programs you will need on your computer are listed above in point 2) Tools.
Make sure the local computer has at least 7GB of hard disk space free.
B. Database Lock-Down
Open TOOLBOX and “LOCK” the selected database (on M:\AUS\ or P:\NZL) by placing
“WRAPUP” in the production column.
Copy the locked databases to a local drive and place it within D:\Ta_Data
Set DBI’s to point at this location.
Reffex the dataset using Toolbox to “Create Reference Files with ADB Connection” to the new
locally copied databases as working will now be done locally.
C. Road Fealings
Take Road Fealings dump of Country, PartitionID, EdgeId, Length (Road Fields), FRC-A, FRC-B,
FOW, Net-2 Class.
IN MORE DETAIL: You need to have countries DBI’s pasted in C:\Program Files\Tele Atlas\
Fealing Road 17.00 to be able to select all the partitions within the dataset. You deselect all types
in EatFields & NameTypes. You only need ‘Country, PartitionID, EdgeID, Length, FRC-A, FRC-
B, FOW, NET2 Class from the RoadFields section. This table is dumped in C:\Program Files\Tele
Atlas\Fealing Road 17.00\Output under your specified name.
Sort by length to see if any roads < 5m are present.
There should not be any road edges < 5m at this stage as the process should have been performed
at some stage before wrap-up.
If at this stage any short edges are found, use the edge ids of these edges generated by the Fealings
dump (steps A and B above) to manually fix them in TA Mapper. Then repeat steps A and B to
see if all short edges have been eliminated.
Wrap_Up_v2-1_W.doc 3/14
Repeat these steps until no short edges and Value “0” remain.
Rerun consistency on affected partitions and solve any new errors generated. Go in C:\ X01cdbi
(Local Consistency Check Tools on C:\), Corrwork (Local Consistency Fix Tools on C:\)
Also check attributions for FRC-A, FRC-B, FOW, Net-2 Class. They should not have the value
“0”, if they do then open the partition in TaMapper and fix it.
Note: stars (*) are generated by TA Mapper wherever an address range is split by a new node and it
must interpolate a new range. These stars must be removed prior to supplying the dataset to the
conversion team as they cause problems for their processes.
Example
Wrap_Up_v2-1_W.doc 4/14
To check if stars were deleted, an Access Database is created in the database D:\TA_DATA\
XXX_01\XXX_GADM\External called ‘RemovedInfo.mdb’. Inside this database it states if any
stars were deleted, and provides edge id’s where this has occurred (if it has).
Note: At this stage there should not be any stars, however it is possible that some may have been
generated if short edges had to be fixed as a result of the Road Fealings dump. If this occurs, use
the edge id’s generated by the RemHnr tool to manually repair the address ranges which were
deleted by the tool in TA Mapper, utilizing the copy of the database still on network drive as a
reference (i.e. open this copy in TA Mapper as read-only to view how the address ranges were
before they were deleted). Repeat steps 1 – 7 until no stars are deleted.
Re-run consistency on any partitions which were affected.
If there are any records where AdminCode and AdminCodeRW are not the same then investigate
this in TA Mapper to see which of the two values is incorrect and amend in ADB.
Repeat the above three (5) steps until the query generates no results.
Execute the following Query for Checking CNT/CPT status (copy paste the below statement as
SQL query)
SELECT LinkPartitionAdminArea.AdminID, Count(LinkPartitionAdminArea.AdminID) AS
CountOfAdminID
FROM LinkPartitionAdminArea
GROUP BY LinkPartitionAdminArea.AdminID
HAVING (((Count(LinkPartitionAdminArea.AdminID))>1));
Any AdminID that exit in two different partition should have the Same CNT and CPT status, If not
then check the Partition in TaMapper and make the changes “If repart is required then follow the repart
Instruction”
Wrap_Up_v2-1_W.doc 5/14
PartitionI AdminID PartitionCode PartitionName Coverage Coverage
D Profile Type Network Type
5 61705375 SSC01000 SUNSHINE COAST EXT STNW
10 61705375 BRS11000 CABOOLTURE EXT STNW
F. Query ADB to ensure that 2 admin areas of the same order don’t
exist
The ADB.mdb is found at D:\TA_DATA\XXX_GADM\Access.
Open a new query window in ADB.mdb, (design view mode, and close SHOW TABLE browser)
select SQL option. (tool bar)
Execute the following query:
SELECT AdminArea.StandardName, Count(AdminArea.StandardName) AS
CountOfStandardName, AdminArea.Order
FROM AdminArea
GROUP BY AdminArea.StandardName, AdminArea.Order;
Select the Countofstandardname column and hit Z-A. If there are any duplicate admin areas there
will be a count of more than 1. If there is a count of >1 for the same order, this is a problem and
should be fixed through checking the source data and fixing the situation accordingly. Eg. Make
the 2 admin areas one area. Check with Team Leaders before altering any data. It may be the
case that two admin areas with the same name and order need to exist. (check other sources; UBD
etc)
Razorback in RNS is an example!
Rerun consistency on any partitions that changes were made (affected.)
Wrap_Up_v2-1_W.doc 6/14
This needs to be checked for all Dataset.
Check that the correct TMC country code is entered in the mdb located at M:\Aus
\Ta_Data\<country>_01\<country>_GADM\ACCESS\TMC. Open the access database and look at
the TMC MetaInfo table.
Official Country Code list for all states is as follows:
AU CC LTN ECC
Aus. Capital Territory 1 53 F0
New South Wales 2 54 F0
Victoria 3 1 F0
Queensland 4 56 F0
South Australia 5 57 F0
Western Australia 6 58 F0
Tasmania 7 59 F0
Northern Territory 8 60 F0
ProcessTMCPathSequence.exe
TMCFPRPathSequence.exe
TMCCorrect.exe
TMCCheck0318.exe
© Copyright Sensis Pty. Ltd. 2006.
Note: The contents of this publication are subject to change. For the most recent version always refer to the on-line
documentation.
Wrap_Up_v2-1_W.doc 7/14
Any error reported in these tools needs to be fixed in Tamapper, rerun the tools until the error log is
“0”.
Once the process has completed the databases logs are then copied to P:\PLM\RELEASE\
Aussie##_QualityReports\database\TIF2Asc. (This file path is explained in step J)
A common error that has occurred in the past is Address points not having AddressPointId’s. So
we check this before they have to go through the time consuming conversion process.
Tif2Asc dump of APT
Wrap_Up_v2-1_W.doc 8/14
Search through the Address Point Id’s (descending/ascending etc) to check that there are no
missing id’s. If there are, then you need to go into TaMapper and fix them. To give them Id’s you
can edit the address point to a Generic Anchor Point. Then change it back to the correct type it was
previously. This should give the address point an AddressPoint Id!
You should re-dump to make sure you have fixed all address points, and run consistency on the
partitions you were in.
Once the process has completed the databases logs are then copied to P:\PLM\RELEASE\
Aussie##_QualityReports\database\TIF2Asc. (This file path is explained in step J)
Wrap_Up_v2-1_W.doc 9/14
In folders D:\Ta_Data\database_01\DTA\partition\log and D:\Ta_Data\database\glob\partition\
logs make sure that the only files present are IncaViol.mdb and logs.mdb. Archive the rest within
P:\PLM\RELEASE\Aussie##_QualityReports\database\Dta_Archive under appropriate folder
headings. See next step on how to do this quickly.
Hint: Open the DTA folder. Click the “Search” button > All Files and Folders > More Advanced
Options . Type of File > Microsoft Access Database. Search and archive anything that isn’t
IncaViol or logs.
Database_GADM’s structure should be as shown below (after archiving). Any unwanted files will
need to be placed within R:\Aussie##_QualityReports\database\GADM_Archive. Commonly,
Wrap_Up_v2-1_W.doc 10/14
Database_ggeo should only be composed of connect.database, connext.database, reffiles.acc,
reffiles.dta, refmulti.dta, refparts.dta. (Reffiles.acc may not be there, this is fine.)
All others will be logged to P:\PLM\RELEASE\Aussie##_QualityReports\database\
GGEO_Archive.
L. Rebuild Dataset
Street Files
TOOLBOX - TOOLS – Street Utilities, SELECT STREET TOOL – Rebuild Street File
Select Dbi, and check boxes 1, 2 and 3.
REBUILD OPTIONS – List Street Files to ASCII and Remove all streets with Rejection Code
then STARTBANG!
After this has run select the rebuild option – Create street file from previously created ASCII file
Note: Tool- no logs generated.
TMC
C:\CORR####> Run Processes;
1)TMCPathEdgeNode.exe
2) TMCPathSequence.exe
3) FPRPathSequence.exe
4) TMCCorrect.exe
5)TMCcheck0318.exe (X01CDBI)
Open the dataset folder within CORR#### and check the TMC logs. These will be the most recent
logs. There should be no errors or warnings. If there are error or warning logs these need to be
fixed. discuss with Team Leader
Sortname
C:\CORR####> SORTNAME
Note: Tool- no logs generated.
Sortpoc
C:\CORR####> SORTPOC
Note: Tool- no logs generated.
© Copyright Sensis Pty. Ltd. 2006.
Note: The contents of this publication are subject to change. For the most recent version always refer to the on-line
documentation.
Wrap_Up_v2-1_W.doc 11/14
Take local copy of database (as backup) & Rebuild Trees (Toolbox)
Check all boxes including spatial tree and node tree. Select all partitions including global. Hit
Start-Bang. This can take over two hours depending on processing speed and database size.
If problems occur (face), go to backup copy of dataset just taken and attempt to rebuild trees again.
If errors occur again run consistency and solve errors.
M. Duplicate ID check
Run the Duplicate Identifier Check; ‘dupid.exe’ found in C:\X01CDBI\. Make sure all features
types are selected at the bottom.
Select Automatic Completion and Not Connected Streets and press green “play” button.
N. Consistency ChkCntry
Make sure the DBI in C:\X01CDBI is pointing at the local copy of database.
Open a command window, then open the directory X01CDBI – (C:\>cd x01cdbi). Now type the
command “chkcntry nsw 1/1000”. (Substituting the relevant country code for ‘nsw’.) This process
runs the full range of consistency checks over the database structure and over the global partition
and stops before running the specific partitions.
Once run open P:\Workspac\Cdbilogs\country code and arrange files in order of ‘Date Modified’
with the most recent at the top. The files that need to be opened and checked are the top
15: .RPT, .TDM, .TMC, .ADB, .POC.CH_, PFI.CHK, NFI.CHK, .LOG, NAME.CH_,
STREET.CH_, .PID, .PCI, .FMT, .EFR, .DIF. Make sure all these files have no errors. If errors are
present fix these using consistency tools and rerun process.
Once all the logs are clean archive all above files on P:\PLM\RELEASE\
Aussie##_QualityReports\database\
Wrap_Up_v2-1_W.doc 12/14
O. ListMPI
Found in C:\X01CDBI (listMPI.exe)
Run, then check logs at X01CDBI\logs (ListMpi.mdb).
“CnsErrorCount” (consistency errors) should all be 0. If they are not, some consistency errors
remain in the logs on M:\AUS\Workspac. Investigate to see whether these are old errors that have
been resolved but not cleared from the logs (this can sometimes occur).
If this is the case, manually delete the old logs and repeat the first two steps until all
CnsErrorCount values = 0. However, if there are still consistency errors within the dataset at this
time these must be fixed using the consistency correct tools. RE-run when fixed.
Archive error logs (ListMpi.mdb- when clean) as Country_Release_Date_ListMpi.mdb
Note: Copy mdb, don’t cut it. Rename after pasting in archive folder.
Q. Conclusion
Zip up dataset on D:\Ta_data and paste zipped copy on M:\AUS\TA_DATA_R## and P:\PLM\
RELEASE\Ta_data_R##\R_##_FinalDelivery\
Rename network copy to country_Prewrapup then copy unzipped dataset to M:\AUS\Ta_Data and
refex. Add TOOLBOX tag ‘RELEASED’ .
Notify conversion team that database is available (usually via email)
Update “Wrap-up” fields in the Production Spreadsheet.
Complete Navigation Release Handover Form and deliver to Product Line Management Team.
Located on S:\L&N\geo\PRIDE\Release handover forms\Aus###
Complete Release Checklist and save it on P:\PLM\RELEASE\Aussie##_QualityReports\database
6) Records
Record Name Task Location Retention Disposal
Production Spreadsheet Update S:\L&N\GROUPS\PRODUCTN\Production 7 years Delete file
Spreadsheets
Navigation Release Form Complet S:\L&N\geo\PRIDE\Release handover forms\ 7 years Deliver to
e Aus### PLM team
Quality Reports All P:\PLM\RELEASE\Aussie##_QualityReports\ 7 years Delete file
database
Release_checklist_Vx.x.xls Update “P:\PLM\RELEASE\ 7 years Delete file
Aussie16_QualityReports\COUNTRY\Release
Checklist”
Wrap_Up_v2-1_W.doc 13/14
© Copyright Sensis Pty. Ltd. 2006.
Note: The contents of this publication are subject to change. For the most recent version always refer to the on-line
documentation.
Wrap_Up_v2-1_W.doc 14/14