Method and device for obtaining peripheral road correction coefficient, and electronic equipment

By generating probes and calculating the optimal circumscribed ellipse, the number of roadside edges of the building land can be determined quickly and accurately, solving the problem of slow speed and low accuracy in obtaining the correction coefficient of surrounding roads in the existing technology, and achieving efficient acquisition of the number of roadside edges and correction coefficients.

CN113869570BActive Publication Date: 2025-10-21SHENZHEN ZHIYUE FUTURE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111102076.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-18
Publication Date
2025-10-21
Estimated Expiration
2041-09-18

AI Technical Summary

Technical Problem

Existing technologies make it difficult to quickly and accurately determine the number of roadside edges of a building site, resulting in slow and low accuracy in obtaining the surrounding road correction coefficient.

Method used

By generating a preset length probe perpendicular to the midpoint of the straight edge, the straight edge in contact with the road surface is confirmed. The critical value is calculated in combination with the optimal circumscribed ellipse of the building land, the number of roadside edges is determined and matched with urban and rural planning standards to obtain the surrounding road correction coefficient.

Benefits of technology

It can quickly and accurately determine the number of roadside edges of building land and the correction coefficient of surrounding roads, improving the acquisition speed and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113869570B_ABST
    Figure CN113869570B_ABST
Patent Text Reader

Abstract

The application provides a method and device for obtaining a peripheral road correction coefficient and an electronic device. The method comprises: generating a probe of a preset length perpendicular to the midpoint of each straight edge of the edge of the building site; identifying a target straight edge corresponding to the probe in contact with the road surface adjacent to the building site, and calculating the total length of the target straight edge; calculating a critical value of the number of road edges for comparison with the total length to determine whether the building site meets the urban and rural planning standards based on the optimal circumscribed ellipse of the building site; determining the number of road edges of the building site based on the total length and the critical value, and matching the number of road edges of the building site with the urban and rural planning standards to obtain the peripheral road correction coefficient of the building site. The application can quickly and accurately determine the peripheral road correction coefficient of the building site.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of urban and rural planning, and specifically to a method, device and electronic equipment for obtaining a surrounding road correction coefficient. Background Art

[0002] In urban and rural planning standards, the number of roadside edges of building land within the meaning of urban and rural planning is determined based on the positional relationship between the building land and its surrounding roads. Furthermore, for different roadside edges, the urban and rural planning standards set corresponding surrounding road correction coefficients. For example, a certain city's urban and rural planning standards stipulate that the number of roadside edges of building land can be divided into one side of the road, two sides of the road, three sides of the road, and surrounding roads. The surrounding road correction coefficient corresponding to one side of the road is 0, the surrounding road correction coefficient corresponding to two sides of the road is 0.1, the surrounding road correction coefficient corresponding to three sides of the road is 0.2, and the surrounding road correction coefficient corresponding to surrounding roads is 0.3.

[0003] As can be seen from this, as long as the number of roadside edges of a building site in the context of urban and rural planning can be determined, the surrounding road correction coefficient for the building site can be determined. However, since building sites are often irregular in shape in practice, existing technologies have difficulty accurately and quickly determining the number of roadside edges of building sites in the context of urban and rural planning. This results in a slow and inaccurate calculation of the surrounding road correction coefficient. Summary of the Invention

[0004] One purpose of the present application is to provide a method, device and electronic equipment for obtaining a surrounding road correction coefficient, which can quickly and accurately determine the surrounding road correction coefficient of a building site.

[0005] According to one aspect of an embodiment of the present application, a method for obtaining a surrounding road correction coefficient is disclosed, the method comprising:

[0006] For each straight edge constituting the edge of the building site, a probe of a preset length perpendicular to the midpoint of the straight edge is generated;

[0007] identifying a straight line edge where the corresponding probe contacts 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;

[0008] Based on the optimal circumscribed ellipse of the building land, a critical value of the number of roadside edges for comparison with the total length to determine whether the building land meets urban and rural planning standards is calculated;

