CN113869570A - Method and device for acquiring correction coefficient of peripheral road and electronic equipment - Google Patents

Method and device for acquiring correction coefficient of peripheral road and electronic equipment Download PDF

Info

Publication number
CN113869570A
CN113869570A CN202111102076.1A CN202111102076A CN113869570A CN 113869570 A CN113869570 A CN 113869570A CN 202111102076 A CN202111102076 A CN 202111102076A CN 113869570 A CN113869570 A CN 113869570A
Authority
CN
China
Prior art keywords
road
land
straight line
urban
building
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.)
Pending
Application number
CN202111102076.1A
Other languages
Chinese (zh)
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.)
Shenzhen Kusi Technology Co ltd
Original Assignee
Shenzhen Kusi 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 Shenzhen Kusi Technology Co ltd filed Critical Shenzhen Kusi Technology Co ltd
Priority to CN202111102076.1A priority Critical patent/CN113869570A/en
Publication of CN113869570A publication Critical patent/CN113869570A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/043Optimisation of two dimensional placement, e.g. cutting of clothes or wood
    • 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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

The application provides a method and a device for acquiring a correction coefficient of a peripheral road and electronic equipment, wherein the method comprises the following steps: generating probes with preset lengths which vertically pass through the middle points of the straight lines aiming at all the straight lines forming the edge of the construction site; confirming a straight line side of the corresponding probe, which is in contact with a road surface adjacent to the construction land, as a target straight line side, and calculating the total length of the target straight line side; calculating to obtain a critical value of the number of road edges for comparing with the total length to judge that the construction land conforms to the urban and rural planning standard based on the optimal circumscribed ellipse of the construction land; and determining the number of road edges of the building land based on the total length and the critical value, and matching the number of road edges of the building land with the urban and rural planning standard to obtain a correction coefficient of the road around the building land. The method and the device can quickly and accurately determine the correction coefficient of the peripheral road of the construction land.

Description

Method and device for acquiring correction coefficient of peripheral road and electronic equipment
Technical Field
The application relates to the field of urban and rural planning, in particular to a method and a device for acquiring a correction coefficient of a peripheral road and electronic equipment.
Background
In the urban and rural planning standard, the number of adjacent roads of the construction land in the urban and rural planning meaning is determined according to the position relation between the construction land and the surrounding roads. And corresponding correction coefficients of surrounding roads are set according to different numbers of adjacent roads and urban and rural planning standards. For example, urban and rural planning standards for a certain city specify: the number of adjacent roads of the construction site can be divided into one adjacent road, two adjacent roads, three adjacent roads and peripheral adjacent roads. Wherein, the correction coefficient of the peripheral road corresponding to one adjacent road is 0, the correction coefficients of the peripheral roads corresponding to two adjacent roads are 0.1, the correction coefficients of the peripheral roads corresponding to three adjacent roads are 0.2, and the correction coefficients of the peripheral roads corresponding to the peripheral adjacent roads are 0.3.
Therefore, as long as the number of adjacent roads of the construction land in the urban and rural planning sense can be determined, the correction coefficient of the adjacent road of the construction land can be determined. However, in practice, the construction land is usually irregular, and it is difficult for the prior art to accurately and quickly determine the number of adjacent roads in the construction land in the urban and rural planning sense, so that the speed of acquiring the correction coefficient of the adjacent roads is slow and the accuracy is low.
Disclosure of Invention
An object of the present application is to provide a method, an apparatus, and an electronic device for obtaining a correction coefficient of a surrounding road, which can determine the correction coefficient of the surrounding road of a building site quickly and accurately.
According to an aspect of the embodiments of the present application, a method for obtaining a correction coefficient of a surrounding road is disclosed, the method including:
generating probes with preset lengths which vertically pass through the middle points of the straight lines aiming at all the straight lines forming the edge of the construction site;
confirming a straight line side of the corresponding probe, which is in contact with a road surface adjacent to the construction land, as a target straight line side, and calculating the total length of the target straight line side;
calculating to obtain a critical value of the number of road edges for comparing with the total length to judge that the construction land conforms to the urban and rural planning standard based on the optimal circumscribed ellipse of the construction land;
and determining the number of road edges of the building land based on the total length and the critical value, and matching the number of road edges of the building land with the urban and rural planning standard to obtain a correction coefficient of the road around the building land.
According to an aspect of the embodiments of the present application, an apparatus for obtaining a correction coefficient of a surrounding road is disclosed, the apparatus including:
the probe generation module is configured to generate a probe with a preset length perpendicular to the midpoint of each straight line side of the edge of the building site;
a first calculation module configured to confirm a straight line side, which the corresponding probe contacts with a road surface adjacent to the construction site, as a target straight line side, and calculate a total length of the target straight line side;
the second calculation module is configured to calculate and obtain a critical value of the number of road edges used for comparing with the total length to judge that the construction land conforms to urban and rural planning standards based on the optimal circumscribed ellipse of the construction land;
and the coefficient determining module is configured to determine the number of road edges of the building land based on the total length and the critical value, and match the number of road edges of the building land with the urban and rural planning standard to obtain a correction coefficient of the road around the building land.
In an exemplary embodiment of the present application, the apparatus is configured to:
acquiring the maximum distance between the side of the road and the road surface specified by the urban planning standard;
determining the preset length based on a preset redundant length and the maximum distance.
In an exemplary embodiment of the present application, the apparatus is configured to:
taking the sum of the preset redundant length and the doubled maximum distance as the preset length;
generating a probe of a preset length perpendicular to the midpoint of the straight edge, comprising:
and generating the probe with the preset length, wherein the middle point of the probe is positioned on the straight line edge and vertically passes through the middle point of the straight line edge.
In an exemplary embodiment of the present application, the apparatus is configured to:
constructing an envelope rectangle of the urban and rural planning drawing;
and constructing the road surface based on the enveloping rectangle and the road external land contained in the urban and rural planning drawing.
In an exemplary embodiment of the present application, the apparatus is configured to:
performing generalized processing on the edge of the building site to obtain a generalized rectangle of the building site;
and taking the optimal circumscribed ellipse of the generalized rectangle as the optimal circumscribed ellipse of the building land.
In an exemplary embodiment of the present application, the apparatus is configured to:
calculating to obtain the ratio of the major axis to the minor axis of the optimal circumscribed ellipse;
and calculating the critical value based on the ratio of the long axis to the short axis and the perimeter of the construction site.
In an exemplary embodiment of the present application, the apparatus is configured to:
calculating to obtain the proportion of the total length to the perimeter of the construction land;
comparing the total length with the critical value to obtain the number of candidate adjacent road edges described by the critical value interval hit by the total length;
and matching the proportion with the urban and rural planning standard based on the candidate road-facing side number, and adjusting the candidate road-facing side number based on a matching result to obtain the road-facing side number of the building land.
According to an aspect of an embodiment of the present application, an electronic device is disclosed, including: one or more processors; storage means for storing one or more programs that, when executed by the one or more processors, cause the electronic device to implement any of the above embodiments.
According to an aspect of embodiments herein, a computer program medium is disclosed, having computer readable instructions stored thereon, which, when executed by a processor of a computer, cause the computer to perform any of the above embodiments.
According to an aspect of embodiments herein, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations described above.
In the embodiment of the application, the probes of all the straight edges forming the edge of the building land are constructed, so that whether all the straight edges are in contact with the road surface adjacent to the building land can be rapidly detected, the number of the adjacent sides of the building land can be rapidly and accurately determined on the basis, and the correction coefficient of the peripheral road of the building land can be rapidly and accurately determined.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 is a flowchart showing a method of acquiring a correction coefficient for a surrounding road according to an embodiment of the present application.
FIG. 2 shows a schematic diagram of a constructed probe according to one embodiment of the present application.
Fig. 3 is a schematic diagram illustrating a flow of acquiring a correction coefficient of a surrounding road according to an embodiment of the present application.
Fig. 4 is a block diagram showing a peripheral road correction coefficient acquisition device according to an embodiment of the present application.
FIG. 5 illustrates a hardware diagram of an electronic device according to one embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more example embodiments. In the following description, numerous specific details are provided to give a thorough understanding of example embodiments of the present application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, steps, and so forth. In other instances, well-known structures, methods, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The application provides a method for acquiring a correction coefficient of a peripheral road, which is mainly used for automatically acquiring the number of adjacent roads of a building land in the urban and rural planning meaning, and further determining the correction coefficient of the peripheral road of the building land according to different correction coefficients of the peripheral road set by the urban and rural planning standard for different numbers of adjacent roads.
It should be noted that, for the purpose of brief description, in the description of the subsequent embodiments, "the peripheral road correction coefficient" is simply referred to as "correction coefficient", and both are equivalent to each other.
Fig. 1 illustrates a method for acquiring a correction coefficient of a peripheral road according to an embodiment of the present application, where the method includes:
step S110, generating probes with preset lengths which vertically pass through the middle points of the straight lines aiming at all the straight lines forming the edge of the construction site;
step S120, confirming a straight line edge of the corresponding probe contacted with the road surface adjacent to the construction land as a target straight line edge, and calculating the total length of the target straight line edge;
step S130, calculating to obtain a critical value of the number of road edges for comparing with the total length to judge that the construction land conforms to the urban and rural planning standard based on the optimal circumscribed ellipse of the construction land;
and S140, determining the number of road edges of the construction land based on the total length and the critical value, and matching the number of road edges of the construction land with urban and rural planning standards to obtain a correction coefficient of the road around the construction land.
In the embodiment of the application, the construction land and the road surface adjacent to the construction land are mainly extracted from urban and rural planning drawings. It will be appreciated that the curve may be approximately divided into a single straight line segment. Therefore, the extracted construction site is divided into straight line segments by dividing the edge of the construction site, which is generally irregular, into straight line segments, and the straight line segments constituting the edge of the construction site are obtained. And then, for each straight line side, vertically passing through the midpoint of the straight line side to generate a straight line section with a preset length, and obtaining a probe with the preset length vertically passing through the midpoint of the straight line side.
When the probe of one straight line side is in contact with the road surface, the straight line side is confirmed as a target straight line side. And then calculating to obtain the total length of all target straight line edges in the construction site.
And generating an optimal external ellipse of the building land, and calculating to obtain a critical value for comparing with the total length to judge the number of adjacent sides of the building land in the urban and rural planning meaning based on the optimal external ellipse.
And comparing the obtained total length with the obtained critical value, determining the number of adjacent sides of the building land in the urban and rural planning meaning based on the comparison result, and further obtaining the correction coefficient of the building land.
Therefore, in the embodiment of the application, the probes of all the straight edges forming the edge of the building land are constructed, so that whether all the straight edges are in contact with the road surface adjacent to the building land or not can be detected quickly, the number of the adjacent roads of the building land can be determined quickly and accurately on the basis, and the correction coefficient of the peripheral roads of the building land can be determined quickly and accurately.
In one embodiment, the maximum distance between the roadside and the road surface specified by the urban and rural planning standards is obtained. And then determining the preset length based on the preset redundant length and the maximum distance.
Specifically, the urban and rural planning standard specifies a maximum distance between the roadside and the road surface, and if the maximum distance is exceeded, the roadside cannot be considered as the urban area. For example: if the distance between one side of the building land and the road surface is less than or equal to 10 meters, the side is adjacent to the road; if the distance between one side of the building land and the road surface is more than 10 meters, the side is not adjacent to the road.
In order to detect whether the straight line edge is adjacent to the road surface, the length of the probe is determined based on the preset redundant length and the maximum distance, and then whether the straight line edge is adjacent to the road surface is detected through the probe which vertically passes through the middle point of the straight line edge. The preset redundant length is a length set according to experience so as to reduce detection errors.
It should be noted that the straight edge is adjacent to the road surface, and is not equal to the straight edge that can be used as the side adjacent to the building land in the urban and rural planning sense. For example: the edge of the building land is composed of 10 straight edges, wherein 5 straight edges are adjacent to the road surface, but the building land can be the building land with two adjacent roads in the urban and rural planning sense.
In one embodiment, the sum of the preset redundant length and the maximum distance is used as the preset length of the probe, and then the probe with the preset length is generated, wherein the probe faces to the outer side of the building site, the end point is located on the straight line side, and the end point is perpendicular to the middle point of the straight line side.
Specifically, let a maximum distance between a roadside and a road surface specified by the urban and rural planning standard be a, let a preset redundant length be B, and let the length of the probe be N, then N ═ a + B. For each straight line side forming the edge of the building site, a probe with one end point positioned on the straight line side and facing to the outer side of the building site is generated by vertically passing through the midpoint of the straight line side. If the probe is in contact with the road surface, the straight line side is the target straight line side.
In one embodiment, the sum of the preset redundancy length and the doubled maximum distance is taken as the preset length. And generating a probe with a preset length, wherein the middle point of the probe is positioned on the straight line edge and vertically passes through the middle point of the straight line edge.
Specifically, let a maximum distance between the roadside and the road surface specified by the urban and rural planning standard be a, let a preset redundant length be B, and let the length of the probe be N, then N ═ 2 × a + B. For each straight line side constituting the edge of the construction site, a probe whose midpoint overlaps with and is perpendicular to the straight line side is generated. If the probe is in contact with the road surface, the straight line side is the target straight line side.
This embodiment has an advantage in that a probe having a complete function can be generated without distinguishing the inside and outside of the construction site by setting the length of the probe to the sum of the preset redundant length and the doubled maximum distance and setting the midpoint of the probe to overlap with the middle point of the straight line edge when the probe is generated.
FIG. 2 shows a schematic diagram of a constructed probe of an embodiment of the present application.
In this embodiment, the edge of the construction site consists of 7 straight edges. The maximum distance between the side of the roadside and the road surface specified by urban and rural planning standards is 10 meters. The empirically set redundant length is 1 meter, and at the midpoint of each straight line side, a 21 meter long probe is generated perpendicular to the straight line side with the probe midpoint overlapping the straight line side midpoint. It can be seen that each probe projects 10.5 metres outside the ground for the building. If only the probe of the straight side d1d2 and the probe of the straight side d5d6 of the construction site are in contact with the road surface, the target straight sides of the construction site have d1d2 and d5d 6.
In one embodiment, an envelope rectangle of a town and country planning drawing is constructed. And constructing a road surface based on the road external land contained in the enveloping rectangle and the urban and rural planning drawing.
Specifically, surface elements in the urban and rural planning drawing are extracted, the land type of each surface element is identified, and the surface elements are divided into land for roads and land for outside roads. The land for road external use includes a construction land and other lands such as a greening land, an agriculture land and a forestry land. And constructing the area except the road outside ground in the envelope rectangle as a road surface.
The embodiment has the advantages that the road surface is constructed in a mode of combining the enveloping rectangle with the road external land, so that the interference caused by constructing the road surface when elements for directly determining the road implementation range in the urban and rural planning drawing are not standard is avoided.
In the embodiment of the application, aiming at the building land of which the correction coefficient is to be determined, an optimal circumscribed ellipse of the building land needs to be constructed. It should be noted that, since the shape of the construction site is generally an irregular polygon, the optimal circumscribed ellipse of the construction site is generally an approximate ellipse, and is not equal to a standard ellipse obtained by constructing a circumscribed ellipse for a regular triangle or a quadrangle in a general sense.
In one embodiment, the edges of the construction site are generalized to obtain a generalized rectangle of the construction site. And taking the optimal circumscribed ellipse of the generalized rectangle as the optimal circumscribed ellipse of the building land.
Specifically, the edges of the construction site are subjected to a generalized processing to obtain a generalized rectangle, that is, the construction site is subjected to a similar processing to a rectangle. And then selecting four points on the edge of the building site according to the obtained generalized rectangle, and further establishing an approximate ellipse equation according to the four points. And (3) according to the fact that the approximate ellipse equation obtained by the four points has an infinite number of solutions, in order to obtain the optimal circumscribed ellipse, the approximate ellipse equation is constrained under the condition of minimum area, and therefore the optimal circumscribed ellipse which contains the four points and has the minimum area is constructed.
In one embodiment, the midpoint of two adjacent sides of the generalized rectangle is taken as a straight line perpendicular to the corresponding side, and the taken straight lines form a cross. And establishing an approximate ellipse equation according to four crossed points of the straight line and the edge of the building land, and further establishing and obtaining the optimal external ellipse of the building land by taking the minimum area as a constraint condition.
In one embodiment, diagonals of the generalized rectangle are made, an approximate ellipse equation is established according to four points of intersection of the diagonals and the edge of the building land, and then the optimal circumscribed ellipse of the building land is constructed and obtained by taking the minimum area as a constraint condition.
In one embodiment, the ratio of the major axis to the minor axis of the optimal circumscribed ellipse is calculated. And calculating to obtain a critical value based on the ratio of the long axis to the short axis and the perimeter of the construction land.
Specifically, the ratio of the major axis to the minor axis of the optimal circumscribed ellipse may be referred to as a plot elongation coefficient, which is used to describe the elongation of the construction site. Based on the ratio of the major axis to the minor axis of the optimal circumscribed ellipse and the perimeter of the ground for construction, a critical value for determining the number of adjacent roads can be calculated.
In one embodiment, the construction site can be divided into an borderless adjacent road, an adjacent road on one side, an adjacent road on two sides, an adjacent road on three sides, and an adjacent road on the periphery according to the urban and rural planning standard. And according to the regulation of the urban and rural planning standard, the trilateral adjacent road and the peripheral adjacent road share the same critical value. Therefore, three thresholds, namely, a lower limit P1 of one-side adjacent link, a lower limit P2 of two-side adjacent links (also, an upper limit of one-side adjacent link), and a lower limit P3 of three-side and peripheral adjacent links (also, an upper limit of two-side adjacent links) need to be calculated.
And recording the ratio of the major axis to the minor axis of the optimal circumscribed ellipse as alpha and recording the perimeter of the construction land as L. The three critical values P1, P2 and P3 are calculated by the following formulas. Wherein, the parameter in the formula is 0.9 redundancy coefficient.
ME=(L/2)/(1+α)
P1=0.5*ME
P2=0.9*2*ME
P3=0.9*(2*α+1)*ME/α
The total length of the target straight line side of the construction site is recorded as H. If H is less than P1, the number of the adjacent sides of the building land is 0, and the building land is a building land without an adjacent side; if H is more than or equal to P1 and less than P2, the number of the adjacent roads of the building land is 1, and the building land is a building land with one adjacent road; if H is more than or equal to P2 and less than P3, the number of the adjacent roads of the building land is 2, and the building land is a building land with two adjacent roads; if H is equal to or greater than P3, the number of adjacent roads of the construction site is equal to or greater than 3, and the construction site is a three-sided adjacent road or a peripheral adjacent road.
In one embodiment, the ratio of the total length to the perimeter of the construction site is calculated. And comparing the total length with the threshold value to obtain the candidate adjacent road edge number described by the threshold value interval hit by the total length. And matching the proportion with the urban and rural planning standard based on the candidate number of the adjacent roads, and adjusting the candidate number of the adjacent roads based on the matching result to obtain the number of the adjacent roads of the building land.
Specifically, in the urban and rural planning standards in some areas, when determining the number of adjacent sides of the building site, not only the critical interval hit by the total length of the target straight line side needs to be considered, but also the ratio of the total length of the target straight line side to the perimeter of the building site needs to be considered. Under the condition, the number of candidate road-facing edges is determined according to a critical value interval hit by the total length of the target straight line edge, and then the number of candidate road-facing edges is adjusted according to the constraint of proportion, so that the number of building ground road-facing edges is obtained.
In an embodiment, according to the urban and rural planning standard, the building site can be divided into an unbounded road, a side road, two sides road, three sides road and a peripheral road, and the perimeter of the three sides road needs to be greater than 50% (i.e., the total length of the target straight line side of the three sides road needs to account for more than 50% of the perimeter of the building site), and the perimeter of the peripheral road needs to be greater than 75% (i.e., the total length of the target straight line side of the peripheral road needs to account for more than 75% of the perimeter of the building site).
The lower limit value of one side adjacent road is P1, the lower limit values of two side adjacent roads are P2, the lower limit values of three sides and peripheral adjacent roads are P3, the total length of the target straight line side is H, and the perimeter of the construction site is L.
And if H is more than or equal to P3 and the ratio of H divided by L is more than 0.75, the building site is the building site of the peripheral adjacent road.
And if H is more than or equal to P3 and the ratio of H divided by L is more than 0.5 and less than or equal to 0.75, the construction land is a construction land with three adjacent roads.
And if H is more than or equal to P3 and the ratio of H divided by L is less than or equal to 0.5, the construction land is a construction land with two adjacent roads.
Fig. 3 is a schematic diagram illustrating a flow of acquiring a correction coefficient of a surrounding road according to an embodiment of the present application.
In this embodiment, the red road line is extracted from the initial elements of the urban and rural planning drawing. And if the red road line is extracted, constructing a road surface according to the area enclosed by the red road line. And if the red line of the road is not extracted, constructing an envelope rectangle containing each initial element in the urban and rural planning drawing, and further constructing a road surface according to the envelope rectangle and the road external land in the surface element.
And constructing a probe aiming at the construction land in the surface element, further carrying out topology analysis on the constructed probe and the constructed road surface, and taking the straight line edge corresponding to the contact of the probe and the road surface as the target straight line edge. And then calculating the total length of the target straight line side, and calculating the proportion of the total length of the target straight line side to the perimeter of the building site.
And constructing an optimal external ellipse aiming at the construction land in the surface elements, calculating the ratio of the major axis to the minor axis, and further calculating to obtain a critical value.
And determining the number of adjacent sides of the building land by combining the proportion of the total length of the target straight line side to the perimeter of the building land and a critical value, and further determining the correction coefficient of the adjacent road of the building land according to the number of the adjacent sides of the building land.
Fig. 4 shows an apparatus for obtaining a correction coefficient for a surrounding road according to an embodiment of the present application, the apparatus including:
a probe generating module 210 configured to generate a probe of a preset length perpendicular to a midpoint of each of the straight sides constituting the edge of the construction site;
a first calculation module 220 configured to confirm a straight side, which the corresponding probe contacts with a road surface adjacent to the construction site, as a target straight side, and calculate a total length of the target straight side;
a second calculating module 230 configured to calculate a critical value of the number of road edges for comparing with the total length to determine that the construction land conforms to the urban and rural planning standard based on the optimal circumscribed ellipse of the construction land;
a coefficient determining module 240 configured to determine the number of road edges of the building land based on the total length and the critical value, and match the number of road edges of the building land with the urban and rural planning standard to obtain a correction coefficient of the road around the building land.
In an exemplary embodiment of the present application, the apparatus is configured to:
acquiring the maximum distance between the side of the road and the road surface specified by the urban planning standard;
determining the preset length based on a preset redundant length and the maximum distance.
In an exemplary embodiment of the present application, the apparatus is configured to:
taking the sum of the preset redundant length and the doubled maximum distance as the preset length;
generating a probe of a preset length perpendicular to the midpoint of the straight edge, comprising:
and generating the probe with the preset length, wherein the middle point of the probe is positioned on the straight line edge and vertically passes through the middle point of the straight line edge.
In an exemplary embodiment of the present application, the apparatus is configured to:
constructing an envelope rectangle of the urban and rural planning drawing;
and constructing the road surface based on the enveloping rectangle and the road external land contained in the urban and rural planning drawing.
In an exemplary embodiment of the present application, the apparatus is configured to:
performing generalized processing on the edge of the building site to obtain a generalized rectangle of the building site;
and taking the optimal circumscribed ellipse of the generalized rectangle as the optimal circumscribed ellipse of the building land.
In an exemplary embodiment of the present application, the apparatus is configured to:
calculating to obtain the ratio of the major axis to the minor axis of the optimal circumscribed ellipse;
and calculating the critical value based on the ratio of the long axis to the short axis and the perimeter of the construction site.
In an exemplary embodiment of the present application, the apparatus is configured to:
calculating to obtain the proportion of the total length to the perimeter of the construction land;
comparing the total length with the critical value to obtain the number of candidate adjacent road edges described by the critical value interval hit by the total length;
and matching the proportion with the urban and rural planning standard based on the candidate road-facing side number, and adjusting the candidate road-facing side number based on a matching result to obtain the road-facing side number of the building land.
An electronic device 30 according to an embodiment of the present application is described below with reference to fig. 5. The electronic device 30 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the electronic device 30 is in the form of a general purpose computing device. The components of the electronic device 30 may include, but are not limited to: the at least one processing unit 310, the at least one memory unit 320, and a bus 330 that couples various system components including the memory unit 320 and the processing unit 310.
Wherein the storage unit stores program code executable by the processing unit 310 to cause the processing unit 310 to perform steps according to various exemplary embodiments of the present invention described in the description part of the above exemplary methods of the present specification. For example, the processing unit 310 may perform the various steps as shown in fig. 3.
The storage unit 320 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)3201 and/or a cache memory unit 3202, and may further include a read only memory unit (ROM) 3203.
The storage unit 320 may also include a program/utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 330 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 30 may also communicate with one or more external devices 400 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 30, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 30 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 350. An input/output (I/O) interface 350 is connected to the display unit 340. Also, the electronic device 30 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. As shown, the network adapter 360 communicates with the other modules of the electronic device 30 via the bus 330. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 30, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiments of the present application.
In an exemplary embodiment of the present application, there is also provided a computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor of a computer, cause the computer to perform the method described in the above method embodiment section.
According to an embodiment of the present application, there is also provided a program product for implementing the method in the above method embodiment, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as JAVA, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods herein are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.

Claims (10)

1. A method for obtaining a correction coefficient for a surrounding road, the method comprising:
generating probes with preset lengths which vertically pass through the middle points of the straight lines aiming at all the straight lines forming the edge of the construction site;
confirming a straight line side of the corresponding probe, which is in contact with a road surface adjacent to the construction land, as a target straight line side, and calculating the total length of the target straight line side;
calculating to obtain a critical value of the number of road edges for comparing with the total length to judge that the construction land conforms to the urban and rural planning standard based on the optimal circumscribed ellipse of the construction land;
and determining the number of road edges of the building land based on the total length and the critical value, and matching the number of road edges of the building land with the urban and rural planning standard to obtain a correction coefficient of the road around the building land.
2. The method of claim 1, further comprising:
acquiring the maximum distance between the roadside and the road surface specified by the urban and rural planning standard;
determining the preset length based on a preset redundant length and the maximum distance.
3. The method of claim 2, wherein determining the length of the probe based on a preset redundant length and the maximum distance comprises:
taking the sum of the preset redundant length and the doubled maximum distance as the preset length;
generating a probe of a preset length perpendicular to the midpoint of the straight edge, comprising:
and generating the probe with the preset length, wherein the middle point of the probe is positioned on the straight line edge and vertically passes through the middle point of the straight line edge.
4. The method of claim 1, further comprising:
constructing an envelope rectangle of the urban and rural planning drawing;
and constructing the road surface based on the enveloping rectangle and the road external land contained in the urban and rural planning drawing.
5. The method of claim 1, further comprising:
performing generalized processing on the edge of the building site to obtain a generalized rectangle of the building site;
and taking the optimal circumscribed ellipse of the generalized rectangle as the optimal circumscribed ellipse of the building land.
6. The method of claim 1, wherein calculating a threshold value of the number of adjacent roads for comparison with the total length to determine whether the construction land conforms to the urban and rural planning standard based on the optimal circumscribed ellipse of the construction land comprises:
calculating to obtain the ratio of the major axis to the minor axis of the optimal circumscribed ellipse;
and calculating the critical value based on the ratio of the long axis to the short axis and the perimeter of the construction site.
7. The method of claim 1, wherein determining the number of adjacent sides of the construction site based on the total length and the threshold value comprises:
calculating to obtain the proportion of the total length to the perimeter of the construction land;
comparing the total length with the critical value to obtain the number of candidate adjacent road edges described by the critical value interval hit by the total length;
and matching the proportion with the urban and rural planning standard based on the candidate road-facing side number, and adjusting the candidate road-facing side number based on a matching result to obtain the road-facing side number of the building land.
8. An apparatus for obtaining a correction coefficient for a surrounding road, the apparatus comprising:
the probe generation module is configured to generate a probe with a preset length perpendicular to the midpoint of each straight line side of the edge of the building site;
a first calculation module configured to confirm a straight line side, which the corresponding probe contacts with a road surface adjacent to the construction site, as a target straight line side, and calculate a total length of the target straight line side;
the second calculation module is configured to calculate and obtain a critical value of the number of road edges used for comparing with the total length to judge that the construction land conforms to urban and rural planning standards based on the optimal circumscribed ellipse of the construction land;
and the coefficient determining module is configured to determine the number of road edges of the building land based on the total length and the critical value, and match the number of road edges of the building land with the urban and rural planning standard to obtain a correction coefficient of the road around the building land.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the electronic device to carry out the method of any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon computer-readable instructions which, when executed by a processor of a computer, cause the computer to perform the method of any one of claims 1 to 7.
CN202111102076.1A 2021-09-18 2021-09-18 Method and device for acquiring correction coefficient of peripheral road and electronic equipment Pending CN113869570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111102076.1A CN113869570A (en) 2021-09-18 2021-09-18 Method and device for acquiring correction coefficient of peripheral road and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111102076.1A CN113869570A (en) 2021-09-18 2021-09-18 Method and device for acquiring correction coefficient of peripheral road and electronic equipment

Publications (1)

Publication Number Publication Date
CN113869570A true CN113869570A (en) 2021-12-31

Family

ID=78992862

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111102076.1A Pending CN113869570A (en) 2021-09-18 2021-09-18 Method and device for acquiring correction coefficient of peripheral road and electronic equipment

Country Status (1)

Country Link
CN (1) CN113869570A (en)

Similar Documents

Publication Publication Date Title
CN107506300A (en) A kind of ui testing method, apparatus, server and storage medium
Hutchinson ANUDEM version 5.3, user guide
US7548201B2 (en) Method and system for automatically analyzing and modifying cable television signal leak information
CN113377890B (en) Map quality inspection method and device, electronic equipment and storage medium
CN113777236A (en) Air quality monitoring method and device based on emission source
CN108256020B (en) Abnormal route detection method, abnormal route detection device, server and storage medium
CN113114680A (en) Detection method and detection device for file uploading vulnerability
Shastry et al. Using Steady‐State Backwater Analysis to Predict Inundated Area from National Water Model Streamflow Simulations
US9590860B2 (en) Fiber optic network design method
CN113869570A (en) Method and device for acquiring correction coefficient of peripheral road and electronic equipment
CN110659280B (en) Road blocking abnormity detection method and device, computer equipment and storage medium
CN105806304A (en) Measuring method and apparatus for direction angle of antenna
Bernard et al. URock 2023a: an open-source GIS-based wind model for complex urban settings
CN113225674B (en) Fingerprint positioning method, system, server and storage medium
CN114328662A (en) Abnormal data positioning method and device, electronic equipment and storage medium
CN114444193A (en) Distance auditing method and related device
US20120297372A1 (en) Static Analysis Of Validator Routines
CN115249281A (en) Image occlusion and model training method, device, equipment and storage medium
US10938631B2 (en) Quantitative analysis of physical risk due to geospatial proximity of network infrastructure
CN113271164A (en) Method for performing radio wave communication on smooth and flat ground through computer simulation
KR100299060B1 (en) Method for generating altitude information and method for analysing propagation using contour line information radio network design system
CN112163056A (en) Ground object insertion method based on path diagram
CN110349288A (en) Pipeline inspection blind area calculation method and device
JP2021047687A (en) Basin collapse prediction system, basin collapse prediction method, and program
CN110274610B (en) Method and device for detecting leading line, electronic equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 workshop b402-b, No. 2, Longgang Tian'an Digital Innovation Park, No. 449, Huangge North Road, huanggekeng community, Longcheng street, Longgang District, Shenzhen, Guangdong Province

Applicant after: Shenzhen Zhiyue Future Technology Co.,Ltd.

Address before: 518000 workshop b402-b, No. 2, Longgang Tian'an Digital Innovation Park, No. 449, Huangge North Road, huanggekeng community, Longcheng street, Longgang District, Shenzhen, Guangdong Province

Applicant before: Shenzhen Kusi Technology Co.,Ltd.