CN115145940B - Automatic road drawing method and device - Google Patents

Automatic road drawing method and device Download PDF

Info

Publication number
CN115145940B
CN115145940B CN202211064087.XA CN202211064087A CN115145940B CN 115145940 B CN115145940 B CN 115145940B CN 202211064087 A CN202211064087 A CN 202211064087A CN 115145940 B CN115145940 B CN 115145940B
Authority
CN
China
Prior art keywords
road
skeleton line
data
data set
gui
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.)
Active
Application number
CN202211064087.XA
Other languages
Chinese (zh)
Other versions
CN115145940A (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.)
Beijing Shanwei Technology Co ltd
Original Assignee
Beijing Shanwei Technology Co ltd
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 Beijing Shanwei Technology Co ltd filed Critical Beijing Shanwei Technology Co ltd
Priority to CN202211064087.XA priority Critical patent/CN115145940B/en
Publication of CN115145940A publication Critical patent/CN115145940A/en
Application granted granted Critical
Publication of CN115145940B publication Critical patent/CN115145940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/275Synchronous replication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/909Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using geographical or spatial information, e.g. location
    • 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/203Drawing of straight lines or curves
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Remote Sensing (AREA)
  • Computer Security & Cryptography (AREA)
  • Library & Information Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The application discloses a road automatic drawing method.A first data set comprises geographic element codes and road skeleton line data of roads; the second data set comprises geographic element codes and road map making expression data of roads; generating a first road skeleton line at the GUI in response to a road skeleton line drawing command; determining a first geographic element code and a first width attribute value corresponding to the first road skeleton line, and generating first road mapping expression data conforming to the first width attribute value; updating a second data set comprising the first geo-element code and first road mapping expression data associated with the first geo-element code. The application also includes an apparatus for implementing the method. The method and the device solve the problem that data application hidden danger is caused by the inconsistency of the road element gallery data.

Description