[0009] Based on the total length and the critical value, the number of roadside edges of the building land is determined, and the number of roadside edges of the building land is matched with the urban and rural planning standards to obtain a surrounding road correction coefficient of the building land.

[0010] According to one aspect of an embodiment of the present application, a device for obtaining a surrounding road correction coefficient is disclosed, the device comprising:

[0011] A probe generation module is configured to generate, for each straight line edge constituting the edge of the building land, a probe of a preset length perpendicular to the midpoint of the straight line edge;

[0012] a first calculation module configured to identify a straight line edge where the corresponding probe contacts a road surface adjacent to the construction land as a target straight line edge, and calculate a total length of the target straight line edge;

[0013] A second calculation module is configured to calculate, based on the optimal circumscribed ellipse of the building land, a critical value for comparing with the total length to determine whether the building land meets the urban and rural planning standards;

[0014] The coefficient determination module is configured to determine the number of road sides of the building land based on the total length and the critical value, and match the number of road sides of the building land with the urban and rural planning standards to obtain the surrounding road correction coefficient of the building land.

[0015] In an exemplary embodiment of the present application, the device is configured as follows:

[0016] Obtaining the maximum distance between the roadside and the road surface as specified in the urban planning standard;

[0017] The preset length is determined based on a preset redundant length and the maximum distance.

[0018] In an exemplary embodiment of the present application, the device is configured as follows:

[0019] The sum of the preset redundant length and twice the maximum distance is used as the preset length;

[0020] Generates a probe of preset length perpendicular to the midpoint of a straight edge, including:

[0021] A probe of the preset length is generated, the midpoint of which is located on the straight line edge and passes perpendicularly through the midpoint of the straight line edge.

[0022] In an exemplary embodiment of the present application, the device is configured as follows:

[0023] Construct the enveloping rectangle of urban and rural planning drawings;

[0024] The road surface is constructed based on the envelope rectangle and the off-road land included in the urban and rural planning drawings.

[0025] In an exemplary embodiment of the present application, the device is configured as follows:

[0026] Generalizing the edge of the building land to obtain a generalized rectangle of the building land;

[0027] The optimal circumscribed ellipse of the generalized rectangle is used as the optimal circumscribed ellipse of the building land.

[0028] In an exemplary embodiment of the present application, the device is configured as follows:

[0029] Calculating the ratio of the major and minor axes of the optimal circumscribed ellipse;

[0030] The critical value is calculated based on the major-minor axis ratio and the perimeter of the building site.

[0031] In an exemplary embodiment of the present application, the device is configured as follows:

[0032] Calculating the ratio of the total length to the perimeter of the building land;

[0033] Comparing the total length with the critical value to obtain the number of candidate roadside edges described by the critical value interval hit by the total length;

[0034] Based on the candidate roadside numbers, the ratio is matched with the urban and rural planning standards, and the candidate roadside numbers are adjusted based on the matching result to obtain the roadside number of the building land.

[0035] According to one aspect of an embodiment of the present application, an electronic device is disclosed, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements any one of the above embodiments.

[0036] According to one aspect of an embodiment of the present application, a computer program medium is disclosed, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute any one of the above embodiments.

[0037] According to one aspect of an embodiment of the present application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described above.

[0038] In an embodiment of the present application, by constructing probes for each straight edge that constitutes the edge of the building land, it is possible to quickly detect whether each straight edge is in contact with the road surface adjacent to the building land, and then on this basis, the number of roadside edges of the building land can be quickly and accurately determined, and then the surrounding road correction coefficient of the building land can be quickly and accurately determined.

[0039] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by practice of the present application.

[0040] It should be understood that the foregoing general description and the following detailed description are merely illustrative and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and other objects, features and advantages of the present application will become more apparent by describing in detail example embodiments thereof with reference to the attached drawings.

[0042] Figure 1 A flowchart of a method for obtaining a surrounding road correction coefficient according to an embodiment of the present application is shown.

