CN107679305B - Road network model creating method and device - Google Patents

Road network model creating method and device Download PDF

Info

Publication number
CN107679305B
CN107679305B CN201710872523.9A CN201710872523A CN107679305B CN 107679305 B CN107679305 B CN 107679305B CN 201710872523 A CN201710872523 A CN 201710872523A CN 107679305 B CN107679305 B CN 107679305B
Authority
CN
China
Prior art keywords
road network
data
field
network data
point layer
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
CN201710872523.9A
Other languages
Chinese (zh)
Other versions
CN107679305A (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.)
Nanjing Institute Of City & Transport Planning Co ltd
Original Assignee
Nanjing Institute Of City & Transport Planning 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 Nanjing Institute Of City & Transport Planning Co ltd filed Critical Nanjing Institute Of City & Transport Planning Co ltd
Priority to CN201710872523.9A priority Critical patent/CN107679305B/en
Publication of CN107679305A publication Critical patent/CN107679305A/en
Application granted granted Critical
Publication of CN107679305B publication Critical patent/CN107679305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/18Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Computational Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mathematical Analysis (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a road network model creating method and device. The method comprises the following steps: converting the format of the obtained original road network data into a first format, and selecting a projection coordinate; taking the projection coordinates as a reference, and carrying out topology rule check, field creation and assignment processing on the road network data after format conversion; generating point layer data according to the processed road network data, and performing new field creation and assignment processing on the point layer data; and performing spatial correlation analysis processing on the processed road network data and point layer data to establish a road network model through the road network data and the point layer data subjected to the spatial correlation analysis processing. The method has the characteristics of strong universality, capability of reducing workload, improvement on modeling efficiency and the like.

Description

Road network model creating method and device
Technical Field
The invention relates to the technical field of model construction in urban traffic planning, in particular to a road network model creation method and a road network model creation device.
Background
Urban traffic planning is the basic basis for urban construction and management. With the development of society, urban traffic planning tends to be quantitative, rational, technical and comprehensive. The traffic model is used as the key of urban traffic planning and is an important means for supporting traffic decision rationalization and quantification. The ArcGIS platform is used for integrating various traffic data, and a macroscopic, mesoscopic and microscopic simulation model platform is constructed by means of traffic planning software, so that quantitative evaluation can be performed on traffic facility schemes, traffic organizations and management schemes, the traffic condition of a city is truly and comprehensively reflected, and planning designers, scheme decision makers and traffic managers can perform comparison and selection decisions of different schemes, so that core basis and important support are provided for government decisions.
The construction and maintenance of the urban traffic model database are basic work for constructing traffic models, and the urban traffic model database has large workload and long maintenance period. Generally speaking, in actual work, basic road network data of a relevant department in charge of a city cannot be directly used for traffic professional planning software to construct macroscopic, mesoscopic and microscopic models, and each data source is often required to be processed, so that the modeling efficiency is not high.
Disclosure of Invention
In order to overcome the above disadvantages in the prior art, the present invention provides a road network model creating method and apparatus, which can be operated in batch, improve efficiency, and have the characteristics of clear logic, high universality, etc.
The preferred embodiment of the present invention provides a road network model creating method, including:
converting the format of the obtained original road network data into a first format, and selecting a projection coordinate;
taking the projection coordinates as a reference, and carrying out topology rule checking, field creation and assignment processing on the road network data after format conversion;
generating point layer data according to the processed road network data, and performing new field creation and assignment processing on the point layer data;
and performing spatial correlation analysis processing on the processed road network data and point layer data to establish a road network model through the road network data and the point layer data subjected to the spatial correlation analysis processing.
In a preferred embodiment of the present invention, the step of checking topology rules of the format-converted road network data includes:
establishing a coordinate system according to the projection coordinates;
creating a new topology according to the road network data after format conversion in the coordinate system;
carrying out topology rule detection on the established topology through a set topology rule to obtain a detection result, wherein the detection result comprises whether roads are overlapped, whether the roads are self-intersected, whether the roads are connected and whether the roads are broken;
and correcting the road network data after the format conversion according to the detection result.
In a preferred embodiment of the present invention, the step of performing new field creation and assignment processing on the format-converted road network data includes:
creating a field corresponding to each road section in the road network data, wherein the field comprises a road section number field;
and performing assignment processing on part of the fields in the new fields.
In a preferred embodiment of the present invention, the steps of generating the dot layer data according to the processed road network data, and performing new field creation and assignment processing on the dot layer data include:
generating point layer data by using the processed road network data;
aiming at the data of the point layer, creating required fields of the data of the point layer, wherein the required fields of the data of the point layer comprise a point number field, a centroid field, a point position coordinate field and a description field;
deleting repeated points according to the point position coordinate field in the data field of the point layer;
and assigning values to the point number field, the centroid field and the description field according to set rules.
In a preferred embodiment of the present invention, the step of performing spatial correlation analysis on the processed road network data and point layer data to establish a road network model through the road network data and point layer data after the spatial correlation analysis processing includes:
performing spatial correlation analysis processing on road network data and point layer data;
generating road network data and point layer data in a second format according to the processed road network data and point layer data and storing the road network data and point layer data;
and importing the road network data and the point layer data in the second format into the EMME, and matching the fields one by one to construct a road network model.
In a preferred embodiment of the present invention, the step of performing spatial correlation analysis on the road network data and the point layer data includes:
generating a temporary starting point layer and a temporary terminal point layer according to the road network data;
and assigning the value of the point number field of the temporary starting layer after spatial connection under the same road section number field to the road section starting point field of the road section, and assigning the value of the point number field of the temporary finishing layer after spatial connection under the same road section number field to the road section finishing point field of the road section, so as to realize the spatial correlation of the road network data and the finishing point layer data.
The preferred embodiment of the present invention further provides a road network model creating apparatus, including:
the format conversion module is used for converting the format of the obtained original road network data into a first format and selecting projection coordinates;
the road network data processing module is used for carrying out topology rule check, field creation and assignment processing on the road network data after format conversion by taking the projection coordinates as a reference;
the point layer data processing module is used for generating point layer data according to the processed road network data and carrying out newly-built field and assignment processing on the point layer data;
and the spatial correlation module is used for performing spatial correlation analysis processing on the processed road network data and point layer data so as to establish a road network model through the road network data and the point layer data which are subjected to the spatial correlation analysis processing.
In a preferred embodiment of the present invention, the way for the road network data processing module to perform new field creation and assignment processing on the road network data after format conversion includes:
creating a field corresponding to each road section in the road network data, wherein the field comprises a road section number field;
and performing assignment processing on part of the fields in the new fields.
In a preferred embodiment of the present invention, the way for the data processing module of the peer layer to generate the data of the peer layer according to the processed road network data and to perform new field creation and assignment processing on the data of the peer layer includes:
generating point layer data by using the processed road network data;
aiming at the data of the point layer, creating required fields of the data of the point layer, wherein the required fields of the data of the point layer comprise a point number field, a centroid field, a point position coordinate field and a description field;
deleting repeated points according to the point position coordinate field in the data field of the point layer;
and assigning values to the point number field, the centroid field and the description field according to set rules.
In a preferred embodiment of the present invention, the spatial correlation module performs spatial correlation analysis on the processed road network data and point layer data, and the method for establishing a road network model by using the road network data and the point layer data after the spatial correlation analysis includes:
performing spatial correlation analysis processing on road network data and point layer data;
generating road network data and point layer data in a second format according to the processed road network data and point layer data and storing the road network data and point layer data;
and importing the road network data and the point layer data in the second format into the EMME, and matching the fields one by one to construct a road network model.
Compared with the prior art, the invention has the following beneficial effects:
the preferred embodiment of the invention provides a road network model creating method and a road network model creating device. After the original road network data are obtained, format conversion is carried out on the original road network data, and a proper projection coordinate is selected to obtain the road network data in the first format. And carrying out topology rule check, field creation and assignment processing on the road network data in the first format by taking the projection coordinates as a reference. And obtaining the dot layer data through the road network data obtained after the processing, and performing new field creation and assignment processing on the dot layer data. And performing spatial correlation analysis processing on the processed road network data and point layer data, and further establishing a road network model according to the road network data and the point layer data after the spatial correlation analysis processing. The method has the characteristics of strong universality, capability of reducing workload, improvement on modeling efficiency and the like.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a block diagram of a computing device according to a preferred embodiment of the present invention.
FIG. 2 is a flowchart illustrating a model creation method according to a preferred embodiment of the present invention.
Fig. 3 is one of the flow diagrams of the sub-steps included in step S120 in fig. 2.
Fig. 4 is a second schematic flowchart of the sub-steps included in step S120 in fig. 2.
Fig. 5 is a flowchart illustrating sub-steps included in step S130 in fig. 2.
Fig. 6 is a flowchart illustrating sub-steps included in step S140 in fig. 2.
Fig. 7 is a flowchart illustrating the sub-steps included in sub-step S141 in fig. 6.
FIG. 8 is a block diagram of a model creation apparatus according to a preferred embodiment of the present invention.
Icon: 100-a computing device; 110-a memory; 120-a memory controller; 130-a processor; 200-road network model creating means; 210-format conversion module; 220-road network data processing module; 230-a data processing module of the dot layer; 240-spatial correlation module.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a block diagram of a computing device 100 according to a preferred embodiment of the invention. In the embodiment of the present invention, the computing device 100 may be, but is not limited to, a desktop computer, a tablet computer, a server, etc. The computing device 100 includes: memory 110, storage controller 120, processor 130 and road network model creation means 200.
The elements of the memory 110, the memory controller 120 and the processor 130 are electrically connected directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The memory 110 may store AutoCAD, ArcGIS, EMME, and road network model creation means 200, and the road network model creation means 200 includes at least one software function module which may be stored in the memory 110 in the form of software or firmware (firmware). The processor 130 executes various functional applications and data processing, i.e. implements the model creation method in the embodiment of the present invention, by running software programs and modules stored in the memory 110, such as the road network model creation apparatus 200 in the embodiment of the present invention.
In this embodiment, the computing device 100 processes the original road network data through ArcGIS, and imports the processed data into the EMME, thereby completing the road network model creation.
The Memory 110 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 110 is used for storing a program, and the processor 130 executes the program after receiving the execution instruction. Access to the memory 110 by the processor 130 and possibly other components may be under the control of the memory controller 120.
The processor 130 can be an integrated circuit chip having signal processing capabilities. The Processor 130 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like. But may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be appreciated that the configuration shown in FIG. 1 is merely illustrative, and that computing device 100 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 2, fig. 2 is a flow chart illustrating a model creation method according to a preferred embodiment of the invention. The method is applied to the computing device 100. The specific flow of the model creation method is described in detail below.
Step S110, converting the format of the obtained original road network data into a first format, and selecting a projection coordinate.
In this embodiment, since the original road network data is dwg format data, Shapefile vector format data, and the like, which cannot be directly used for modeling (for example, cannot be directly used for EMME modeling), it is necessary to perform format conversion on the original road network data and select appropriate projection coordinates in the conversion to obtain road network data in the first format, so as to perform subsequent processing, thereby completing road network model creation. Wherein the projected coordinates are selected based on the geographic location of the city.
Specifically, when the format conversion is performed by using ArcGIS, the original road network data may be converted into geocatabase database format data based on ArcGIS.
And step S120, taking the projection coordinates as a reference, and performing topology rule checking, field creation and assignment processing on the road network data after format conversion.
How to check the topology rules of the format-converted road network data is described below.
Referring to fig. 3, fig. 3 is a flowchart illustrating one of the sub-steps included in step S120 in fig. 2. The step S120 may include a substep S1211, a substep S1212, a substep S1213, and a substep S1214.
And a substep S1211 of establishing a coordinate system according to the projection coordinates.
And a substep S1212, creating a new topology according to the road network data after format conversion in the coordinate system.
In this embodiment, a Feature Dataset of the same coordinate system as the projection coordinate is newly created in ArcGIS, and the road network data after format conversion is imported into the Feature Dataset to create a topology.
And a substep S1213 of detecting the established topology according to the set topology rule to obtain a detection result.
Because the data structure of the road network is complex, and many topological relations exist among the ground objects, if the subsequent processing is carried out without rule detection, an erroneous analysis result is likely to be generated, for example, if the intersection road section is not broken at the intersection, the steering operation cannot be completed at the intersection. Therefore, topology rule detection needs to be performed on the converted road network data.
In this embodiment, a basic topology rule may be set according to the situation of a specific project, and topology rule detection may be performed on the created topology according to the topology rule, so as to determine whether there is a superposed road, whether there is a self-intersecting road, whether there is an unconnected road, whether there is an uninterrupted road, and the like. And after the topology rule detection is carried out, obtaining a detection result, wherein the detection result comprises whether the roads are overlapped, whether the roads are intersected automatically, whether the roads are connected or not, whether the roads are interrupted or not and the like.
And a substep S1214, correcting the road network data after format conversion according to the detection result.
For example, the manner of correcting the road network data after format conversion according to whether the road in the detection result is interrupted may be: and interrupting the road network by referring to the actual road network condition so as to enable the interrupted road network to accord with the actual road network condition.
How to perform new field creation and assignment processing on the format-converted road network data is described below.
Referring to fig. 4, fig. 4 is a second schematic flowchart of the sub-steps included in step S120 in fig. 2. The step S120 may include a substep S1231 and a substep S1232.
And a substep S1231, creating a new field corresponding to each road segment in the road network data, wherein the field includes a road segment number field.
According to the requirement of creating the model, a road section number LID field, a road section starting point i field, a road section end point j field, a starting point position coordinate ix field, an iy field, an end point position coordinate jx field, an jy field, a length len field, a direction field, a lane number lanes field, a type field, a mode field, a delay function vdf field and the like can be newly created. Wherein: LID, i, j, direction, lanes, type, vdf are long integer fields, len is floating point type field, mode is text type field, ix, iy, jx, jy are double precision fields.
And a substep S1232 of performing assignment processing on part of the fields in the newly created field.
In the present embodiment, since the value of the length len field coincides with the actual road length when the projection coordinate system is appropriate, the assignment calculation can be directly performed on the length len field. The LID field may be the system field FID plus a reasonable constant. And assigning the fields of direction, lanes, type, vdf and mode according to the actual road condition and special requirements in EMME.
In this embodiment, ix, iy, jx, jy may also be directly assigned.
And step S130, generating dot layer data according to the processed road network data, and performing new field creation and assignment processing on the dot layer data.
Referring to fig. 5, fig. 5 is a flowchart illustrating sub-steps included in step S130 in fig. 2. The step S130 may include a substep S131, a substep S132, a substep S133, and a substep S134.
In substep S131, point layer data is generated using the processed road network data.
And a substep S132 of creating a field required by the layer data of the point layer aiming at the layer data of the point layer.
In an embodiment, the road network data obtained through the above processing may be used to generate the dot layer data by using ArcGIS. And for the generated data of the point layer, creating a field required by the data of the point layer. The fields required by the point layer data can comprise a point number PID field, a centroid bootean field, a point position coordinate x and y field and a description field. Wherein, PID and borolan are long and integer fields, x and y are double precision fields, and description is text field.
And a substep S133 of deleting the duplicate points according to the point position coordinate field in the data field of the point layer.
In this embodiment, after the new creation of the field of the dot layer data is completed, the x and y coordinates of the dot position can be calculated based on the newly created field, so as to eliminate the dots with the same coordinates, thereby achieving the purpose of deleting the duplicate dots.
And a substep S134 of assigning values to the point number field, the centroid field and the description field according to the set rule.
In this embodiment, for the centroid point, the bolean field is assigned 1; the bolean field is assigned a value of 0, a non-centroid point. The value of the point number PID field is unique, the point number PID field can be assigned from 1, and specifically, if the point is a centroid point, the point is numbered from 1 to the back continuously; if the point is a non-centroid point, the numbering is started from the position after the maximum centroid point number value. For example, there are four points A, B, C, D, where A, B is the centroid point and C, D is the non-centroid point. The point number PID field of the point a may be assigned 1, the PID field of the point B may be assigned 2, the point number PID field of the point C may be assigned 5, and the point number PID field of the point D may be assigned 6. The description field can be subjected to custom assignment according to different model requirements. The description field may be an alphabetical symbol for distinguishing bus stops, track stops, general road nodes, etc.
Step S140, performing spatial correlation analysis on the processed road network data and point layer data to establish a road network model through the road network data and point layer data after the spatial correlation analysis.
Referring to fig. 6, fig. 6 is a flowchart illustrating sub-steps included in step S140 in fig. 2. The step S140 may include a substep S141, a substep S142, and a substep S143.
And a substep S141 of performing spatial correlation analysis processing on the road network data and the point layer data.
Referring to fig. 7, fig. 7 is a flowchart illustrating sub-steps included in sub-step S141 in fig. 6. The substep S141 may include substeps 1411 and substep S1412.
In substep S1411, a temporary starting point layer and a temporary end point layer are generated from the road network data.
And a substep S1412, assigning the value of the point number field of the spatially connected temporary starting layer under the same road segment number field to the road segment starting point field of the road segment, and assigning the value of the point number field of the spatially connected temporary ending layer under the same road segment number field to the road segment ending point field of the road segment, so as to implement spatial association between the road network data and the point layer data.
In this embodiment, the temporary start layer and the temporary end layer may be sequentially obtained from the processed road network data by using ArcGIS. And further spatially connecting the temporary starting layer, the temporary destination layer and the processed data of the point layer so as to realize spatial association of the road network data and the data of the point layer.
Specifically, a manner of assigning values to a segment start point i field and a segment end point j in the road network data may be adopted. And assigning the road section starting point i as the value of the point number PID field of the temporary starting point layer after the spatial connection under the same road section number LID, and assigning the road section terminal point j as the value of the point number PID field of the temporary terminal layer after the spatial connection under the same road section number LID. That is, the link number LID field in the road network data and the link number LID field in the table generated by the temporary starting point layer are selected as the connection key field, and the value of the point number PID field after spatial connection is assigned to the link starting point i field; and selecting a road section number LID field in the road network data and a road section number LID field in a table generated by the temporary terminal layer as a connection key field, and assigning the value of the point number PID field after spatial connection to a road section terminal j field.
And a substep S142, generating road network data and point layer data in a second format according to the processed road network data and point layer data and storing the road network data and point layer data.
In this embodiment, after the original road network data is processed to obtain the associated road network data and point layer data, the road network data and point layer data in the second format are generated through the data, so as to be directly utilized, thereby completing the creation of the road network model.
And a substep S143, importing the road network data and the point layer data in the second format into the EMME, and matching one by one through the fields to construct a road network model.
In the embodiment of this embodiment, since the EMME modeling is used, the second format is a Shapefile format. And importing the road network data and the point layer data in the formats into EMME, and matching fields in the data one by one to construct a road network model. Therefore, the original road network data is processed into data which can be directly used for modeling, the modeling speed is improved, batch operation is realized, and the universality is high.
Referring to fig. 8, fig. 8 is a block diagram of a road network model creation device 200 according to a preferred embodiment of the present invention. The road network model creation device 200 includes a format conversion module 210, a road network data processing module 220, a point layer data processing module 230 and a spatial association module 240.
The format conversion module 210 is configured to convert the format of the obtained original road network data into a first format, and select a projection coordinate.
In this embodiment, the format conversion module 210 is configured to execute step S110 in fig. 2, and the detailed description about the format conversion module 210 may refer to the detailed description of step S110 in fig. 2.
And a road network data processing module 220, configured to perform topology rule checking, field creation and assignment processing on the format-converted road network data with the projection coordinates as a reference.
The way for the road network data processing module 220 to perform new field creation and assignment processing on the format-converted road network data includes:
creating a field corresponding to each road section in the road network data, wherein the field comprises a road section number field;
and performing assignment processing on part of the fields in the new fields.
In this embodiment, the road network data processing module 220 is configured to execute step S120 in fig. 2, and the detailed description about the road network data processing module 220 may refer to the detailed description of step S120 in fig. 2.
And the point layer data processing module 230 is configured to generate point layer data according to the processed road network data, and perform new field creation and assignment processing on the point layer data.
The way for generating the point layer data according to the processed road network data and performing new field creation and assignment processing on the point layer data by the point layer data processing module 230 includes:
generating point layer data by using the processed road network data;
aiming at the data of the point layer, creating required fields of the data of the point layer, wherein the required fields of the data of the point layer comprise a point number field, a centroid field, a point position coordinate field and a description field;
deleting repeated points according to the point position coordinate field in the data field of the point layer;
and assigning values to the point number field, the centroid field and the description field according to set rules.
In this embodiment, the layer data processing module 230 is configured to execute step S130 in fig. 2, and the detailed description about the layer data processing module 230 may refer to the detailed description of step S130 in fig. 2.
And the spatial association module 240 is configured to perform spatial association analysis processing on the processed road network data and point layer data, so as to establish a road network model through the road network data and the point layer data after the spatial association analysis processing.
The spatial correlation module 240 performs spatial correlation analysis processing on the processed road network data and point layer data, and the method for establishing a road network model by using the road network data and the point layer data after the spatial correlation analysis processing includes:
performing spatial correlation analysis processing on road network data and point layer data;
generating road network data and point layer data in a second format according to the processed road network data and point layer data and storing the road network data and point layer data;
and importing the road network data and the point layer data in the second format into the EMME, and matching the fields one by one to construct a road network model.
In this embodiment, the spatial association module 240 is configured to execute step S140 in fig. 2, and the detailed description about the spatial association module 240 may refer to the detailed description of step S140 in fig. 2.
In summary, the present invention provides a road network model creating method and apparatus. After the original road network data are obtained, format conversion is carried out on the original road network data, and projection coordinates are selected to obtain the road network data in the first format. And carrying out topology rule check, field creation and assignment processing on the road network data in the first format by taking the projection coordinates as a reference. And obtaining the dot layer data through the road network data obtained after the processing, and performing new field creation and assignment processing on the dot layer data. And performing spatial correlation analysis processing on the processed road network data and point layer data, and further establishing a road network model according to the road network data and the point layer data which are processed through the spatial correlation analysis. The method has the characteristics of strong universality, capability of reducing workload, improvement on modeling efficiency and the like.
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 (8)

1. A road network model creation method, the method comprising:
converting the format of the obtained original road network data into a first format, and selecting a projection coordinate;
taking the projection coordinates as a reference, and carrying out topology rule checking, field creation and assignment processing on the road network data after format conversion;
generating point layer data according to the processed road network data, and performing new field creation and assignment processing on the point layer data;
performing spatial correlation analysis processing on the processed road network data and point layer data to establish a road network model through the road network data and the point layer data subjected to the spatial correlation analysis processing;
the steps of generating point layer data according to the processed road network data and performing new field creation and assignment processing on the point layer data comprise:
generating point layer data by using the processed road network data;
aiming at the data of the point layer, creating required fields of the data of the point layer, wherein the required fields of the data of the point layer comprise a point number field, a centroid field, a point position coordinate field and a description field;
deleting repeated points according to the point position coordinate field in the data field of the point layer;
and assigning values to the point number field, the centroid field and the description field according to set rules.
2. The method according to claim 1, wherein said step of performing topology rule checking on the road network data after format conversion comprises:
establishing a coordinate system according to the projection coordinates;
creating a new topology according to the road network data after format conversion in the coordinate system;
carrying out topology rule detection on the established topology through a set topology rule to obtain a detection result, wherein the detection result comprises whether roads are overlapped, whether the roads are self-intersected, whether the roads are connected and whether the roads are broken;
and correcting the road network data after the format conversion according to the detection result.
3. The method according to claim 1, wherein said step of performing new field creation and assignment processing on the road network data after format conversion comprises:
creating a field corresponding to each road section in the road network data, wherein the field comprises a road section number field;
and performing assignment processing on part of the fields in the new fields.
4. The method according to claim 1, wherein the step of performing spatial correlation analysis on the processed road network data and point layer data to build a road network model by the road network data and point layer data after the spatial correlation analysis processing comprises:
performing spatial correlation analysis processing on road network data and point layer data;
generating road network data and point layer data in a second format according to the processed road network data and point layer data and storing the road network data and point layer data;
and importing the road network data and the point layer data in the second format into the EMME, and matching the fields one by one to construct a road network model.
5. The method according to claim 4, wherein the step of performing spatial correlation analysis on the road network data and the point layer data comprises:
generating a temporary starting point layer and a temporary terminal point layer according to the road network data;
and assigning the value of the point number field of the temporary starting layer after spatial connection under the same road section number field to the road section starting point field of the road section, and assigning the value of the point number field of the temporary finishing layer after spatial connection under the same road section number field to the road section finishing point field of the road section, so as to realize the spatial correlation of the road network data and the finishing point layer data.
6. A road network model creation apparatus, characterized in that the apparatus comprises:
the format conversion module is used for converting the format of the obtained original road network data into a first format and selecting projection coordinates;
the road network data processing module is used for carrying out topology rule check, field creation and assignment processing on the road network data after format conversion by taking the projection coordinates as a reference;
the point layer data processing module is used for generating point layer data according to the processed road network data and carrying out newly-built field and assignment processing on the point layer data;
the spatial correlation module is used for performing spatial correlation analysis processing on the processed road network data and point layer data so as to establish a road network model through the road network data and the point layer data subjected to the spatial correlation analysis processing;
the point layer data processing module generates point layer data according to the processed road network data, and the way of performing new field creation and assignment processing on the point layer data comprises the following steps:
generating point layer data by using the processed road network data;
aiming at the data of the point layer, creating required fields of the data of the point layer, wherein the required fields of the data of the point layer comprise a point number field, a centroid field, a point position coordinate field and a description field;
deleting repeated points according to the point position coordinate field in the data field of the point layer;
and assigning values to the point number field, the centroid field and the description field according to set rules.
7. The apparatus of claim 6, wherein the road network data processing module performs new field creation and assignment processing on the road network data after format conversion, including:
creating a field corresponding to each road section in the road network data, wherein the field comprises a road section number field;
and performing assignment processing on part of the fields in the new fields.
8. The apparatus according to claim 6, wherein the spatial correlation module performs spatial correlation analysis on the processed road network data and point layer data, and the method of establishing a road network model from the road network data and point layer data after the spatial correlation analysis comprises:
performing spatial correlation analysis processing on road network data and point layer data;
generating road network data and point layer data in a second format according to the processed road network data and point layer data and storing the road network data and point layer data;
and importing the road network data and the point layer data in the second format into the EMME, and matching the fields one by one to construct a road network model.
CN201710872523.9A 2017-09-25 2017-09-25 Road network model creating method and device Active CN107679305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710872523.9A CN107679305B (en) 2017-09-25 2017-09-25 Road network model creating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710872523.9A CN107679305B (en) 2017-09-25 2017-09-25 Road network model creating method and device

Publications (2)

Publication Number Publication Date
CN107679305A CN107679305A (en) 2018-02-09
CN107679305B true CN107679305B (en) 2020-10-30

Family

ID=61137936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710872523.9A Active CN107679305B (en) 2017-09-25 2017-09-25 Road network model creating method and device

Country Status (1)

Country Link
CN (1) CN107679305B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108332761B (en) * 2018-02-07 2022-10-28 驭势(上海)汽车科技有限公司 Method and equipment for using and creating road network map information
CN111477006A (en) * 2020-04-22 2020-07-31 福州市规划设计研究院 Traffic network model construction method based on Goodpasture path planning interface
CN113722872B (en) * 2021-11-04 2022-01-25 长安大学 Method for extracting start and end point attributes of roads in batch in urban area road network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488158A (en) * 2009-02-13 2009-07-22 同济大学 Road network modeling method based on road element
CN101859312A (en) * 2010-04-20 2010-10-13 长安大学 Highway network topological structure data model and path calculation method
CN103489082A (en) * 2013-05-27 2014-01-01 浙江工业大学 Large-scale classifying distribution method based on GIS rich network attribute road network
CN103531024A (en) * 2013-10-28 2014-01-22 武汉旭云科技有限公司 Dynamic traffic network urban road feature model and modeling method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6950788B2 (en) * 2000-09-27 2005-09-27 Ardeshir Faghri Computer-implemented system and method for simulating motor vehicle and bicycle traffic

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488158A (en) * 2009-02-13 2009-07-22 同济大学 Road network modeling method based on road element
CN101859312A (en) * 2010-04-20 2010-10-13 长安大学 Highway network topological structure data model and path calculation method
CN103489082A (en) * 2013-05-27 2014-01-01 浙江工业大学 Large-scale classifying distribution method based on GIS rich network attribute road network
CN103531024A (en) * 2013-10-28 2014-01-22 武汉旭云科技有限公司 Dynamic traffic network urban road feature model and modeling method thereof

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
分布式交通仿真路网模型的设计与持久化;姜秉楠 等;《系统仿真技术》;20090728;第5卷(第3期);第143-148页 *
基于GIS的微观交通仿真路网数据模型;赵宾植 等;《云南大学学报》;20091231;第227-233页 *
基于GIS的微观仿真路网数据结构设计和实现;杨晓毅 等;《交通运输系统工程与信息》;20060415;第6卷(第2期);第38-41页 *
微观交通仿真中的路网构建与车辆行为建模;雷鹏;《中国优秀硕士学位论文全文数据库》;20150315;文章第20-43页 *

Also Published As

Publication number Publication date
CN107679305A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN111950225B (en) Chip layout method and device, storage medium and electronic equipment
CN107679305B (en) Road network model creating method and device
US20090055096A1 (en) System and method for simplifying a point cloud
US8660822B2 (en) System and method for generating three dimensional functional space reservation systems of a vehicle
CN105550225A (en) Index construction method and query method and apparatus
CN112348317B (en) Method and system for generating project planning conditions of smart city
CN107564077B (en) method and device for drawing road network
CN114239198B (en) Power grid subgraph division method and device based on parallel optimization
CN112926122A (en) Building construction pre-assembly method of pre-assembled three-dimensional effect graph based on BIM technology
CN112149211B (en) Building Information Model (BIM) -based curtain wall modeling method and system
CN112861972A (en) Site selection method and device for exhibition area, computer equipment and medium
Lei et al. Optimal spatial data matching for conflation: A network flow‐based approach
US20090074326A1 (en) Method for aligning point clouds
US11868325B2 (en) Data management system, management method, and storage medium
CN113190905A (en) Building model analysis method and device and storage medium
KR102039974B1 (en) System and method for automatic calculation of WBS cost by using work classification system and automatic quantity calculation by object position
CN112783475A (en) Embedded software demand analysis method
CN115982828B (en) Bridge maintenance digital twin body construction method and device
CN114270282A (en) System for generating an integral digital twin
CN111199357B (en) Express delivery point electronic fence diagnosis method and device
CN113255769A (en) Compound attribute prediction model training method and compound attribute prediction method
CN112732925A (en) Method for determining investment data based on atlas, storage medium and related equipment
Zhang et al. Automatic generation method of 3D process models for shaft parts based on volume decomposition
CN117744553B (en) Method, device, equipment and storage medium for modeling field programmable gate array
CN114943112B (en) Automatic generation method, device, equipment and medium for arrangement scheme along building line

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