Automatic road drawing method and device
Technical Field
The application relates to the technical field of geographic information systems and computer aided design, in particular to an automatic road drawing method and device.
Background
The skeleton line is a geometric characteristic range line of the geographic elements and is a data base (database data) of the geographic information elements participating in analysis and statistics of the geographic information data; the geographic information element object needs to satisfy the drawing expression (drawing data) according to the national standard schema in addition to the skeleton line.
The geometric characteristics of the road skeleton line obtained by basic surveying and mapping are collected as a central line according to the requirements of the national standard GB/T20258.2-2019, and the road skeleton line comprises a side line and a rendering filling surface which are drawn according to a certain width according to the requirements of GB/T20257.2-2017; according to different technical grades of roads, the roads are divided into expressways, first-level roads, second-level roads, third-level roads, fourth-level roads and outer roads, and the roads have spatial relations of level crossings, overpasses and the like.
In the prior art method, road skeleton line data (belonging to library data) and road and intersection mapping expression data (belonging to map data) are a plurality of data map layers. The skeleton line and the data storage and the collection and editing of the drawing expression are generally two sets of data storage without correlation in the prior art. The drawing expression of level crossing and overpass is completed by manual editing.
In specific application, once the skeleton line data is changed and updated, the chart making expression also needs to be changed and updated, the change is finished by manual editing, the efficiency is low, the problem of data inconsistency caused by the fact that the skeleton line data and the chart data are not updated synchronously and instantly exists, and hidden dangers are brought to data application.
Disclosure of Invention
The application provides an automatic road mapping method and device, which realize the consistency storage and dynamic mapping expression of road element skeleton data and mapping expression in basic mapping and solve the problem of a large amount of tedious manual processing of acquisition and editing of a road element map library; meanwhile, the position editing of skeleton line node data can automatically and dynamically update the map expression, so that the problem of hidden danger of data application caused by the inconsistency of the road element map library data is solved.
The embodiment of the application provides an automatic road drawing method, wherein a first data set comprises geographic element codes and road skeleton line data of roads; the second data set comprises geographic element codes and road mapping expression data of roads; the method comprises the following steps:
generating a first road skeleton line in the GUI in response to a road skeleton line drawing command;
determining a first geographic element code and a first width attribute value corresponding to the first road skeleton line, and generating first road mapping expression data conforming to the first width attribute value;
updating a second data set comprising the first geo-element code and first road mapping expression data associated with the first geo-element code.
Preferably, the step of generating a first road skeleton line in the GUI in response to the road skeleton line drawing command further includes:
and in the first data set, reading the first geographic element code and the first road skeleton line data, and modifying a first width attribute value.
Preferably, the step of generating a first road skeleton line in a GUI in response to a road skeleton line drawing command further includes:
generating a first geographical element code and first road skeleton line data associated with the first geographical element code in response to first road skeleton line position indication information of a GUI, the first road skeleton line data including a first width attribute value therein.
Preferably, the method further comprises the steps of:
reading second road skeleton line data crossed with a first road skeleton line in a first data set, and determining a second geographic element code and a second width attribute value corresponding to the second road skeleton line;
generating an intersection arc section and/or an intersection disappearing surface according to the geographic coordinates of the intersection, the first width attribute value and the second width attribute value;
updating first road mapping representation data in the second data set associated with the first geographic element code and/or updating second road mapping representation data in the second data set associated with the second geographic element code.
Further, in response to the GUI being associated with position indication information of the first road skeleton line or the second road skeleton line, at least one of:
generating or changing level crossing or interchange identification information corresponding to the position on the first road skeleton line or the second road skeleton line;
generating or altering level crossing or overpass attribute information associated with the first geographic element code or second geographic element code in the first data set;
generating or altering first or second road mapping expression data in the second data set.
When a first skeleton line and a second skeleton line intersect, preferably, a display portion of the first road skeleton line in the GUI is tracked, and a second road drawing is displayed in the GUI, a center line of the second road drawing intersecting the display portion of the first road skeleton line.
The method for automatically drawing a road according to any one of the embodiments of the present application preferably further includes the following steps:
and tracking a display part of the first road skeleton line in the GUI, and displaying a first road drawing in the GUI, so that the central line of the display part of the first road drawing is equal to the display part of the first road skeleton line.
The application also provides a road automatic mapping device, which is used for realizing the method of any one embodiment of the application, and comprises the following steps:
the first storage unit is used for storing the first data set and comprises geographic element codes and road skeleton line data of roads;
the second storage unit is used for storing the second data set and comprises geographic element codes of roads and road map making expression data;
a first processing unit generating a first road skeleton line at the GUI in response to a road skeleton line drawing command;
a second processing unit to: determining a first geographic element code and a first width attribute value corresponding to the first road skeleton line, and generating first road mapping expression data conforming to the first width attribute value; updating a second data set comprising the first geo-element code and first road mapping expression data associated with the first geo-element code.
The present application also proposes a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any of the embodiments of the present application.
The present application further proposes an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method according to any of the embodiments of the present application when executing the computer program.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
and automatically generating chart data in the process of skeleton line editing or attribute editing. For example, when a new road skeleton line is generated and displayed by GUI operation, road map representation data is generated and stored automatically along with the display of the road map representation. The attribute editing of the skeleton line comprises road width attribute, intersection position, intersection type (level crossing, overpass) and the like, and synchronous updating of database data and image data is automatically triggered. According to the technical scheme, the database data and the graph data are stored in an associated mode, the data processing efficiency is improved, and the engineering risk caused by inconsistency of the database data and the graph data is eliminated.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of skeleton lines of a road and an intersection;
FIG. 2 is a schematic drawing representation of a road and intersection;
FIG. 3 is a flowchart illustrating an embodiment of an automatic road mapping method according to the present application;
FIG. 4 is a schematic diagram of an event trigger relationship for automatic road mapping according to the present application;
FIG. 5 is a diagram illustrating one of the effects of automatic display of graphical representations based on skeleton line editing;
FIG. 6 is a second embodiment of an automatic graphical representation based on skeleton line drawing;
FIG. 7 is a flowchart of an embodiment of an automatic mapping method of the present application involving a road intersection;
FIG. 8 is a flowchart of another embodiment of designing a road intersection according to the automatic mapping method of the present application;
FIG. 9 is a flowchart of an embodiment of modifying road intersection settings in the method of the present application;
fig. 10 is a schematic view of an embodiment of the automatic road mapping apparatus according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of skeleton lines of roads and intersections. The skeleton lines of the road are represented by independent lines, such as the skeleton lines 1 to 3 of the road in the figure. When roads intersect, they are displayed as intersections on the map.
Fig. 2 is a schematic diagram of a road intersection map making expression, a skeleton line data map layer (database data) is closed, and a map making expression (map data) presented at the road intersection is shown. When the road drawing is expressed, the drawing has a set width; the interior of the level crossing road intersection is not provided with line segments so as to express the outline of the intersection and the characteristics of circulation in all directions; the inside of a road intersection of the overpass is provided with a line segment to express the road profile above.
Fig. 3 is a flowchart of an embodiment of an automatic road mapping method according to the present application.
The embodiment of the application provides an automatic road drawing method. Based on a first data set (library data) and a second data set (map data) which are respectively and independently stored, wherein the first data set comprises geographic element codes and road skeleton line data of roads; the second data set includes geo-element encoding and road mapping expression data for the road. The method comprises the following steps 101 to 103. Preferably, step 104 is also included.
Step 101, responding to a road skeleton line drawing command, and generating a first road skeleton line in a GUI.
Preferably, the step of generating the first road skeleton line in the GUI in response to the road skeleton line drawing command further includes step 101A or step 101B.
Step 101A, in the first data set, reading the first geographic element code and the first road skeleton line data, and modifying a first width attribute value.
Step 101B, in response to first road skeleton line position indication information of the GUI, generating a first geographical element code and first road skeleton line data associated with the first geographical element code, where the first road skeleton line data includes a first width attribute value.
Step 102, responding to a road skeleton line change event, determining a first geographic element code and a first width attribute value corresponding to the first road skeleton line, and generating first road mapping expression data meeting the first width attribute value.
The road skeleton line change event includes, for example, step 101A and step 101B. For further example see fig. 4, 401 to 403. A road skeleton line change event, occurring at the GUI or the first data set, is triggered or identified by their processing means.
Step 103, updating a second data set comprising the first geo-element code and first road mapping expression data associated with the first geo-element code.
And 104, tracking a display part of the first road skeleton line in the GUI, and displaying a first road drawing in the GUI to enable the central line of the display part of the first road drawing to be equal to the display part of the first road skeleton line.
Fig. 4 is a schematic diagram of an event trigger relationship of the automatic road mapping of the present application.
As shown in fig. 4, the automatic mapping device 404 of the present application may be triggered by the road skeleton line change event, such as drawing a road skeleton line 401 according to the geographic element code of the road skeleton line, editing the node position 402 of the road skeleton line, or editing the road width attribute value 403, and is an independent computer device or program running module, which reads the corresponding road element object and other road skeleton line data crossed by the corresponding road element object, combines the road mapping data corresponding to the device, dynamically generates the mapping result, and then refreshes the graphic display 405.
For example, a program execution module for implementing the method of the present application is created, for example, at least the second processing unit 604 for implementing the embodiments of the present application. Road drawing expression parameters are correspondingly set according to road geographic element skeleton line codes, the parameters comprise an automatic drawing device name (double line road) exclusive to the method, a road WIDTH attribute field [ WIDTH ], a road edge primitive code (such as 430501302, 20 430501303), a rendering surface color and the like, and parameter data are stored in a drawing template file for reading a drawing process, such as:
X,DoubleLineRoad [WIDTH]/1.2 430501302,,,20 430501303,,RGB(201/202/203)
as implemented in step 104, fig. 5 is one of the effects of automatic display mapping expression based on skeleton line coding, which is used for automatically accompanying road mapping display when a road is drawn with road skeleton line coding. Fig. 6 is a second effect of automatically displaying a drawing expression based on skeleton line editing, in which the node positions of the skeleton lines of the road elements are edited and automatically displayed along with the road drawing. And tracking a display part of the first road skeleton line in the GUI, and displaying a first road drawing in the GUI, so that the central line of the display part of the first road drawing is equal to the display part of the first road skeleton line.
Further, as shown in fig. 5 to 6, when a first skeleton line and a second skeleton line intersect, a display portion of the first road skeleton line in the GUI is tracked, a second road drawing is displayed in the GUI, and a center line of the second road drawing intersects with the display portion of the first road skeleton line.
When the first road skeleton line is displayed by using the skeleton line nodes, the display part of the first road skeleton line is the range reached by connecting lines among the skeleton line nodes.
Fig. 7 is a flowchart of an embodiment of the automatic mapping method related to a road intersection.
Step 201, reading second road skeleton line data intersecting with the first road skeleton line in the first data set, and determining a second geographic element code and a second width attribute value corresponding to the second road skeleton line.
Step 202, according to the geographic coordinates of the intersection, the first width attribute value and the second width attribute value, an intersection arc section and/or an intersection disappearing surface are/is generated.
Step 203, updating the first road mapping expression data associated with the first geographic element code in the second data set, and/or updating the second road mapping expression data associated with the second geographic element code in the second data set.
And step 204, responding to the position indication information of the GUI, generating or changing intersection identification information displayed by the GUI, generating or changing level intersection or overpass attribute information in the first data set, and generating or changing cartographic data in the second data set.
For example,
in response to the GUI indicating information associated with the location of the first road skeleton line, at least one of:
generating or changing level crossing or interchange identification information corresponding to the position on the first road skeleton line displayed by the GUI;
generating or altering level crossing or overpass attribute information associated with the first geo-feature code in the first dataset;
since the first skeleton line crosses the second skeleton line, it is also possible to: generating or altering level crossing or overpass attribute information associated with the second geographic element code in the first data set;
generating or altering first road mapping expression data in the second data set;
since the first skeleton line crosses the second skeleton line, it is also possible to: generating or altering second road expression data in the second data set.
Similarly, in response to the position indication information of the GUI associated with the second road skeleton line, at least one of:
generating or changing level crossing or interchange identification information corresponding to the position on the second road skeleton line displayed on the GUI;
generating or altering level crossing or interchange attribute information associated with the second geographic element code in the first data set;
since the first skeleton line crosses the second skeleton line, it is also possible to: generating or altering level crossing or overpass attribute information associated with the first geo-element code in the first dataset;
generating or altering the second road expression data in the second data set.
Since the first skeleton line crosses the second skeleton line, it is also possible to: generating or altering first road mapping expression data in the second data set.
It should be noted that steps 201 to 204 in the embodiment of the present application may be further implemented on the basis of steps 101 to 104.
Fig. 8 is a flowchart of another embodiment of the automatic mapping method related to a road intersection.
As described in the previous embodiments of the present application, the drawing or editing operation of a road triggers a corresponding automatic drawing device, which implements the following workflow:
reading skeleton line data in the road geographic element intersection range, and reading corresponding road map making expression data according to the geographic element codes of the skeleton line data;
judging whether an intersection exists near the skeleton line node, if not, expressing and processing according to a general road drawing: reading the width attribute value of the corresponding road, and dynamically generating parallel lines according to the width attribute value of the cross road and the road side line codes; if the intersection exists, reading the width attribute value of the corresponding road, generating an intersection arc section according to the width attribute value of the crossed road and the space position of the skeleton line, and generating an intersection hidden surface by the arc section topology; judging whether overpass marks exist at the intersection or not, and if the overpass marks exist, only blanking the marked road according to the graphic expression of the overpass; if no overpass mark exists, blanking the two roads simultaneously according to the level crossing drawing expression; and finally refreshing the graphic display.
FIG. 9 is a flow chart of another embodiment of a method of modifying intersection settings of a roadway.
As described in the foregoing embodiments of the present application, the drawing or editing operation of a road triggers a corresponding automatic drawing device to implement dynamic drawing expression of the road and an intersection; during or after the operation, the expression of 'level crossing' and 'overpass' can be edited and exchanged for the generated graphic expression of the road intersection, and the method comprises the following steps:
when a certain side of a certain road close to the intersection is pointed by a pointer in the GUI to set a position range, a 'overpass' identification key (which can be customized) is printed to change the road intersection level or overpass drawing expression.
A certain road skeleton line being drawn in the operation process or a road skeleton line is selected after the operation is finished, a mouse moves to a set position range at one side of the skeleton line intersection, and an 'interchange mark key' (which can be defined by user) is input by a keyboard; judging whether the intersection has an interchange mark; if the intersection does not exist, the 'level intersection' expression needs to be changed into the 'interchange' expression, a blanking surface is obtained, only the marking road is blanked according to the 'interchange' drawing expression, and interchange marking points are generated; if the intersection exists, the 'intersection' expression needs to be changed into the 'level intersection' expression, a blanking surface is obtained, the blanking processing is only carried out on two roads simultaneously according to the 'level intersection' drawing expression, and the intersection mark point is cancelled.
Fig. 10 is a schematic diagram of an embodiment of the automatic road mapping apparatus according to the present application.
The application also provides a road automatic drawing device, which is used for implementing the method of any one of the embodiments of the application and comprises a first storage unit 601, a second storage unit 602, a first processing unit 603, a second processing unit 604 and a Graphical User Interface (GUI) 605.
The first storage unit is used for storing the first data set and comprises geographic element codes and road skeleton line data of roads;
the second storage unit is used for storing the second data set and comprises geographic element codes of roads and road mapping expression data;
a first processing unit generating a first road skeleton line at the GUI in response to a road skeleton line drawing command;
further, the first processing unit is further configured to read the first geo-element code and the first road skeleton line data in the first data set, and modify a first width attribute value.
Further, the first processing unit is further configured to: generating a first geographic element code and first road skeleton line data associated with the first geographic element code in response to first road skeleton line position indication information of the GUI, the first road skeleton line data including a first width attribute value therein.
A second processing unit, configured to determine a first geographic element code and a first width attribute value corresponding to a first road skeleton line in response to a road skeleton line change event (e.g., generate the first geographic element code and first road skeleton line data associated with the first geographic element code, and further, for example, modify a first width attribute value), and generate first road mapping expression data conforming to the first width attribute value; updating a second data set comprising the first geo-element code and first road mapping expression data associated with the first geo-element code.
Further, the first processing unit is further configured to: and reading second road skeleton line data crossed with the first road skeleton line in the first data set, and determining a second geographic element code and a second width attribute value corresponding to the second road skeleton line.
Preferably, the second processing unit is further configured to: generating an intersection arc section and/or an intersection disappearing surface according to the geographic coordinates of the intersection, the first width attribute value and the second width attribute value; updating first road mapping representation data in the second data set associated with the first geographic element code and/or updating second road mapping representation data in the second data set associated with the second geographic element code.
Preferably, the second processing unit is further configured to: and tracking a display part of the first road skeleton line in the GUI, and displaying a first road drawing in the GUI, so that the central line of the display part of the first road drawing is equal to the display part of the first road skeleton line.
Preferably, the second processing unit is further configured to: when a first skeleton line and a second skeleton line intersect, tracking a display part of the first road skeleton line in the GUI, and displaying a second road drawing in the GUI, wherein a central line of the second road drawing intersects with the display part of the first road skeleton line.
Preferably, the first processing unit is further configured to, in response to position indication information of the GUI associated with the first road skeleton line or the second road skeleton line, perform at least one of: generating or changing level crossing or interchange identification information corresponding to the position on the first road skeleton line displayed by the GUI; generating or altering level crossing or overpass attribute information associated with the first geo-feature code in the first dataset; generating or changing level crossing or interchange identification information corresponding to the position on the second road skeleton line displayed on the GUI; generating or altering level crossing or overpass attribute information associated with the second geographic element code in the first data set.
Preferably, the second processing unit is further configured to, in response to position indication information of the GUI associated with the first road skeleton line or the second road skeleton line, perform at least one of: generating or altering first road mapping expression data in the second data set; generating or altering second road expression data in the second data set.
It is noted that the first processing unit involves the display of the road skeleton line and the operation of the first data set; the second processing unit is involved in the display of the road-mapping representation and the operation of the second data set. The functions supported by the first processing unit and the second processing unit are also described in the embodiments of fig. 3 to 9, and are not described herein again.
Embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application therefore also proposes a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of the embodiments of the present application.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Further, the present application also proposes an electronic device or a computing device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the method according to any of the embodiments of the present application.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
In summary, the present application provides a method, an apparatus, a device and a storage medium for automatically mapping roads and intersections, which implement consistent storage and dynamic mapping expression of road element skeleton data and mapping expression in basic mapping. The scheme of the application can express parameters according to the road drawing set by the national standard for reading the drawing process; automatically triggering an automatic drawing device when skeleton line data of road elements are drawn, skeleton line nodes are edited, or road width attribute values are modified; the device automatically generates a drawing expression result according to the expression of 'level crossing' or 'overpass'.
The processing mode realizes the consistency of the road element skeleton data and the mapping expression and the dynamic mapping expression in the basic mapping, solves the problem of a large amount of complicated manual processing of the collection and the editing of a road element gallery, and simultaneously can automatically and dynamically update the mapping expression by editing the position of the skeleton line node data, thereby solving the problem of hidden danger of data application caused by the inconsistency of the road element gallery data.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of features does not include only those features but may include other features not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the feature defined by the phrases "comprising a" \8230; "does not exclude the presence of additional like features in the process, method, article or apparatus that comprises the feature.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of the present application shall be included in the scope of the claims of the present application.

