Automatic map design method and device for railway
By expanding data and using custom entity technology, the automated design of railway maps solves the problems of data fragmentation and low automation in traditional design, achieving efficient and standardized map design and supporting land use approval and land acquisition and demolition management.
Patent Information
- Application Number
- CN202511569081.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2026-02-03
AI Technical Summary
Traditional railway map design methods suffer from problems such as data fragmentation, low automation, poor standardization of results, lack of intelligent correlation, and delayed response to changes.
By employing extended data and custom entity technology, the system automates the design of railway maps. This involves identifying the centerline of the railway line, processing gap data, organizing the design work site table, grouping and processing land width data, automating the design of land boundary markers and red lines, and attaching attribute information to each element.
It has enabled the automated design of railway maps, provided an accurate, complete, and automatically updatable data foundation, improved design efficiency and the standardization of results, and supported land use approval and land acquisition and demolition management.
Smart Images

Figure CN121456934A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of railway engineering map design technology, and in particular to an automated design method and apparatus for railway maps. Background Technology
[0002] In railway engineering design, maps (land acquisition maps, red line maps) are crucial for land acquisition and demolition, construction layout, and ownership management. Their design accuracy and efficiency directly affect project investment, progress, and social stability. Traditional railway map design methods mainly rely on general-purpose CAD software (such as AutoCAD) for auxiliary design, with some work supplemented by manual modifications. Designers need to draw graphic elements such as land boundary stakes (points) and land boundary red lines based on the line plan, longitudinal profile, and cross-section design results, and repeatedly adjust the boundaries according to design specifications and on-site survey data (such as land type and ownership information).
[0003] Traditional design methods suffer from problems such as data fragmentation, low automation, poor standardization of results, lack of intelligent correlation, and delayed response to changes. To overcome these problems, this invention aims to provide an automated design method and apparatus for railway maps. This method automates the design of railway maps and, by employing extended data (extended records) and custom entity technology, adds user data (such as station numbers, coordinates, mileage, land type, ownership, and other key attributes) to elements like the line centerline, land boundary markers, and land boundary lines. This enables structured storage, efficient querying, and dynamic correlation of design element attribute information, providing an accurate, complete, and automatically updatable data foundation for applications such as land use approval, land quantity statistics, and land acquisition and demolition management. Summary of the Invention
[0004] This invention provides an automated design method and apparatus for railway maps, which addresses existing problems such as fragmented data, low automation, poor standardization of results, lack of intelligent correlation, and delayed response to changes.
[0005] The objective of this invention can be achieved through the following technical solutions: The first aspect of this invention is to provide an automated design method for railway maps, comprising: S1: Input the basic data required for map design, including professional interface data and original land width data; S2: Identify the centerline of the route and obtain the mileage range of the start and end points of the route; S3: Process the missing data in the professional interface data and organize it into a design work point table; S4: Based on the design site list, group and process the original land width data; S5: Based on the processed original land width data and line centerline data, automatically design land boundary markers in batches and add attribute information to each land boundary marker; S6: Based on the land boundary markers and grouping data, automatically design the land boundary line and add attribute information to each segment of the land boundary line.
[0006] Furthermore, the professional interface data includes line plan data, chain break data, bridge data, tunnel data, and station gap data; the original land use width data includes cross-section prefix, mileage, left land use width, right land use width, left shoulder width, right shoulder width, and cut / fill type symbols in units of cross-section.
[0007] Furthermore, the broken chain data performs mileage conversion on all read data, converting the serial number and mileage into continuous mileage.
[0008] Furthermore, when identifying the centerline of the route, user data is added to the graphic object of the centerline of the route using extended data or extended recording technology, and the mileage range of the start and end points of the route is recorded.
[0009] Furthermore, the process of processing the gap data in the professional interface data and organizing it into a design work point table includes: 1) Process the gap data of bridges, tunnels, and stations, merge, thread the data, and sort the data to form a gap table sorted by mileage; 2) Based on the gap table, define the segment between every two gaps as a roadbed design work point, forming a roadbed work point table; 3) Based on the mileage range of the starting and ending points of the route, the roadbed construction point table is filtered to obtain the final design construction point table.
[0010] Furthermore, the step of grouping and processing the original land width data according to the design site table includes: The original land use width data is sorted by mileage and grouped according to the design work point table to obtain grouped data; For each group of data, cross-sectional data interpolation is performed at the start and end mileage of its corresponding work point.
[0011] Furthermore, based on the processed original land width data and line centerline data, the land boundary markers are automatically designed in batches, and attribute information is added to each land boundary marker, including: S5-1. For the land width data of each section, combined with the centerline data of the line, calculate the insertion position and direction parameters of the application boundary stakes. S5-2. Use custom entity technology to draw a single land boundary marker graphic and simultaneously attach attribute information to it; S5-2: Repeat S5-1 to S5-2 to achieve automated batch design of land boundary markers.
[0012] Furthermore, based on the land boundary markers and grouping data, the automatic design of land boundary lines is performed, and attribute information is added to each segment of the land boundary line, including: S6-1: Divide the data into sections according to the type of cut and fill; S6-2: Extract the insertion position coordinates of all land boundary stakes within the same segment, connect them in sequence to form a line, and generate the land boundary line for that segment; S6-3: Use extended data or extended record technology to add attribute information to each section of the land boundary line.
[0013] A second aspect of the present invention is to provide an automated design device for railway maps, comprising: Data input module: used to input the basic data required for map design, including professional interface data and original land width data; identify the centerline of the route, and obtain the mileage range of the start and end points of the route; Data processing module: used to process the gap data in the professional interface data and organize it into a design work point table; based on the design work point table, to group and process the original land width data; Land use boundary marker design module: This module is used to automatically design land use boundary markers in batches based on the processed original land use width data and line centerline data, and to add attribute information to each land use boundary marker. Land Use Boundary Design Module: This module is used to automatically design land use boundary lines based on the land use boundary markers and grouping data, and to add attribute information to each segment of the land use boundary line.
[0014] A third aspect of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the aforementioned automated design method for railway maps.
[0015] Compared with the prior art, the beneficial effects of the present invention are: S1: Input the basic data required for map design, including professional interface data and original land width data; unify the reading and mileage conversion of data from diverse sources and with different formats (data fragmentation), providing a standard, continuous and accurate data foundation for subsequent automated processing, eliminating errors from the source and solving the "information silo" problem.
[0016] S2: Identify the centerline of the route and obtain the mileage range of the start and end points of the route; the core reference object (centerline) is no longer a simple graphic, but a structured entity carrying key information such as mileage, providing a benchmark for all subsequent calculations and laying the foundation for the queryability and associativity of the results.
[0017] S3: Process the missing data in the professional interface materials and organize it into a design work point table; intelligently identify and organize complex work points such as bridges and tunnels, and rationally segment the line. This demonstrates the method's clear logic and strong applicability, enabling it to efficiently handle complex situations in actual engineering projects, rather than simply and crudely processing the entire line.
[0018] S4: Based on the design work point table, the original land width data is grouped and processed; the land data is dynamically linked with the work point information, and data is repaired at key locations (gaps), ensuring the accuracy and continuity of subsequent design inputs. This is a key preprocessing step for achieving efficient and accurate automated design.
[0019] S5: Based on the processed original land width data and route centerline data, the system automatically designs land boundary markers in batches and adds attribute information to each boundary marker; the automated and batch generation of boundary markers significantly improves efficiency and replaces manual repetitive drawing; the use of custom entities and extended data technology ensures that each boundary marker graphic "intrinsically" contains all key attributes (coordinates, mileage, etc.), achieving structured storage and providing a directly usable data foundation for subsequent applications; the program calculates and assigns values, ensuring the standardization and accuracy of all boundary marker results.
[0020] S6: Based on the land boundary markers and grouping data, the land boundary red line is automatically designed, and attribute information is added to each segment of the land boundary red line; the boundary markers are automatically connected to form a line, which greatly improves the efficiency of red line drawing; attributes are added to each segment of the red line, making it an "intelligent" boundary line, clarifying its starting and ending points and its location, making information utilization extremely convenient, and it can be directly used for statistics, reports and ownership management; the red line generation logic is consistent and standardized. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This invention provides a flowchart illustrating the steps of an automated design method for railway maps. Figure 2This invention provides a schematic diagram of the module flow of an automated design device for railway maps; Figure 3 An example diagram of user data attached to the centerline of a line; Figure 4 This is a design example of a land boundary marker.
[0023] Figure 5 This is an example diagram of a design using land boundary lines. Detailed Implementation
[0024] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0026] To address the problems existing in the background technology, a method and device for automated design of railway maps have been developed, which has significant practical implications.
[0027] like Figure 1 As shown, the first aspect of the present invention is to provide an automated design method for railway maps, comprising the following steps: S1: Input basic design data.
[0028] It should be noted that in order to provide a complete and accurate data foundation for automated design, a large amount of data needs to be acquired to achieve automated design.
[0029] Specifically, the device provides a standardized data interface to read external files and retrieve the basic data required for map design from specified files or interfaces. The basic data is divided into two categories: S1-1: Professional interface data, including route plan (or data), chain break data, bridge, tunnel, and station gap data.
[0030] Among them, the horizontal data of the line includes: the station number, coordinates, and curve elements (transition curves, circular curve parameters), etc. Chain break data: Station number mapping relationship at points of discontinuity in mileage caused by partial rerouting of the route; Bridge, tunnel, and station gap data: Record the starting and ending mileage, width, and other information of these structures, indicating that the roadbed width of these sections is different from that of ordinary road sections and requires special treatment.
[0031] S1-2: Original data on land width, mainly cross-sectional design results, including cross-section prefix, mileage, left and right land width, left and right shoulder width, and fill / cut type symbols, etc.
[0032] The device reads output files (such as text or Excel format) from cross-section design software (such as Weidi, OpenRoads, etc.). This data is organized by cross-section, and each data entry includes fields such as cross-section prefix (e.g., K100+500), mileage, left land width, right land width, left shoulder width, and right shoulder width, and uses specific symbols (e.g., 'T' for fill and 'W' for cut) to identify the fill / cut type.
[0033] S1-3: Based on the broken chain data, convert all the mileage data into continuous mileage.
[0034] Due to chain breaks, the mileage in the original data may jump. Based on the chain break data read by S1-1, the device uses an algorithm to convert all input data (line station numbers, gap start and end points, cross-sectional mileage) into a continuous mileage system. This forms the basis for all subsequent sorting, matching, and calculations by mileage, ensuring the accuracy of the calculations.
[0035] S2: Line centerline identifier. Parse or generate the line centerline graphic, add line attribute information to it using extended data (XDATA) or extended record (XRECORD) technology, and record the mileage range of the line's start and end points.
[0036] If the input is a graphic format (such as an existing centerline POLYLINE), the device will traverse the graphic database to identify the polyline object. Then, using AutoCAD's Extended Data (XDATA) or more advanced ExtensionDictionary and Xrecord technology, the line attributes read in S1 (such as the station number corresponding to each vertex) are appended to the graphic object, transforming it from a "dumb graphic" into a "smart object." Simultaneously, the line type is parsed to obtain the continuous mileage values of the entire line's start and end points.
[0037] If the input is in a data format, the device automatically draws the centerline polyline of the line in the CAD drawing based on the line planar data (coordinates and curve elements). Simultaneously, an extended dictionary is created and Xrecords are added, associating information such as station numbers with each vertex of the graphic (e.g., Figure 3 Example). The starting and ending points of the entire route are also recorded.
[0038] S3: Organize the design work points.
[0039] S3-1: Process gap data for bridges, tunnels, stations, etc., and perform operations such as merging and sorting to form an ordered gap table.
[0040] S3-2: Define the section between every two gaps as a roadbed work point, and form a roadbed work point table.
[0041] S3-3: Select work sites based on the route mileage range to obtain the final design work site table.
[0042] S4: Land width data processing.
[0043] S4-1: Sort the land width data by mileage and group it according to the design site table.
[0044] S4-2: Group each work site and interpolate the cross-sectional data at the gaps at its start and end points to ensure the continuity of the boundary data.
[0045] The starting and ending points of each work site coincide with the boundary of the gap. Since there is typically no roadbed cross-section at the gap, the land width data is missing. The device employs a linear interpolation algorithm to intelligently calculate the theoretical land width at the gap boundary based on the data from the two cross-sections closest to the gap boundary within each work site, and generates a virtual cross-section data which is then inserted into the group. This ensures that the boundary is closed and no gaps appear when drawing boundary markers and red lines subsequently.
[0046] S5: Automated batch design of land boundary markers.
[0047] S5-1: For each cross-section data, calculate its geodetic coordinates and direction parameters relative to the applied boundary stakes, in conjunction with the centerline of the line.
[0048] S5-2: Use custom entity technology to draw individual land boundary marker graphics (e.g., ... Figure 4 Example), and simultaneously attach attribute information such as station number, mileage, coordinates, direction, cut and fill volume.
[0049] S5-3: Iterate through all cross sections to achieve batch automatic generation of boundary markers.
[0050] S6: Design land boundary line.
[0051] S6-1: Further divide the data into segments based on the fill / cut type within the grouped data.
[0052] S6-2: Extract the coordinates of all boundary markers within the same segment and connect them in sequence to form the land boundary line for that segment (e.g., ...). Figure 5 Example).
[0053] S6-3: Use extended data / recording technology to add attribute information such as starting station number, starting mileage, ending station number, ending mileage, and side classification to each red line segment.
[0054] It should be noted that the above method can be implemented using a dedicated device (or plug-in) integrated into a CAD environment (such as AutoCAD). This device contains corresponding modules for performing the functions of each step described above.
[0055] like Figure 2 As shown, a second aspect of the present invention is to provide an automated design device for railway maps, comprising: Data input module 101: used to input the basic data required for map design, including professional interface data and original land width data; identify the centerline of the route, and obtain the mileage range of the start and end points of the route; Data processing module 102: used to process the gap data in the professional interface data and organize it into a design work point table; and to group and process the original land width data according to the design work point table. Boundary marker design module 103: Used to automatically design land boundary markers in batches based on the processed original land width data and line centerline data, and to add attribute information to each land boundary marker; Infrared design module 104: used to automatically design the land boundary line based on the land boundary markers and grouping data, and to add attribute information to each segment of the land boundary line.
[0056] A third aspect of the present invention is to provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement an automated design method for railway maps.
[0057] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, etc.) containing computer-usable program code.
[0058] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, systems, and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0059] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0060] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the protection scope of the present invention.
Claims
1. An automated design method for railway maps, characterized in that, include: S1: Input the basic data required for map design, including professional interface data and original land width data; S2: Identify the centerline of the route and obtain the mileage range of the start and end points of the route; S3: Process the missing data in the professional interface data and organize it into a design work point table; S4: Based on the design site list, group and process the original land width data; S5: Based on the processed original land width data and line centerline data, automatically design land boundary markers in batches and add attribute information to each land boundary marker; S6: Based on the land boundary markers and grouping data, automatically design the land boundary line and add attribute information to each segment of the land boundary line.
2. The automated design method for railway maps according to claim 1, characterized in that, The professional interface data includes line plan data, chain break data, bridge data, tunnel data, and station gap data; the original land use width data includes cross-section prefix, mileage, left land use width, right land use width, left shoulder width, right shoulder width, and cut / fill type symbols in units of cross-section.
3. The automated design method for railway maps according to claim 2, characterized in that, The broken chain data performs mileage conversion on all read data, converting the serial number and mileage into continuous mileage.
4. The automated design method for railway maps according to claim 1, characterized in that, When identifying the centerline of a route, user data is added to the graphic object of the route centerline using extended data or extended recording technology, and the mileage range of the start and end points of the route is recorded.
5. The automated design method for railway maps according to claim 1, characterized in that, The process of processing the missing data in the professional interface data and organizing it into a design work point table includes: 1) Process the gap data of bridges, tunnels, and stations, merge, thread the data, and sort the data to form a gap table sorted by mileage; 2) Based on the gap table, define the segment between every two gaps as a roadbed design work point, forming a roadbed work point table; 3) Based on the mileage range of the starting and ending points of the route, the roadbed construction point table is filtered to obtain the final design construction point table.
6. The automated design method for railway maps according to claim 1, characterized in that, The step of grouping and processing the original land width data according to the design site table includes: The original land use width data is sorted by mileage and grouped according to the design work point table to obtain grouped data; For each group of data, cross-sectional data interpolation is performed at the start and end mileage of its corresponding work point.
7. The automated design method for railway maps according to claim 1, characterized in that, Based on the processed original land use width data and line centerline data, land use boundary markers are automatically designed in batches, and attribute information is added to each land use boundary marker, including: S5-1. For the land width data of each section, combined with the centerline data of the line, calculate the insertion position and direction parameters of the application boundary stakes. S5-2. Use custom entity technology to draw a single land boundary marker graphic and simultaneously attach attribute information to it; S5-2: Repeat S5-1 to S5-2 to achieve automated batch design of land boundary markers.
8. The automated design method for railway maps according to claim 1, characterized in that, Based on the land boundary markers and grouped data, the system automatically designs land boundary lines and adds attribute information to each segment of the land boundary line, including: S6-1: Divide the data into sections according to the type of cut and fill; S6-2: Extract the insertion position coordinates of all land boundary stakes within the same segment, connect them in sequence to form a line, and generate the land boundary line for that segment; S6-3: Use extended data or extended record technology to add attribute information to each section of the land boundary line.
9. An automated design device for railway maps, characterized in that, include: Data input module: used to input the basic data required for map design, including professional interface data and original land width data; identify the centerline of the route, and obtain the mileage range of the start and end points of the route; Data processing module: used to process the gap data in the professional interface data and organize it into a design work point table; based on the design work point table, group and process the original land width data; Land use boundary marker design module: This module is used to automatically design land use boundary markers in batches based on the processed original land use width data and line centerline data, and to add attribute information to each land use boundary marker. Land Use Boundary Design Module: This module is used to automatically design land use boundary lines based on the land use boundary markers and grouping data, and to add attribute information to each segment of the land use boundary line.
10. An electronic device, characterized in that, The system includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the automated design method for railway maps as described in any one of claims 1-8.