CN112802153A - Method for checking digit line drawing - Google Patents

Method for checking digit line drawing Download PDF

Info

Publication number
CN112802153A
CN112802153A CN202110042596.1A CN202110042596A CN112802153A CN 112802153 A CN112802153 A CN 112802153A CN 202110042596 A CN202110042596 A CN 202110042596A CN 112802153 A CN112802153 A CN 112802153A
Authority
CN
China
Prior art keywords
elevation
point
contour
points
annotation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110042596.1A
Other languages
Chinese (zh)
Other versions
CN112802153B (en
Inventor
王�义
汤曦
梅熙
张刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Railway Eryuan Engineering Group Co Ltd CREEC
Original Assignee
China Railway Eryuan Engineering Group Co Ltd CREEC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Railway Eryuan Engineering Group Co Ltd CREEC filed Critical China Railway Eryuan Engineering Group Co Ltd CREEC
Priority to CN202110042596.1A priority Critical patent/CN112802153B/en
Publication of CN112802153A publication Critical patent/CN112802153A/en
Application granted granted Critical
Publication of CN112802153B publication Critical patent/CN112802153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/206Drawing of charts or graphs
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Abstract

The invention relates to the technical field of surveying and mapping, and provides a method for checking a digital line drawing, which comprises the following steps: s1, reading vector data; s2, traversing and checking the contour line; recording the contour lines of the errors in an error list; s3, constructing an irregular triangular net C' according to the extracted discrete points; s4, judging whether the elevation of the elevation mark points is abnormal or not by combining the irregular triangular net C'; recording elevation annotation points of elevation abnormality in a suspicion list; s5, constructing an irregular triangular net C' according to the extracted elevation annotation points; s6, judging whether the elevation of the elevation mark points is abnormal or not by combining the irregular triangular net C'; then, it is determined whether an elevation annotation point with an abnormal elevation is recorded in the suspicion list of step S4, and if so, the elevation annotation point is recorded in the error list. The invention utilizes the contour lines and the elevation marking points to respectively construct the irregular triangulation network, thereby ensuring that the inspection result has no misjudgment through cross inspection.

Description

Method for checking digit line drawing
Technical Field
The invention relates to the technical field of surveying and mapping, in particular to a method for checking a digital line drawing.
Background
The digital line drawing is a main vector data file in a topographic map, and the data can be layered to quickly produce a thematic map. The collection of the digital line drawing forms a relatively mature technology and a relatively mature operation process, and a plurality of manual intervention links still exist in the collection process, so that the produced topographic map cannot avoid omission, and the point-line contradiction is a relatively representative error. Therefore, at present, after the digital line drawing is collected, the digital line drawing must be manually checked.
The traditional inspection method mainly depends on a quality inspector to observe a computer screen or a paper graph through eyes and judge whether point lines are inconsistent or not according to experience. This method is not only heavy but also inefficient, and even after a plurality of inspection processes, erroneous judgment and missed judgment may occur, which becomes a problem in submitting a high-quality digital plotting.
The patent application with the application number of 201811298645.2 and the application date of 2018.11.02, which is named as a method for detecting the spatial logical relationship between an elevation point and a contour line of a digital line drawing, discloses a typical method for automatically checking the inconsistency of the line of the height. Compared with the traditional manual inspection, the method can obviously reduce the workload, improve the working efficiency and improve the accuracy. However, this method still has the following disadvantages: the elevation of the elevation points of the mountain tops, the valleys, the saddles and the like in the topographic map exceeds the elevation range of the triangular mesh formed by the adjacent contour line nodes, and even if the elevation points of the mountain tops, the valleys, the saddles and the like in the topographic map are correct, the elevation points are still judged to be error points or suspected points by adopting the checking method, so that the method still has wrong judgment or needs to manually confirm the checking result.
Disclosure of Invention
The invention aims to provide a method for checking a digit line drawing, which has no misjudgment on a checking result.
The technical scheme adopted by the invention for solving the technical problems is as follows: the method for checking the digit line drawing comprises the following steps:
s1, reading vector data;
s2, traversing all contour lines; check each contour AaWhether the contour is correct or not is judged, and the contour line with the error is recorded in an error list; then checking an error list, and modifying each error contour line until all contour lines are correct;
s3, after the step S2 is finished, each contour line A is searchedaExtracting discrete points on the contour line; constructing an irregular triangular net C' according to the extracted discrete points;
s4, searching each elevation mark point DiJudging whether the elevation of the elevation annotation point is abnormal or not by combining the irregular triangular net C' and the point line attribute information; recording elevation annotation points of elevation abnormality in a suspicion list;
s5, extracting each elevation annotation point Di(ii) a Constructing an irregular triangular net C' according to the extracted elevation annotation points;
s6, judging whether the elevation of the elevation mark point is abnormal or not by combining the irregular triangular net C' and the point line attribute information; then, it is determined whether the elevation annotation point with abnormal elevation is recorded in the suspicion list of step S4, and if so, the elevation annotation point is recorded in the error list.
Further, in step S2, when all the contours are traversed, the first contour is searched from the lower left corner of the digraph, and the adjacent contours are sequentially searched according to the principle of from left to right and from bottom to top.
Further, in step S2, the erroneous contours include contours whose elevations do not match integer multiples of the actual contour distance, contours whose elevations do not match each other at each node on the same contour, contours whose elevations are 0, or contours whose elevations are illegal values.
Further, in step S4, it is determined whether elevation mark point D is presentiThe method for determining whether the elevation is abnormal comprises the following steps:
finding elevation annotation point DiCorresponding triangles T in the irregular triangular network Cj(ii) a Determine the triangle TjMaximum value among the elevation values of the three vertexes
Figure BDA0002895879500000021
And minimum value
Figure BDA0002895879500000022
If elevation mark point DiIs greater than
Figure BDA0002895879500000023
Or less than
Figure BDA0002895879500000024
Then determine elevation annotation point DiIs abnormal in elevation.
Further, in step S6, it is determined whether elevation mark point D is presentiThe method for determining whether the elevation is abnormal comprises the following steps:
searching for each triangle P in the irregular triangulation network C ″k(ii) a Judge triangle PkWhether each edge of (a) intersects a contour line; when the triangle PkAny one edge of (A) and contour line (A)aWhen intersecting, if the triangle PkThe elevation of the elevation mark points at the two vertexes of the edge is greater than or less than the contour line AaThe elevation value of (D), then the triangle P is determinedkElevation anomaly of the elevation annotation point at the two vertices of this edge of (a).
The invention has the beneficial effects that: according to the method for checking the digital line drawing, provided by the embodiment of the invention, the irregular triangular nets are respectively constructed by utilizing the contour lines and the elevation marking points, so that various point-line contradiction conditions existing in the digital line drawing can be accurately judged through cross checking, the condition that elevation points of mountain tops, valley, saddle parts and the like in a topographic map are wrongly judged as wrong points or suspected points is avoided, the checking result is ensured not to be wrongly judged, and the accuracy of the checking result is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below; it is obvious that the drawings in the following description are only some embodiments described in the present invention, and that other drawings can be obtained from these drawings by a person skilled in the art without inventive effort.
FIG. 1 is a flow chart of a method of inspecting a digitline drawing of an embodiment of the present invention;
FIG. 2 is a partial view of an irregular triangulation network established with discrete points on a contour;
FIG. 3 is a partial view of an irregular triangulation network established with elevation annotation points.
Detailed Description
In order that those skilled in the art will better understand the present invention, the following further description is provided in conjunction with the accompanying drawings and examples. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. The embodiments and features of the embodiments of the invention may be combined with each other without conflict.
Fig. 1 is a flowchart of a method for checking a digitline drawing according to an embodiment of the present invention.
Referring to fig. 1, the method for inspecting a digitline drawing according to an embodiment of the present invention includes the following steps:
and S1, reading the vector data. The vector data includes contour data and elevation annotation point data. After reading the vector data, each contour line and each elevation mark point can be ensured to have elevation attributes.
S2, traversing all contour lines; check each contour AaWhether the contour is correct or not is judged, and the contour line with the error is recorded in an error list; the error list is then viewed and each erroneous contour is modified until all contours are correct.
When all the contours are traversed, searching a first contour from the lower left corner of the digraph, and sequentially searching adjacent contours from left to right and from bottom to top. When a contour line is searched, the contour line is searchedIs named as AaWherein a is more than or equal to 1; then, the contour line is checked to judge whether the contour line is correct or not; the contours of the errors are recorded in an error list. When recording the erroneous contours in the error list, the error types of the contours may be recorded together in the error list, so that a quality inspector can easily refer to the error information of the contours. And after all contour lines are checked, checking an error list, modifying the error contour lines according to the error types of the contour lines, checking again after modification, and continuously repeating the process until no error contour line is detected.
Wherein the erroneous contours include: the altitude value is the contour line with the altitude value of 0, and the altitude value is the contour line with the illegal value.
S3, after the step S2 is finished, each contour line A is searchedaExtracting discrete points on the contour line; constructing an irregular triangular net C' according to the extracted discrete points; fig. 2 is a partial view of an irregular triangular mesh C' created with discrete points on a contour.
S4, searching each elevation mark point DiJudging whether the elevation of the elevation annotation point is abnormal or not by combining the irregular triangular net C' and the point line attribute information; elevation annotation points for elevation anomalies are recorded in the suspicion list. Wherein i is more than or equal to 1.
In step S4, the elevation mark point D is determinediThe method for determining whether the elevation is abnormal comprises the following steps:
finding elevation annotation point DiCorresponding triangles T in the irregular triangular network Cj(ii) a Determine the triangle TjMaximum value among the elevation values of the three vertexes
Figure BDA0002895879500000031
And minimum value
Figure BDA0002895879500000032
If elevation mark point DiIs greater than
Figure BDA0002895879500000033
Or less than
Figure BDA0002895879500000034
Then determine elevation annotation point DiIs abnormal in elevation. Wherein j is more than or equal to 1.
For example, search for the first elevation marker point D1The elevation mark point D1Has an elevation of Z0Obtaining elevation mark points D by searching1Triangles T in irregular triangular network C2In accordance with triangle T2The elevation values of the three vertexes are calculated to obtain a triangle T2Maximum value among the elevation values of the three vertexes
Figure BDA0002895879500000041
And minimum value
Figure BDA0002895879500000042
If it is not
Figure BDA0002895879500000043
Or
Figure BDA0002895879500000044
Then determine elevation annotation point D1And an elevation point D is noted1Recorded in a suspicion list; if it is not
Figure BDA0002895879500000045
Searching the next elevation marking point and judging whether the elevation of the next elevation marking point is abnormal or not.
When the first elevation mark point D1After the elevation judgment is finished, searching the next elevation annotation point, and judging whether the elevation of the next elevation annotation point is abnormal according to the method until the elevation judgment of all the elevation annotation points is finished.
S5, extracting each elevation annotation point Di(ii) a Constructing an irregular triangular net C' according to the extracted elevation annotation points; FIG. 3 is an office of an irregular triangular network C' established with elevation annotation pointsAnd (4) partial view.
S6, judging whether the elevation of the elevation mark point is abnormal or not by combining the irregular triangular net C' and the point line attribute information; then, it is determined whether the elevation annotation point with abnormal elevation is recorded in the suspicion list of step S4, and if so, the elevation annotation point is recorded in the error list.
In step S6, the elevation mark point D is determinediThe method for determining whether the elevation is abnormal comprises the following steps:
searching for each triangle P in the irregular triangulation network C ″k(ii) a Judge triangle PkWhether each edge of (a) intersects a contour line; when the triangle PkAny one edge of (A) and contour line (A)aWhen intersecting, if the triangle PkThe elevation of the elevation mark points at the two vertexes of the edge is greater than or less than the contour line AaThe elevation value of (D), then the triangle P is determinedkElevation anomaly of the elevation annotation point at the two vertices of this edge of (a). Wherein k is more than or equal to 1.
For example, search for the first triangle P in an irregular triangulation network C ″1Triangle P1The three vertices of (a) are: elevation mark point D1Elevation mark point D2Elevation mark point D3(ii) a Triangle P1The three sides of (a) are respectively: first side D1D2A second side D1D3A third side D2D3
Judge triangle P1Whether each edge of (a) intersects a contour line on the graph; if so, e.g. when the triangle P1First side D of1D2And contour line A1When intersecting, if elevation mark point D1Elevation mark point D2Are all greater than or less than contour line A1The elevation value of (D), then judging the elevation mark point D1And elevation annotation points D2Is abnormal in elevation. When the triangle P1After the elevation judgment of the elevation mark points at the two vertexes of the first edge is finished, the triangle P is sequentially subjected to elevation judgment1The elevations of the elevation mark points at the vertex points of the second side and the third side are judged.
When the first triangle P in the irregular triangular net C ″1After the elevation judgment of the elevation mark points at the vertex points is finished, searching the next triangle in the irregular triangular net C 'and judging the elevation of the elevation mark points at the vertex points of the next triangle until the elevation judgment of the elevation mark points at the vertex points of all the triangles in the irregular triangular net C' is finished.
According to the method for checking the digital line drawing, provided by the embodiment of the invention, through the step S2, the contour line of the error is recorded in the error list; then, through steps S3 and S4, an irregular triangular net C' is constructed by utilizing contour lines, the elevation of each elevation note point is checked for the first time, and the elevation note points with abnormal elevations are recorded in a suspicion list; then, through steps S5 and S6, an irregular triangulation network C "is constructed using the elevation annotation points, each elevation annotation point is rechecked again, and it is determined whether an elevation annotation point with an abnormal rechecking result is recorded in the suspicion list of step S4, if so, the elevation annotation point is an error point and is recorded in the error list. Through steps S1-S6, various dotted line contradiction conditions existing in the digital line drawing can be accurately judged, and through two times of mutual inspection of the constructed triangular net, the inspection result is ensured to be free from errors and leakage.
For the elevation annotation points representing the tops, valleys and saddles of the digital line drawing, when the elevation annotation points are checked by the method disclosed in the background art, the elevation annotation points are all error points.
Regarding the elevation annotation points representing the tops, valleys and saddles in the digital line drawing, when the elevation annotation points are checked by the method provided by the embodiment of the present invention, though the elevation annotation points are recorded in the suspicion list through steps S3 and S4; however, when the height of each of the elevation annotation points is not determined to be abnormal in the review in steps S5 and S6, the elevation annotation points are not recorded in the error list. That is, the elevation mark points representing the tops, valleys, and saddles are not recorded as error points by the method of the present invention.
Therefore, the method of the embodiment can accurately judge various point-line contradiction conditions existing in the digital line drawing through cross checking, avoid the condition that elevation points of mountain tops, valleys, saddles and other parts in the topographic map are misjudged as error points, ensure no misjudgment of checking results, and ensure the accuracy of the checking results.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. The method for checking the digital line drawing is characterized by comprising the following steps of:
s1, reading vector data;
s2, traversing all contour lines; check each contour AaWhether the contour is correct or not is judged, and the contour line with the error is recorded in an error list; then checking an error list, and modifying each error contour line until all contour lines are correct;
s3, after the step S2 is finished, each contour line A is searchedaExtracting discrete points on the contour line; constructing an irregular triangular net C' according to the extracted discrete points;
s4, searching each elevation mark point DiJudging whether the elevation of the elevation annotation point is abnormal or not by combining the irregular triangular net C' and the point line attribute information; recording elevation annotation points of elevation abnormality in a suspicion list;
s5, extracting each elevation annotation point Di(ii) a Constructing an irregular triangular net C' according to the extracted elevation annotation points;
s6, judging whether the elevation of the elevation mark point is abnormal or not by combining the irregular triangular net C' and the point line attribute information; then, it is determined whether the elevation annotation point with abnormal elevation is recorded in the suspicion list of step S4, and if so, the elevation annotation point is recorded in the error list.
2. The method for inspecting a digital line drawing of claim 1, wherein in step S2, when traversing all contours, a first contour is searched from the lower left corner of the digital line drawing, and adjacent contours are sequentially searched according to the principle of from left to right and from bottom to top.
3. The method of inspecting a digital line drawing of claim 1, wherein the erroneous contours include contours whose elevations do not correspond to integer multiples of the actual distance between contours, contours whose elevations do not correspond to the elevations of the respective nodes on the same contour, contours whose elevations are 0, or contours whose elevations are illegal values in step S2.
4. The method for inspecting a digraph according to claim 1, wherein in step S4, the elevation mark point D is determinediThe method for determining whether the elevation is abnormal comprises the following steps:
finding elevation annotation point DiCorresponding triangles T in the irregular triangular network Cj(ii) a Determine the triangle TjMaximum value among the elevation values of the three vertexes
Figure FDA0002895879490000011
And minimum value
Figure FDA0002895879490000012
If elevation mark point DiIs greater than
Figure FDA0002895879490000013
Or less than
Figure FDA0002895879490000014
Then determine elevation annotation point DiIs abnormal in elevation.
5. The method for inspecting a digraph according to claim 1, wherein in step S6, the elevation mark point D is determinediThe method for determining whether the elevation is abnormal comprises the following steps:
searching for each triangle P in an irregular triangulation network C ″k(ii) a Judge triangle PkWhether each edge of (a) intersects a contour line; when the triangle PkAny one edge of (A) and contour line (A)aWhen intersecting, if the triangle PkThe elevation of the elevation mark points at the two vertexes of the edge is greater than or less than the contour line AaThe elevation value of (D), then the triangle P is determinedkElevation anomaly of the elevation annotation point at the two vertices of this edge of (a).
CN202110042596.1A 2021-01-13 2021-01-13 Digital line drawing checking method Active CN112802153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110042596.1A CN112802153B (en) 2021-01-13 2021-01-13 Digital line drawing checking method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110042596.1A CN112802153B (en) 2021-01-13 2021-01-13 Digital line drawing checking method

Publications (2)

Publication Number Publication Date
CN112802153A true CN112802153A (en) 2021-05-14
CN112802153B CN112802153B (en) 2023-06-13

Family

ID=75810424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110042596.1A Active CN112802153B (en) 2021-01-13 2021-01-13 Digital line drawing checking method

Country Status (1)

Country Link
CN (1) CN112802153B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682479A (en) * 2012-04-13 2012-09-19 国家基础地理信息中心 Method for generating three-dimensional terrain feature points on irregular triangulation network
CN104008252A (en) * 2014-06-12 2014-08-27 福建省电力勘测设计院 Method for automatically generating plane-section drawing of underground cable duct lines
CN104331928A (en) * 2014-10-28 2015-02-04 中国航空工业集团公司洛阳电光设备研究所 Automatic contour elevation value assignment method based on triangulation network
CN106846433A (en) * 2017-01-10 2017-06-13 北京三快在线科技有限公司 A kind of signal intensity drawing drawing method and device, electronic equipment
CN109242930A (en) * 2018-11-02 2019-01-18 中国石油大学(华东) A kind of elevational point for digital adventure appearance and contour spatial logic relationship detection method
CN109255008A (en) * 2018-09-28 2019-01-22 贵州省水利水电勘测设计研究院 A kind of data processing method, system and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102682479A (en) * 2012-04-13 2012-09-19 国家基础地理信息中心 Method for generating three-dimensional terrain feature points on irregular triangulation network
CN104008252A (en) * 2014-06-12 2014-08-27 福建省电力勘测设计院 Method for automatically generating plane-section drawing of underground cable duct lines
CN104331928A (en) * 2014-10-28 2015-02-04 中国航空工业集团公司洛阳电光设备研究所 Automatic contour elevation value assignment method based on triangulation network
CN106846433A (en) * 2017-01-10 2017-06-13 北京三快在线科技有限公司 A kind of signal intensity drawing drawing method and device, electronic equipment
CN109255008A (en) * 2018-09-28 2019-01-22 贵州省水利水电勘测设计研究院 A kind of data processing method, system and electronic equipment
CN109242930A (en) * 2018-11-02 2019-01-18 中国石油大学(华东) A kind of elevational point for digital adventure appearance and contour spatial logic relationship detection method

Also Published As

Publication number Publication date
CN112802153B (en) 2023-06-13

Similar Documents

Publication Publication Date Title
CN101477548B (en) Regulation based universal space data quality checking technique
CN106323301B (en) Method and device for acquiring road information
CN107885790B (en) Road space network multi-factor automatic updating method
KR101130284B1 (en) System and method for checking accuracy of true-orthoimage using digital map
CN113723715B (en) Method, system, equipment and storage medium for automatically matching public transport network with road network
CN109341626A (en) The difference calculation method of straightness calculation method, section maximum gauge and minimum diameter
CN116152259B (en) Reservoir permeability calculation method based on graph neural network
Yang et al. A map‐algebra‐based method for automatic change detection and spatial data updating across multiple scales
CN114428809A (en) Method and device for obtaining accuracy of map data and computer equipment
US20180060380A1 (en) Bulk Validation of Spatial Topology
CN116796044B (en) Data processing method and device for POI data set
CN112802153A (en) Method for checking digit line drawing
KR102229423B1 (en) Appearance survey network construction system and coded expression method with the characteristics of the appearance network damage, 3D position and size information as parameters grafted with the 3D BIM model
CN116049206B (en) Space planning business library updating method
CN112766301A (en) Similarity judgment method for indicator diagram of oil extraction machine
CN115309846B (en) Road network structure identification method based on parallel coefficients
CN114443624B (en) Basic geographic information data quality inspection method
CN111966732B (en) Full-intelligent geological mapping method, device, equipment and readable storage medium
CN114003680A (en) Data preprocessing method suitable for spatial superposition analysis
CN104462820B (en) A kind of method of power network shaft tower coordinate error detection
CN110853016A (en) Automatic checking method and device for topographic map publishing quality
CN110619134A (en) Integrated detection and restoration method for solving problem of flying spot and spot density of road network data
CN111932657B (en) Method for automatically detecting and drawing heavy and magnetic abnormal characteristic lines
CN116679035B (en) Method for testing and analyzing stress of original rock based on sensor technology
EP3418908A1 (en) Contextual grouping

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant