Summary of the invention
For addressing the above problem, the invention provides a kind of easy to operate and can be accurately the comprehensive pipeline area data method for updating of new data more.
The technical solution used in the present invention is as follows:
A kind of comprehensive pipeline area data method for updating becomes figure to show behind the renewal pipeline The data distinct symbols mark with original pipeline data and new detection, comprises the steps:
Step 1, conduit line map stack: stack shows with the renewal conduit line map with original conduit line map, and draws the renewal regional extent with closed line; Be convenient original pipeline data and the renewal pipeline data distinguished, can in window, just can show original pipeline data after the conduit line map stack simultaneously and upgrade the pipeline data with the distinct symbols demonstration when data become figure again.
Key element mark in step 2, the zone: will all fall into the original pipeline deletion of upgrading in the regional extent, and write the temporary library updating form with upgrading the original pipeline data in the zone and upgrading after the pipeline data increase operational label 1 and 2 respectively;
Step 3, edge fit place key element topology are searched element: find out and intersect with the regional extent line and an end points is positioned at the original pipeline in zone, and the original pipe point data that will be positioned at the end points correspondence in zone is designated as Pt, centered by Pt, upgrade the pipe point data by specifying manifold to search plain range search, if to search plain key element number be 0, then directly enter step 6, otherwise by distance from the close-by examples to those far off successively the renewal pipe point data that searches out of mark be Pt1, Pt2 ..., Ptn;
Step 4, key word coupling: relatively manage successively point data Pt and Pt1, Pt2 ..., Ptn keyword message, if certain renewal pipe point data Ptk(1=<k<=n) consistent with the Pt keyword message, then Pt (k+1) ..., Ptn no longer carries out key word coupling, carry out next step, otherwise directly enter step 6;
Step 5, property determine: relatively whether the pipe point attribute information of Ptk and Pt consistent, as if the attribute information unanimity then operational label be designated as 3, otherwise operational label is designated as 4, writes the temporary library updating form behind the original pipeline data increase operational label with correspondence;
Step 6, artificial auxiliary appointment the: check the original pipeline data in edge fit place, write the temporary library updating form for the manual assigned operation mark of unlabelled data; After step 3 and 4 operations, can holiday the edge fit data, search the plain assigned operation mark that all needs manually to assist when the key word coupling is all inconsistent when not finding corresponding more new data or in the step 4 such as topology in the step 3.Also other situations may be arranged in addition, the operation that needs the user to carry out according to concrete needs comes the assigned operation mark, can both accurately upgrade to guarantee all data, does not omit.
Step 7, Data Update: read the data in the temporary library updating form, carry out deletion, interpolation, attribute modification operation according to operational label, finish comprehensive pipeline area data and upgrade operation, wherein operational label 1,2,3,4 represents original pipeline deletion respectively, upgrades that pipeline adds, original pipeline does not change, original pipeline information is revised.
Keyword message mentioned above can be self-defined as required for judging whether consistent differentiation field of original pipeline and renewal pipeline, and described keyword message can be feature, adjunct, material.
The basis that the present invention judges in the spatial information topology increases the step that keyword message is judged, guaranteed the accuracy of edge fit Data Update, carry out corresponding renewal operation according to the different implication of operational label simultaneously, guarantee the more consistance of new data, and combine by automatic appointment and the artificial operational label of specifying, prevent from omitting the edge fit data, improved the quality of Data Update.
Embodiment
A kind of comprehensive pipeline area data method for updating becomes figure to show that this method specifically comprises the steps: behind the renewal pipeline The data distinct symbols mark with original pipeline data and new detection earlier
Step 1, conduit line map stack: stack shows with the renewal conduit line map with original conduit line map, and draws the renewal regional extent with closed line;
Key element mark in step 2, the zone: will all fall into the original pipeline deletion of upgrading in the regional extent, and write the temporary library updating form with upgrading the original pipeline data in the zone and upgrading after the pipeline data increase operational label 1 and 2 respectively;
Step 3, edge fit place key element topology are searched element: find out and intersect with the regional extent line and an end points is positioned at the original pipeline in zone, and the original pipe point data that will be positioned at the end points correspondence in zone is designated as Pt, centered by Pt, upgrade the pipe point data by specifying manifold to search plain range search, if to search plain key element number be 0, then directly enter step 6, otherwise by distance from the close-by examples to those far off successively the renewal pipe point data that searches out of mark be Pt1, Pt2 ..., Ptn;
Step 4, key word coupling: relatively manage successively point data Pt and Pt1, Pt2 ..., Ptn keyword message, if certain renewal pipe point data Ptk(1=<k<=n) consistent with the Pt keyword message, then Pt (k+1) ..., Ptn no longer carries out key word coupling, carry out next step, otherwise directly enter step 6; Keyword message can be self-defined as required for judging whether consistent differentiation field of original pipeline and renewal pipeline, and described keyword message can be feature, adjunct, material.
Step 5, property determine: relatively whether the pipe point attribute information of Ptk and Pt consistent, as if the attribute information unanimity then operational label be designated as 3, otherwise operational label is designated as 4, writes the temporary library updating form behind the original pipeline data increase operational label with correspondence;
Step 6, artificial auxiliary appointment the: check the original pipeline data in edge fit place, write the temporary library updating form for the manual assigned operation mark of unlabelled data;
Step 7, Data Update: read the data in the temporary library updating form, carry out deletion, interpolation, attribute modification operation according to operational label, finish comprehensive pipeline area data and upgrade operation, wherein operational label 1,2,3,4 represents original pipeline deletion respectively, upgrades that pipeline adds, original pipeline does not change, original pipeline information is revised.