[0043] Figure 2 A schematic diagram of a probe constructed according to one embodiment of the present application is shown.

[0044] Figure 3 A schematic diagram of the process of obtaining the surrounding road correction coefficient according to an embodiment of the present application is shown.

[0045] Figure 4 A block diagram of a device for obtaining a surrounding road correction coefficient according to an embodiment of the present application is shown.

[0046] Figure 5 A hardware diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0047] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of this application will be more comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The accompanying drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. Identical reference numerals in the figures indicate identical or similar parts, and thus repeated descriptions thereof will be omitted.

[0048] In addition, the described features, structures or characteristics can be combined in one or more example embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the example embodiments of the present application. However, those skilled in the art will appreciate that the technical solutions of the present application can be practiced while omitting one or more of the specific details, or other methods, components, steps, etc. can be adopted. In other cases, known structures, methods, implementations or operations are not shown or described in detail to avoid obscuring the main content and making various aspects of the present application vague.

[0049] Some of the blocks shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0050] The present application provides a method for obtaining a surrounding road correction coefficient, which is mainly used to automatically obtain the number of road sides of a building land in the sense of urban and rural planning, and then determine the surrounding road correction coefficient of the building land based on different surrounding road correction coefficients set for different numbers of road sides according to urban and rural planning standards.

[0051] It should be noted that, for the purpose of brief description, in the description of the subsequent embodiments, the “surrounding road correction coefficient” is referred to as the “correction coefficient” for short, and the two are equivalent to each other.

[0052] Figure 1 A method for obtaining a surrounding road correction coefficient according to an embodiment of the present application is shown, and the method includes:

[0053] Step S110: for each straight edge constituting the edge of the building site, generate a probe of a preset length perpendicular to the midpoint of the straight edge;

[0054] Step S120: identifying the straight edge where the corresponding probe contacts the road surface adjacent to the building site as the target straight edge, and calculating the total length of the target straight edge;

[0055] Step S130: Based on the optimal circumscribed ellipse of the building land, a critical value of the number of roadside edges is calculated and compared with the total length to determine whether the building land meets the urban and rural planning standards;

[0056] Step S140: Based on the total length and the critical value, determine the number of roadside edges of the building land, and match the number of roadside edges of the building land with urban and rural planning standards to obtain a surrounding road correction coefficient of the building land.

[0057] In the embodiments of the present application, building land and the road surface adjacent to the building land are primarily extracted from urban and rural planning drawings. It is understood that a curve can be approximately divided into straight line segments. Therefore, for the extracted building land, its generally irregularly shaped edges are divided into straight line segments to obtain the individual straight edges that constitute the edges of the building land. Furthermore, for each straight edge, a straight line segment of a preset length is generated perpendicularly through its midpoint, thereby obtaining a probe of the preset length perpendicularly through its midpoint.

[0058] If the probe of a straight line edge contacts the road surface, the straight line edge is identified as the target straight line edge. Then, the total length of all target straight lines in the building land is calculated.

[0059] An optimal circumscribed ellipse of the building site is generated, and based on the optimal circumscribed ellipse, a critical value for comparing with the total length is calculated to determine the number of roadside edges of the building site in the sense of urban and rural planning.

[0060] The obtained total length is then compared with the obtained critical value, and the number of road sides of the building land in the sense of urban and rural planning is determined based on the comparison result, thereby obtaining a correction coefficient for the building land.

[0061] It can be seen that in the embodiment of the present application, by constructing probes for each straight edge that constitutes the edge of the building land, it is possible to quickly detect whether each straight edge is in contact with the road surface adjacent to the building land, and then on this basis, the number of roadside edges of the building land can be quickly and accurately determined, and then the surrounding road correction coefficient of the building land can be quickly and accurately determined.

[0062] In one embodiment, the maximum distance between the roadside and the road surface specified in the urban and rural planning standards is obtained, and then the preset length is determined based on the preset redundant length and the maximum distance.