Claims (10)

1. The automatic road drawing method is characterized in that a first data set comprises geographic element codes and road skeleton line data of roads; the second data set comprises geographic element codes and road map making expression data of roads; the method comprises the following steps:
generating a first road skeleton line at the GUI in response to a road skeleton line drawing command;
responding to a road skeleton line change event, determining a first geographic element code and a first width attribute value corresponding to the first road skeleton line, and generating first road mapping expression data meeting the first width attribute value;
updating a second data set comprising the first geo-element code and first road mapping expression data associated with the first geo-element code;
and tracking a display part of the first road skeleton line in the GUI, and displaying a first road drawing in the GUI, so that the central line of the display part of the first road drawing is equal to the display part of the first road skeleton line.
2. The method for automatically mapping a road according to claim 1, wherein the step of generating a first road skeleton line in the GUI in response to a road skeleton line drawing command further comprises:
and in the first data set, reading the first geographic element code and the first road skeleton line data, and modifying a first width attribute value.
3. The method for automatically mapping a road according to claim 1, wherein the step of generating the first road skeleton line in the GUI in response to the road skeleton line drawing command further comprises:
generating a first geographic element code and first road skeleton line data associated with the first geographic element code in response to first road skeleton line position indication information of the GUI, the first road skeleton line data including a first width attribute value therein.
4. An automatic road mapping method as claimed in claim 1, further comprising the steps of:
reading second road skeleton line data crossed with a first road skeleton line in a first data set, and determining a second geographic element code and a second width attribute value corresponding to the second road skeleton line;
generating an intersection arc section and/or an intersection disappearing surface according to the geographic coordinates of the intersection, the first width attribute value and the second width attribute value;
updating first road mapping representation data in the second data set associated with the first geographic element code and/or updating second road mapping representation data in the second data set associated with the second geographic element code.
5. An automatic road mapping method as claimed in claim 4, characterized in that it further comprises the following steps:
responsive to position indication information of the GUI associated with the first or second road skeleton line, at least one of:
generating or changing level crossing or interchange identification information corresponding to the position on the first road skeleton line or the second road skeleton line;
generating or altering in the first data set level or cross attribute information associated with the first or second geographic element code;
generating or altering first or second road mapping expression data in the second data set.
6. An automatic road mapping method as claimed in claim 4, characterized in that it further comprises the following steps:
tracking a display portion of the first road skeleton line in the GUI, and displaying a second road drawing in the GUI, a center line of the second road drawing intersecting the display portion of the first road skeleton line.
7. The method according to any one of claims 1 to 6, wherein the road skeleton line change event comprises drawing a road skeleton line according to geographic element codes of the road skeleton line, editing node positions of the road skeleton line or editing a road width attribute value.
8. An automatic road drawing device for implementing the method of any one of claims 1 to 7, comprising:
the first storage unit is used for storing the first data set and comprises geographic element codes of roads and road skeleton line data;
the second storage unit is used for storing the second data set and comprises geographic element codes of roads and road mapping expression data;
a first processing unit which responds to a road skeleton line drawing command and generates a first road skeleton line in a GUI;
a second processing unit to: determining a first geographic element code and a first width attribute value corresponding to the first road skeleton line, and generating first road mapping expression data meeting the first width attribute value; updating a second data set comprising the first geo-element code and first road mapping expression data associated with the first geo-element code.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 7 when executing the computer program.
CN202211064087.XA 2022-09-01 2022-09-01 Automatic road drawing method and device Active CN115145940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211064087.XA CN115145940B (en) 2022-09-01 2022-09-01 Automatic road drawing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211064087.XA CN115145940B (en) 2022-09-01 2022-09-01 Automatic road drawing method and device