[0063] Specifically, urban and rural planning standards stipulate a maximum distance between a roadside edge and the road surface. If this maximum distance is exceeded, the land is not considered roadside. For example, if the distance between one side of the building land and the road surface is less than or equal to 10 meters, then that side is roadside; if the distance between one side of the building land and the road surface is greater than 10 meters, then that side is not roadside.

[0064] To detect whether a straight edge is adjacent to the road surface, the probe length is determined based on a preset redundancy length and the maximum distance. The probe then passes perpendicularly through the midpoint of the straight edge to detect whether the straight edge is adjacent to the road surface. The preset redundancy length is set based on experience to reduce detection errors.

[0065] It should be noted that the fact that a straight edge is adjacent to a road surface does not necessarily mean that the straight edge can be used as the roadside edge of building land in the context of urban and rural planning. For example, if there are 10 straight edges forming the edge of a building site, and 5 of them are adjacent to a road surface, then the building land may be considered to be roadside in the context of urban and rural planning.

[0066] In one embodiment, the sum of the preset redundant length and the maximum distance is used as the preset length of the probe, thereby generating a probe of the preset length facing outside the building site, with its endpoint located on the straight edge and perpendicular to the midpoint of the straight edge.

[0067] Specifically, let A be the maximum distance between the curb and the road surface as specified in urban and rural planning standards, B be the preset redundant length, and N be the probe length, where N = A + B. For each linear edge that forms the edge of the building site, a probe is generated perpendicularly through the midpoint of the linear edge, with one endpoint located on the linear edge and facing the outside of the building site. If the probe contacts the road surface, that linear edge is considered the target linear edge.

[0068] In one embodiment, the sum of the preset redundant length and twice the maximum distance is used as the preset length, and a probe of the preset length is generated, the midpoint of which is located on the straight line edge and perpendicular to the midpoint of the straight line edge.

[0069] Specifically, let A be the maximum distance between the curb and the road surface as specified in urban and rural planning standards, B be the preset redundant length, and N be the probe length, where N = 2 * A + B. For each linear edge that forms the edge of the building site, generate a probe whose midpoint overlaps the midpoint of the linear edge and is perpendicular to the linear edge. If the probe touches the road surface, that linear edge is designated as the target linear edge.

[0070] The advantage of this embodiment is that by setting the length of the probe to the sum of the preset redundant length and twice the maximum distance, and setting the midpoint of the probe to overlap with the midpoint of the straight edge when generating the probe, a fully functional probe can be generated without distinguishing between the inside and outside of the building site.

[0071] Figure 2 A schematic diagram of a probe constructed according to an embodiment of the present application is shown.

[0072] In this embodiment, the edge of the building site consists of 7 straight edges. The maximum distance between the roadside and the road surface specified by the urban and rural planning standards is 10 meters. The redundant length set according to experience is 1 meter, so at the midpoint of each straight edge, a 21-meter-long probe is generated, which is perpendicular to the straight edge and the midpoint of the probe overlaps with the midpoint of the straight edge. It can be seen that each probe protrudes 10.5 meters outside the building site. If, in the building site, only the probes of the straight edges d1d2 and the probes of the straight edges d5d6 are in contact with the road surface, then the target straight edges of the building site are d1d2 and d5d6.

[0073] In one embodiment, an envelope rectangle of the urban and rural planning drawing is constructed, and a road surface is constructed based on the envelope rectangle and the off-road land included in the urban and rural planning drawing.

[0074] Specifically, the area elements in the urban and rural planning drawings are extracted and their land use types are identified. These areas are then divided into road land and off-road land. Off-road land includes construction land and other land uses such as green space, agriculture, and forestry. The area within the enveloping rectangle, excluding off-road land, is then constructed as the road surface.

[0075] The advantage of this embodiment is that the road surface is constructed by combining the enveloping rectangle with the land outside the road, thereby avoiding the interference caused by the non-standard elements used to directly determine the road implementation scope in the urban and rural planning drawings in constructing the road surface.

[0076] In the embodiments of the present application, an optimal circumscribed ellipse is constructed for the building site whose correction coefficient is to be determined. It should be noted that since building sites are typically irregular polygons, the optimal circumscribed ellipse for the building site is typically an approximate ellipse and is not equivalent to the standard ellipse typically obtained by constructing a circumscribed ellipse for a regular triangle or quadrilateral.

[0077] In one embodiment, the edge of the building site is generalized to obtain a generalized rectangle of the building site, and the optimal circumscribed ellipse of the generalized rectangle is used as the optimal circumscribed ellipse of the building site.

[0078] Specifically, the building site's edge is generalized to obtain a generalized rectangle—that is, the building site is approximated as a rectangle. Four points are then selected from the generalized rectangle at the edge of the building site, and an approximate ellipse equation is constructed based on these four points. The approximate ellipse equation based on these four points has countless solutions. To obtain the optimal circumscribed ellipse, the approximate ellipse equation is constrained to minimize area, thereby constructing the optimal circumscribed ellipse that contains these four points and has the smallest area.

[0079] In one embodiment, a line perpendicular to each of two adjacent sides of the generalized rectangle is drawn through the midpoints of the corresponding sides, forming a cross. An approximate ellipse equation is established based on the four points where the line intersects the edge of the building site. The optimal circumscribed ellipse of the building site is then constructed, subject to the constraint of minimum area.

[0080] In one embodiment, a diagonal line of the generalized rectangle is drawn, and an approximate ellipse equation is established based on the four points where the diagonal line intersects with the edge of the building site. Then, with the minimum area as a constraint, an optimal circumscribed ellipse of the building site is constructed.

[0081] In one embodiment, the ratio of the major axis to the minor axis of the optimal circumscribed ellipse is calculated, and a critical value is calculated based on the ratio of the major axis to the minor axis and the perimeter of the building site.

[0082] Specifically, the ratio of the major and minor axes of the optimal circumscribed ellipse can be called the plot narrowness coefficient, which is used to describe the narrowness of the building site. Based on this ratio and the perimeter of the building site, a critical value for determining the number of roadside edges can be calculated.

[0083] In one embodiment, according to urban and rural planning standards, building land can be divided into no road frontage, one road frontage, two road frontages, three road frontages, and peripheral road frontage. Furthermore, according to the urban and rural planning standards, the three road frontages and peripheral road frontages share the same critical value. Therefore, three critical values ​​need to be calculated: the lower limit value P1 for one road frontage, the lower limit value P2 for two road frontages (which is also the upper limit value for one road frontage), and the lower limit value P3 for three and peripheral road frontages (which is also the upper limit value for two road frontages).

[0084] Let the ratio of the major and minor axes of the optimal circumscribed ellipse be α, and the perimeter of the building site be L. The three critical values ​​P1, P2, and P3 are calculated using the following formulas. The parameter in the formula is a redundancy factor of 0.9.

[0085] ME=(L / 2) / (1+α)

[0086] P1=0.5*ME

[0087] P2=0.9*2*ME

[0088] P3=0.9*(2*α+1)*ME / α

[0089] The total length of the target straight edges of the building site is H. If H is less than P1, the roadside number of the building site is 0, indicating a building site with no road frontage. If H is greater than or equal to P1 and less than P2, the roadside number of the building site is 1, indicating a building site with only one road frontage. If H is greater than or equal to P2 and less than P3, the roadside number of the building site is 2, indicating a building site with two roads frontages. If H is greater than or equal to P3, the roadside number of the building site is greater than or equal to 3, indicating a building site with three roads frontages or with surrounding roads.

[0090] In one embodiment, the ratio of the total length to the perimeter of the building site is calculated. The total length is compared with a critical value to obtain the number of candidate roadsides described by the critical value interval hit by the total length. Based on the candidate roadside numbers, the ratio is matched with urban and rural planning standards, and the candidate roadside numbers are adjusted based on the matching results to obtain the roadside number of the building site.