Publications (2)

Publication Number Publication Date
CN115145940A CN115145940A (en) 2022-10-04
CN115145940B true CN115145940B (en) 2022-12-13

Family

ID=83416120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211064087.XA Active CN115145940B (en) 2022-09-01 2022-09-01 Automatic road drawing method and device

Country Status (1)

Country Link
CN (1) CN115145940B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5216665B2 (en) * 2009-03-31 2013-06-19 アイシン・エィ・ダブリュ株式会社 MAP DATA UPDATE SYSTEM, MAP DATA UPDATE PROGRAM, NAVIGATION DEVICE AND VEHICLE CONTROL DEVICE USING THE SAME
CN107316474B (en) * 2016-04-27 2020-07-10 上海炬宏信息技术有限公司 Method for making dynamic traffic information sketch based on SVG vector data format
EP4107483A1 (en) * 2020-02-20 2022-12-28 TomTom Global Content B.V. High definition map metadata for autonomous vehicles
JP7380532B2 (en) * 2020-11-16 2023-11-15 トヨタ自動車株式会社 Map generation device, map generation method, and map generation computer program
CN114443794A (en) * 2022-01-28 2022-05-06 北京百度网讯科技有限公司 Data processing and map updating method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
地形地籍异构数据整合建库方法研究与应用――以广州吕地居委会地形地籍数据整合入库为例;阳成;《测绘与空间地理信息》;20200923(第09期);全文 *
基于Microstation V8实现制图效果与GIS数据要求的统一;胡开全等;《城市勘测》;20110831(第04期);全文 *