[0091] Specifically, in some regions, urban and rural planning standards require that when determining the number of roadside edges for a building site, not only the critical value interval hit by the total length of the target linear edge is considered, but also the ratio of the total length of the target linear edge to the perimeter of the building site. In this case, the candidate roadside numbers are first determined based on the critical value interval hit by the total length of the target linear edge, and then the candidate roadside numbers are adjusted based on the ratio constraint to determine the number of roadside edges for the building site.

[0092] In one embodiment, according to urban and rural planning standards, building land can be divided into no road frontage, one road frontage, two roads frontage, three roads frontage, and peripheral road frontage, and the road perimeter of the three roads frontage must be greater than 50% (that is, the total length of the target straight sides of the three roads frontage must account for more than 50% of the perimeter of the building land), and the road perimeter of the peripheral road frontage must be greater than 75% (that is, the total length of the target straight sides of the peripheral road frontage must account for more than 75% of the perimeter of the building land).

[0093] The lower limit of one side of the road is P1, the lower limit of two sides of the road is P2, the lower limit of three sides and the surrounding roads is P3, the total length of the target straight line side is H, and the perimeter of the building land is L.

[0094] If H is greater than or equal to P3, and the ratio of H divided by L is greater than 0.75, then the building land is a building land adjacent to the surrounding roads.

[0095] If H is greater than or equal to P3, and the ratio of H divided by L is greater than 0.5 and less than or equal to 0.75, then the building land is a building land with roads on three sides.

[0096] If H is greater than or equal to P3, and the ratio of H divided by L is less than or equal to 0.5, then the building land is a building land with roads on both sides.

[0097] Figure 3 A schematic diagram of the process of obtaining the surrounding road correction coefficient according to an embodiment of the present application is shown.

[0098] In this embodiment, road redlines are extracted from the initial elements of the urban and rural planning drawings. If the road redlines are extracted, the road surface is constructed based on the area enclosed by the road redlines. If the road redlines are not extracted, an envelope rectangle is constructed to encompass each initial element in the urban and rural planning drawings. The road surface is then constructed based on this envelope rectangle and the off-road land in the area element.

[0099] Probes are constructed for the building land within the polygon feature. A topological analysis is then performed on the constructed probes and the constructed road surface. The straight edges where the probes touch the road surface are designated as target straight edges. The total length of the target straight edges is then calculated, along with the ratio of the total length of the target straight edges to the building land perimeter.

[0100] Construct the optimal circumscribed ellipse for the building land in the area element, calculate the ratio of the major and minor axes, and then calculate the critical value.

[0101] Then, the ratio of the total length of the target straight line side to the perimeter of the building land and the critical value are combined to determine the number of road sides of the building land, and then the surrounding road correction coefficient of the building land is determined based on the number of road sides of the building land.

[0102] Figure 4 A device for obtaining a surrounding road correction coefficient according to an embodiment of the present application is shown, the device comprising:

[0103] The probe generation module 210 is configured to generate a probe of a preset length perpendicular to the midpoint of each straight line edge constituting the edge of the building site;

[0104] The first calculation module 220 is configured to identify a straight line edge where the corresponding probe contacts the road surface adjacent to the construction land as a target straight line edge, and calculate the total length of the target straight line edge;

[0105] The second calculation module 230 is configured to calculate, based on the optimal circumscribed ellipse of the building land, a critical value for comparing with the total length to determine whether the building land meets the urban and rural planning standards;

[0106] The coefficient determination module 240 is configured to determine the number of roadside edges of the building land based on the total length and the critical value, and match the number of roadside edges of the building land with the urban and rural planning standards to obtain the surrounding road correction coefficient of the building land.

[0107] In an exemplary embodiment of the present application, the device is configured as follows:

[0108] Obtaining the maximum distance between the roadside and the road surface as specified in the urban planning standard;

[0109] The preset length is determined based on a preset redundant length and the maximum distance.

[0110] In an exemplary embodiment of the present application, the device is configured as follows:

[0111] The sum of the preset redundant length and twice the maximum distance is used as the preset length;

[0112] Generates a probe of preset length perpendicular to the midpoint of a straight edge, including:

[0113] A probe of the preset length is generated, the midpoint of which is located on the straight line edge and passes perpendicularly through the midpoint of the straight line edge.

[0114] In an exemplary embodiment of the present application, the device is configured as follows:

[0115] Construct the enveloping rectangle of urban and rural planning drawings;

[0116] The road surface is constructed based on the envelope rectangle and the off-road land included in the urban and rural planning drawings.

[0117] In an exemplary embodiment of the present application, the device is configured as follows:

[0118] Generalizing the edge of the building land to obtain a generalized rectangle of the building land;

[0119] The optimal circumscribed ellipse of the generalized rectangle is used as the optimal circumscribed ellipse of the building land.

[0120] In an exemplary embodiment of the present application, the device is configured as follows:

[0121] Calculating the ratio of the major and minor axes of the optimal circumscribed ellipse;

[0122] The critical value is calculated based on the major-minor axis ratio and the perimeter of the building site.

[0123] In an exemplary embodiment of the present application, the device is configured as follows:

[0124] Calculating the ratio of the total length to the perimeter of the building land;

[0125] Comparing the total length with the critical value to obtain the number of candidate roadside edges described by the critical value interval hit by the total length;

[0126] Based on the candidate roadside numbers, the ratio is matched with the urban and rural planning standards, and the candidate roadside numbers are adjusted based on the matching result to obtain the roadside number of the building land.

[0127] Reference below Figure 5 The electronic device 30 according to the embodiment of the present application is described. Figure 5 The electronic device 30 shown is only an example and should not limit the functions and scope of use of the embodiments of the present application.

[0128] like Figure 5 As shown, the electronic device 30 is implemented as a general-purpose computing device. Components of the electronic device 30 may include, but are not limited to, the aforementioned at least one processing unit 310, the aforementioned at least one storage unit 320, and a bus 330 connecting various system components (including the storage unit 320 and the processing unit 310).

[0129] The storage unit stores program codes that can be executed by the processing unit 310, so that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the description of the exemplary method above. For example, the processing unit 310 may perform the following steps: Figure 3 The steps shown in .

[0130] The storage unit 320 may include a readable medium in the form of a volatile storage unit, 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 .

[0131] 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 may include an implementation of a network environment.

[0132] Bus 330 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0133] The electronic device 30 can also communicate with one or more external devices 400 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 30, and / or any device that enables the electronic device 30 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). This communication can occur via an input / output (I / O) interface 350. The I / O interface 350 is connected to a display unit 340. Furthermore, the electronic device 30 can 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 a network adapter 360. As shown, the network adapter 360 communicates with other modules of the electronic device 30 via the bus 330. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the 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.

[0134] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software 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 flash drive, a mobile 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 terminal device, or a network device, etc.) to execute the method according to the embodiments of the present application.

[0135] In an exemplary embodiment of the present application, a computer-readable storage medium is further provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the method described in the above method embodiment.

[0136] According to one embodiment of the present application, a program product for implementing the method in the above method embodiment is also provided. The program product may be a portable compact disc read-only memory (CD-ROM) and includes program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0137] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0138] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0139] The program code embodied on the 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.

[0140] The program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as JAVA, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a 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 via any type 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., via the Internet using an Internet service provider).

[0141] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the application, the features and functions of two or more modules or units described above can be concretized in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0142] Furthermore, although the steps of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0143] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software 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 flash drive, a mobile 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.

[0144] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered merely as exemplary, and the true scope and spirit of the present application are indicated by the appended claims.

Claims