Also Published As

Publication number Publication date
CN115145940A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
CN108022273B (en) Picture number detachable picture making method
US5278946A (en) Method of presenting multimedia data in a desired form by comparing and replacing a user template model with analogous portions of a system
US20230074265A1 (en) Virtual scenario generation method and apparatus, computer device and storage medium
CN109165401A (en) A kind of method and apparatus that two-dimentional construction drawing is generated based on civil engineering structure threedimensional model
US6246417B1 (en) Map editing apparatus enabling simplified editing through provision of user-selectable automatic editing functions
CN110992469A (en) Visualization method and system for massive three-dimensional model data
CN115063557B (en) Building intelligent extraction method and device based on tilt model
CN115017569A (en) Two-dimensional and three-dimensional linked bridge parametric modeling and plotting method, device, equipment and medium
CN106462998A (en) Visualization of work status for a mine worksite
US7116341B2 (en) Information presentation apparatus and method in three-dimensional virtual space and computer program therefor
JP6863675B2 (en) Image split
CN115145940B (en) Automatic road drawing method and device
CN111241228B (en) Comprehensive drawing method based on vector data and graphic processing technology
Lee et al. Automating Generalization–Tools and Models
KR100737221B1 (en) A process for providing a vector image with removed hidden lines
CN112233226B (en) Index information determining method, device and system based on index and graphic linkage
KR101782816B1 (en) Treemap visualization method and device using the method
KR102204031B1 (en) 3D visualization system of space based on geographic data and 3D visualization of space using it
Glander et al. Concepts for automatic generalization of virtual 3D landscape models
Moreno A vector-based geographical cellular automata model to mitigate scale sensitivity and to allow objects’ geometric transformation
JPH06168223A (en) Pipe network analyzing device, data display device for the same and graphic generating method
CN115082635B (en) Method and system for realizing multiple states of geographic entity based on cutting inclination model
Guzzetti et al. From the digital twin of architectural heritage to the definition of the constraint maps. The case study of the Castello Sforzesco in Milan
CN118012967A (en) Bridge geographic information data processing method and device
CN118051571A (en) Method and device for processing geographic information data of enclosing wall type

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