1. A method for obtaining a surrounding road correction coefficient, characterized in that: The method comprises: Constructing an envelope rectangle of an urban and rural planning drawing, and constructing a road surface based on the envelope rectangle and the off-road land included in the urban and rural planning drawing; wherein, extracting surface elements in the urban and rural planning drawing, identifying the land use type of each surface element, dividing the surface elements into road land and off-road land, and constructing the area within the envelope rectangle excluding the off-road land as the road surface; generating a probe of a preset length perpendicular to the midpoint of each straight line edge constituting the edge of the building land; wherein, for the extracted building land, dividing the irregular edge of the building land into straight line segments, obtaining each straight line edge constituting the edge of the building land; If the probe of the straight line edge contacts the road surface, the straight line edge is identified as the target straight line edge, and the total length of the target straight line edge is calculated; Generalizing the edge of the building site to obtain a generalized rectangle of the building site, using the optimal circumscribed ellipse of the generalized rectangle as the optimal circumscribed ellipse of the building site, calculating the major-minor axis ratio of the optimal circumscribed ellipse based on the optimal circumscribed ellipse of the building site, and calculating multiple critical values ​​based on the major-minor axis ratio and the perimeter of the building site; Determining the number of curbs of the building land based on the total length and the critical value; The surrounding road correction coefficient of the building land is determined according to the number of roadsides of the building land, and the surrounding road correction coefficient is derived from the urban and rural planning standards.

2. The method according to claim 1, characterized in that The method further comprises: Obtain the maximum distance between the roadside and the road surface as specified in the urban and rural planning standards; The preset length is determined based on a preset redundant length and the maximum distance.

3. The method according to claim 2, characterized in that Determining the length of the probe based on a preset redundant length and the maximum distance includes: The sum of the preset redundant length and twice the maximum distance is used as the preset length; Generates a probe of preset length perpendicular to the midpoint of a straight edge, including: A probe of the preset length is generated, the midpoint of which is located on the straight line edge and passes perpendicularly through the midpoint of the straight line edge.

4. The method according to claim 1, wherein Determining the number of curbs of the building land based on the total length and the critical value includes: Calculating the ratio of the total length to the perimeter of the building land; Comparing the total length with the critical value to obtain the number of candidate roadside edges described by the critical value interval hit by the total length; Based on the candidate roadside numbers, the ratio is matched with the urban and rural planning standards, and the candidate roadside numbers are adjusted based on the matching result to obtain the roadside number of the building land.

5. A device for obtaining a surrounding road correction coefficient, used to execute the method according to any one of claims 1 to 4, characterized in that: The device comprises: The probe generation module is configured to construct an envelope rectangle of an urban and rural planning drawing, and construct the road surface based on the envelope rectangle and the off-road land included in the urban and rural planning drawing; wherein, the surface elements in the urban and rural planning drawing are extracted, and the land use type of each surface element is identified, the surface elements are divided into road land and off-road land, and the area within the envelope rectangle except the off-road land is constructed as the road surface; for each straight line edge constituting the edge of the building land, a probe of a preset length perpendicular to the midpoint of the straight line edge is generated; wherein, for the extracted building land, the irregular edge of the building land is divided into straight line segments to obtain each straight line edge constituting the edge of the building land; a first calculation module configured to, if the probe of the straight line edge contacts the road surface, identify the straight line edge as a target straight line edge and calculate the total length of the target straight line edge; a second calculation module configured to generalize the edge of the building site to obtain a generalized rectangle of the building site, use the optimal circumscribed ellipse of the generalized rectangle as the optimal circumscribed ellipse of the building site, calculate the major-minor axis ratio of the optimal circumscribed ellipse based on the optimal circumscribed ellipse of the building site, and calculate a plurality of critical values ​​based on the major-minor axis ratio and the perimeter of the building site; The coefficient determination module is configured to determine the number of road sides of the building land based on the total length and the critical value; determine the surrounding road correction coefficient of the building land according to the number of road sides of the building land, and the surrounding road correction coefficient comes from urban and rural planning standards.

6. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to perform the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Road condition detection and map data updating method, device, system and equipment

    CN112417953A

  • A method on the extraction of road alignment design elements in urban areas using the digital map and lidar data

    KR1020060027928A