Urban and rural planning drawing standardization processing method and device and electronic equipment

文档序号:1891459 发布日期:2021-11-26 浏览:14次 中文

阅读说明:本技术 城乡规划图纸标准化处理方法、装置及电子设备 (Urban and rural planning drawing standardization processing method and device and electronic equipment ) 是由 周兵南 邓颖 何思宇 汤泽源 彭少局 于 2021-09-06 设计创作,主要内容包括:本申请提供了一种城乡规划图纸标准化处理方法、装置以及电子设备,所述方法包括:获取待标准化处理的城乡规划图纸,并提取出城乡规划图纸所包含的文本要素以及面要素;将面要素的制图属性信息与城乡规划标准所规定的用于区分用地类别的标准制图属性信息进行模糊匹配,得到面要素的符合城乡规划标准的标准制图属性信息;基于城乡规划标准以及面要素的标准制图属性信息,对面要素进行用地分类,确定面要素的用地类别;基于文本要素对面要素的用地类别进行修正,得到面要素的修正后用地类别;按照面要素的修正后用地类别将城乡规划图纸处理为用地分类标准的城乡规划图纸。本申请实施例能够自动且准确实现城乡规划图纸的用地分类标准化处理。(The application provides a method and a device for standardized processing of urban and rural planning drawings and electronic equipment, wherein the method comprises the following steps: acquiring an urban and rural planning drawing to be subjected to standardization processing, and extracting text elements and face elements contained in the urban and rural planning drawing; carrying out fuzzy matching on the drawing attribute information of the surface element and standard drawing attribute information which is specified by an urban and rural planning standard and is used for distinguishing land types to obtain the standard drawing attribute information of the surface element and accords with the urban and rural planning standard; classifying the land of the surface element based on urban and rural planning standards and standard drawing attribute information of the surface element, and determining the land type of the surface element; correcting the land type of the surface element based on the text element to obtain the corrected land type of the surface element; and processing the urban and rural planning drawing into the urban and rural planning drawing with the land classification standard according to the corrected land type of the surface element. According to the embodiment of the application, the land classification standardization processing of the urban and rural planning drawings can be automatically and accurately realized.)

1. A standardization processing method for urban and rural planning drawings is characterized by comprising the following steps:

acquiring an urban and rural planning drawing to be subjected to standardization processing, and extracting text elements and face elements contained in the urban and rural planning drawing;

carrying out fuzzy matching on the drawing attribute information of the surface element and standard drawing attribute information which is specified by an urban and rural planning standard and used for distinguishing land types to obtain standard drawing attribute information of the surface element and accords with the urban and rural planning standard;

classifying the land of the surface element based on the urban and rural planning standard and the standard drawing attribute information of the surface element to determine the land category of the surface element;

correcting the land type of the surface element based on the text element to obtain the corrected land type of the surface element;

and processing the urban and rural planning drawing into an urban and rural planning drawing with a land classification standard according to the corrected land type of the surface element.

2. The method according to claim 1, wherein the drawing attribute information of the surface element includes a layer name of a layer in which the surface element is located, the standard drawing attribute information for distinguishing land categories specified by the urban and rural planning standard includes a standard land name specified by the urban and rural planning standard,

the fuzzy matching is carried out on the drawing attribute information of the surface element and standard drawing attribute information which is specified by urban and rural planning standards and is used for distinguishing land types, so as to obtain the standard drawing attribute information of the surface element, which accords with the urban and rural planning standards, and the fuzzy matching comprises the following steps:

and carrying out fuzzy matching on the layer name and a standard land name specified by the urban and rural planning standard to obtain the standard land name of the surface element, which accords with the urban and rural planning standard.

3. The method of claim 2, further comprising:

and screening the layer where the surface element is located according to the sequence of the number of the included atom keywords from large to small to obtain the layer name of the layer where the surface element is located, so as to match the layer name with the standard land name specified by the urban and rural planning standard.

4. The method according to claim 1, wherein the drawing attribute information of the surface element includes a color filled in by the surface element, the standard drawing attribute information for distinguishing land categories specified by the urban and rural planning standard includes a standard filling color specified by the urban and rural planning standard,

the fuzzy matching is carried out on the drawing attribute information of the surface element and standard drawing attribute information which is specified by urban and rural planning standards and is used for distinguishing land types, so as to obtain the standard drawing attribute information of the surface element, which accords with the urban and rural planning standards, and the fuzzy matching comprises the following steps:

and carrying out fuzzy matching on the color filled in the surface element and the standard filling color to obtain the standard filling color of the surface element, which accords with the urban and rural planning standard.

5. The method as claimed in claim 1, wherein the modifying the land use category of the surface element based on the text element to obtain a modified land use category of the surface element comprises:

extracting the labeling information associated with the face element in the text element;

and correcting the land type of the surface element based on the land type information contained in the labeling information to obtain the corrected land type of the surface element.

6. The method of claim 5, wherein after extracting the annotation information associated with the face element in the text element, the method further comprises:

and carrying out fuzzy matching on the marking information and a standard field which is specified by the urban and rural planning standard and used for distinguishing land types to obtain standardized marking information, and correcting the land types of the surface elements based on the land type information contained in the standardized marking information.

7. The method of claim 1, wherein after obtaining the urban and rural planning drawings to be standardized, the method further comprises:

and correcting the elevation value of the elements contained in the urban and rural planning drawing to be 0.

8. The method of claim 1, wherein after obtaining the urban and rural planning drawings to be standardized, the method further comprises:

and eliminating invalid information which is contained in the urban and rural planning drawing and is outside the urban and rural planning standard to obtain effective information which is contained in the urban and rural planning drawing and is within the urban and rural planning standard, so as to extract text elements and face elements contained in the urban and rural planning drawing from the effective information.

9. The utility model provides a standardized processing apparatus of town and country planning drawing which characterized in that, the device includes:

the system comprises an element extraction module, a data processing module and a data processing module, wherein the element extraction module is configured to obtain an urban and rural planning drawing to be subjected to standardized processing and extract text elements and surface elements contained in the urban and rural planning drawing;

the matching module is configured to carry out fuzzy matching on the drawing attribute information of the surface element and standard drawing attribute information which is specified by an urban and rural planning standard and used for distinguishing land types to obtain the standard drawing attribute information of the surface element and accords with the urban and rural planning standard;

the classification module is configured to classify the land of the surface element based on the urban and rural planning standard and the standard mapping attribute information of the surface element, and determine the land category of the surface element;

the correction module is configured to correct the land use type of the surface element based on the text element to obtain the corrected land use type of the surface element;

and the processing module is configured to process the urban and rural planning drawing into an urban and rural planning drawing with a land classification standard according to the corrected land type of the surface element.

10. 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 8.

11. A computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor of a computer, cause the computer to perform the method of any one of claims 1-8.

Technical Field

The application relates to the field of urban and rural planning, in particular to a method and a device for standardized processing of urban and rural planning drawings and electronic equipment.

Background

In the field of urban and rural planning, standardized warehousing of the drawings as planning results becomes necessary work in the field. In the prior art, the standardization of drawings still depends on the manual processing of technicians. Under the influence of various factors such as uneven management requirements of each technical unit, uneven tool development capability of a planning and designing mechanism, larger drawing habit difference of technicians and the like, the standardization of drawings often takes a large amount of time for the technicians.

Disclosure of Invention

One objective of the present application is to provide a method, an apparatus, an electronic device, and a storage medium for standardized processing of urban and rural planning drawings, which can automatically and accurately implement the land classification standardized processing of the urban and rural planning drawings.

According to an aspect of the embodiments of the present application, a method for standardizing urban and rural planning drawings is disclosed, the method comprising:

acquiring an urban and rural planning drawing to be subjected to standardization processing, and extracting text elements and face elements contained in the urban and rural planning drawing;

carrying out fuzzy matching on the drawing attribute information of the surface element and standard drawing attribute information which is specified by an urban and rural planning standard and used for distinguishing land types to obtain standard drawing attribute information of the surface element and accords with the urban and rural planning standard;

classifying the land of the surface element based on the urban and rural planning standard and the standard drawing attribute information of the surface element to determine the land category of the surface element;

correcting the land type of the surface element based on the text element to obtain the corrected land type of the surface element;

and processing the urban and rural planning drawing into an urban and rural planning drawing with a land classification standard according to the corrected land type of the surface element.

According to an aspect of the embodiment of the application, an urban and rural planning drawing standardization processing device is disclosed, the device comprises:

the system comprises an element extraction module, a data processing module and a data processing module, wherein the element extraction module is configured to obtain an urban and rural planning drawing to be subjected to standardized processing and extract text elements and surface elements contained in the urban and rural planning drawing;

the matching module is configured to carry out fuzzy matching on the drawing attribute information of the surface element and standard drawing attribute information which is specified by an urban and rural planning standard and used for distinguishing land types to obtain the standard drawing attribute information of the surface element and accords with the urban and rural planning standard;

the classification module is configured to classify the land of the surface element based on the urban and rural planning standard and the standard mapping attribute information of the surface element, and determine the land category of the surface element;

the correction module is configured to correct the land use type of the surface element based on the text element to obtain the corrected land use type of the surface element;

and the processing module is configured to process the urban and rural planning drawing into an urban and rural planning drawing with a land classification standard according to the corrected land type of the surface element.

In an exemplary embodiment of the present application, the drawing attribute information of the surface element includes a layer name of a layer where the surface element is located, and the standard drawing attribute information for distinguishing land categories defined by the urban and rural planning standard includes a standard land name defined by the urban and rural planning standard, the apparatus is configured to:

and carrying out fuzzy matching on the layer name and a standard land name specified by the urban and rural planning standard to obtain the standard land name of the surface element, which accords with the urban and rural planning standard.

In an exemplary embodiment of the present application, the apparatus is configured to:

and screening the layer where the surface element is located according to the sequence of the number of the included atom keywords from large to small to obtain the layer name of the layer where the surface element is located, so as to match the layer name with the standard land name specified by the urban and rural planning standard.

In an exemplary embodiment of the present application, the drawing attribute information of the surface element includes a color filled in by the surface element, and the standard drawing attribute information for distinguishing land categories specified by the urban and rural planning standard includes a standard filling color specified by the urban and rural planning standard, the apparatus is configured to:

and carrying out fuzzy matching on the color filled in the surface element and the standard filling color to obtain the standard filling color of the surface element, which accords with the urban and rural planning standard.

In an exemplary embodiment of the present application, the apparatus is configured to:

extracting the labeling information associated with the face element in the text element;

and correcting the land type of the surface element based on the land type information contained in the labeling information to obtain the corrected land type of the surface element.

In an exemplary embodiment of the present application, the apparatus is configured to:

and carrying out fuzzy matching on the marking information and a standard field which is specified by the urban and rural planning standard and used for distinguishing land types to obtain standardized marking information, and correcting the land types of the surface elements based on the land type information contained in the standardized marking information.

In an exemplary embodiment of the present application, the apparatus is configured to:

and correcting the elevation value of the elements contained in the urban and rural planning drawing to be 0.

In an exemplary embodiment of the present application, the apparatus is configured to:

and eliminating invalid information which is contained in the urban and rural planning drawing and is outside the urban and rural planning standard to obtain effective information which is contained in the urban and rural planning drawing and is within the urban and rural planning standard, so as to extract text elements and face elements contained in the urban and rural planning drawing from the effective information.

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 drawing attribute information of the surface element contained in the urban and rural planning drawing is subjected to fuzzy matching with the standard drawing attribute information specified by the urban and rural planning standard, so that the drawing attribute information of the surface element is subjected to standardized processing. And then the land used for the surface element is classified on the basis of the obtained standard drawing attribute information of the surface element, so that the urban and rural planning standard is met, and the land used classification standardization processing of the urban and rural planning drawing is preliminarily realized. And then the land type of the surface element which accords with the urban and rural planning standard is corrected through the text element, so that the accuracy of the corrected land type of the obtained surface element is further ensured. Therefore, the land use classification standardization processing of the urban and rural planning drawing is automatically and accurately realized on the basis of the corrected land use type of the surface element.

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 shows a flowchart of a method for standardizing urban and rural planning drawings according to an embodiment of the present application.

Fig. 2 is a detailed flowchart illustrating a process of standardizing urban and rural planning drawings according to an embodiment of the present application.

Fig. 3 is a block diagram of an urban and rural planning drawing standardization processing device according to an embodiment of the present application.

FIG. 4 illustrates an electronic device hardware diagram 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 standardizing and processing urban and rural planning drawings, which is mainly used for processing the urban and rural planning drawings in formats of dwg, dxf and the like into urban and rural planning drawings with land use classification standards so as to accord with the urban and rural planning standards and further facilitate the unified warehousing management of the urban and rural planning drawings.

Fig. 1 shows a flowchart of a method for standardizing urban and rural planning drawings according to an embodiment of the present application.

The method comprises the following steps:

step S110, acquiring an urban and rural planning drawing to be subjected to standardization processing, and extracting text elements and surface elements contained in the urban and rural planning drawing;

step S120, fuzzy matching is carried out on the drawing attribute information of the surface element and standard drawing attribute information which is specified by the urban and rural planning standard and used for distinguishing land types, so as to obtain standard drawing attribute information of the surface element and accords with the urban and rural planning standard;

s130, classifying the land of the surface element based on urban and rural planning standards and standard drawing attribute information of the surface element, and determining the land type of the surface element;

step S140, correcting the land type of the surface element based on the text element to obtain the corrected land type of the surface element;

and S150, processing the urban and rural planning drawing into the urban and rural planning drawing with the land classification standard according to the corrected land type of the surface element.

In the embodiment of the application, the obtained urban and rural planning drawing to be subjected to standardization processing is generally a drawing in dwg and dxf format, and in this case, an fme (feature manual engine) spatial data conversion processing system may be adopted to process the urban and rural planning drawing, so as to extract text elements and face elements contained in the urban and rural planning drawing.

The text elements contained in the urban and rural planning drawing are mainly text fields added by a drafter during drawing, and are used for carrying out marked text description on the elements contained in the urban and rural planning drawing. The surface elements contained in the urban and rural planning drawing are mainly land used for each land displayed in the urban and rural planning drawing, and each land is a surface element.

After the surface elements contained in the urban and rural planning drawing are extracted, fuzzy matching is carried out on the drawing attribute information of the surface elements and standard drawing attribute information specified by the urban and rural planning standard, standardization processing of the drawing attribute information of the surface elements is achieved, and the standard drawing attribute information of the surface elements is obtained. The drawing attribute information mainly comprises layer names of layers made by the surface elements and colors filled by the surface elements.

And processing the standard drawing attribute information of the surface elements based on land classification rules specified by urban and rural planning standards, determining land types of the surface elements and realizing land classification of the surface elements. The land type of the surface element is corrected based on the text element to obtain a corrected land type of the surface element.

And then processing the urban and rural planning drawing into the urban and rural planning drawing with the land classification standard according to the corrected land type of the surface element, thereby realizing the land classification standardization processing of the urban and rural planning drawing. The urban and rural planning drawing of the land classification standard mainly means that the division of the land category meets the urban and rural planning standard, the naming of the land category (such as the name of the land category, the code of the land category and the like) meets the urban and rural planning standard, and the visualization of the land category (such as the filling color of ground elements) shows that the land category meets the urban and rural planning standard.

Therefore, in the embodiment of the application, the drawing attribute information of the surface element contained in the urban and rural planning drawing is subjected to fuzzy matching with the standard drawing attribute information specified by the urban and rural planning standard, so that the standardized processing of the drawing attribute information of the surface element is realized. And then the land used for the surface element is classified on the basis of the obtained standard drawing attribute information of the surface element, so that the urban and rural planning standard is met, and the land used classification standardization processing of the urban and rural planning drawing is preliminarily realized. And then the land type of the surface element which accords with the urban and rural planning standard is corrected through the text element, so that the accuracy of the corrected land type of the obtained surface element is further ensured. Therefore, the land use classification standardization processing of the urban and rural planning drawing is automatically and accurately realized on the basis of the corrected land use classification of the surface element.

In one embodiment, the standard land names of the surface elements are obtained by fuzzy matching of the layer names and the standard land names.

In this embodiment, the drawing attribute information of the surface element includes a layer name of a layer where the surface element is located, the standard drawing attribute information for distinguishing land types specified by the urban and rural planning standard includes a standard land name specified by the urban and rural planning standard, and the standard land name of the surface element that meets the urban and rural planning standard is obtained by performing fuzzy matching between the layer name and the standard land name specified by the urban and rural planning standard.

Specifically, when drawing, a drafter usually names the layer name of the layer where the surface element is located as the land name of the surface element. Considering that some cartographers may have irregular behaviors when naming the layer names (i.e., the land names of the surface elements), the named layer names may not conform to the standard land names specified by the urban and rural planning standards. Therefore, by fuzzy matching the layer name and the standard land name, the layer name with consistent real semantics can be converted into the corresponding standard land name, so as to obtain the standard land name of the surface element. Furthermore, the land types of the surface elements can be obtained by classifying the standard land names of the surface elements based on land division rules specified by urban and rural planning standards.

The method can adopt a natural language processing method to respectively process keywords contained in the image layer name and standard land names specified by the urban and rural planning standard, and further carry out fuzzy matching on the image layer name and the standard land names according to the semantic similarity between the keywords and the standard land names.

The embodiment has the advantages that fuzzy matching is carried out in a text processing mode, land use classification is carried out, land use types of the surface elements are standardized, and meanwhile information of layer names set by a drawing person in the drawing process is fully utilized.

In an embodiment, the filtering of the layer names is preferentially performed on the surface elements with larger number of the included atomic keywords.

In this embodiment, the layer where the surface element is located is screened according to the sequence of the number of the included atomic keywords from large to small, so as to obtain the layer name of the layer where the surface element is located, and match the layer name with the standard land name specified by the urban and rural planning standard.

Specifically, the atomic key refers to a key for describing a minimum unit of a place name. The land name of a face element may be composed of a plurality of atomic keywords. The larger the number of the atomic keywords contained in the layer name of the layer where the surface element is located is, the higher the priority is to screen the layer name of the surface element.

The embodiment has the advantages that the layer names are screened in the mode, so that omission of the screened layers can be avoided, and the coverage rate of layer screening is ensured.

In one embodiment, the standard land names of the face elements are obtained by fuzzy matching of the fill color and the standard fill color.

In this embodiment, the drawing attribute information of the surface element includes a color filled in the surface element, the standard drawing attribute information for distinguishing land types defined by the urban and rural planning standard includes a standard filling color defined by the urban and rural planning standard, and the color filled in the surface element and the standard filling color are subjected to fuzzy matching to obtain the standard filling color of the surface element, which meets the urban and rural planning standard.

Specifically, when drawing, the drafter needs to fill the colors of the corresponding surface elements according to the land types. Considering that some cartographers have irregular behaviors when filling colors, the colors filled by the surface elements do not conform to standard filling colors specified by urban and rural planning standards. Therefore, by fuzzy matching the color filled in the surface element with the standard filling color, the color filled in the surface element can be converted into the corresponding standard filling color, thereby obtaining the standard filling color of the surface element. Furthermore, the standard filling colors of the surface elements can be classified by land based on land division rules specified by urban and rural planning standards to obtain land categories of the surface elements.

The embodiment has the advantages that the image processing mode is used for fuzzy matching and land use classification, the land use category of the surface element is standardized, and the color information set by a drafter in the drawing process is fully utilized.

In one embodiment, the distance between the RGB value of the color filled in the surface element and the RGB value of each standard fill color is calculated, and the standard fill color with the smallest distance is used as the standard fill color of the surface element.

Specifically, the smaller the distance between the RGB value of the color filled in the surface element and the RGB value of the standard filling color is, the more similar the color filled in the surface element is to the standard filling color. And using the most similar standard filling color as the standard filling color of the surface element to realize fuzzy matching between the filling color of the surface element and the standard filling color.

In an embodiment, in the process of performing fuzzy matching and land use classification according to the layer name, fuzzy matching is performed in parallel according to filling colors and land use classification is performed. And the land types of the surface elements obtained respectively are compared in a cross mode, so that the accuracy and the coverage rate of the land types of the surface elements are improved.

Further, it is considered that the drafter sets the text information to be generally closer to the drafter's real drafting intention in the drafting process than the color information set by the drafter. Therefore, when cross-matching the land types of the surface elements, the user type of the surface element obtained by fuzzy matching according to the layer name is given as the main type, and the user type of the surface element obtained by fuzzy matching according to the fill color is given as the subsidiary type. And when the two types of land use described by the same surface element conflict, the user type of the surface element obtained by fuzzy matching according to the layer name is taken as the standard.

In one embodiment, annotation information associated with the face element in the text element is extracted. The land type of the surface element is corrected based on the land type information included in the label information, and the corrected land type of the surface element is obtained.

Specifically, the label information in the text elements included in the urban and rural planning drawing is generally the information added by the drafter for a specific surface element, and generally describes the land use category information of the specific surface element. Therefore, the annotation information in the text element is extracted, the face element associated with the annotation information is specified, and the land type of the face element is corrected based on the land type information included in the annotation information, thereby obtaining the corrected land type of the face element.

In one embodiment, the face element associated with the annotation information is located by a coordinate distance between the annotation information and the face element.

In the embodiment, a first coordinate of each surface element in the urban and rural planning drawing and a second coordinate of the marking information in the text element in the urban and rural planning drawing are obtained. And calculating the distance between the second coordinate and each first coordinate, and determining the surface element corresponding to the first coordinate with the minimum distance as the surface element associated with the labeling information.

In one embodiment, after extracting the labeling information associated with the face element in the text element, fuzzy matching is performed on the labeling information and a standard field for distinguishing land types specified by the urban and rural planning standard to obtain standardized labeling information, and the land type of the face element is corrected based on the land type information contained in the standardized labeling information.

Specifically, after the annotation information is extracted, the annotation information is normalized before the annotation information is used to correct the land use type of the surface element. The standardization of the marking information is realized by carrying out fuzzy matching on the marking information and standard fields specified by urban and rural planning standards and converting the marking information into corresponding standard fields.

In one embodiment, after acquiring the urban and rural planning drawing to be standardized, the elevation value of the element included in the urban and rural planning drawing is corrected to be 0.

Specifically, in the drawing process, part of drawing personnel can directly capture the attribute information of each element into the urban and rural planning drawing, so that the urban and rural planning drawing is a three-dimensional drawing. The urban and rural planning standard generally requires that the urban and rural planning drawing should be a two-dimensional drawing, so the elevation value of the element is corrected to be 0 so as to meet the urban and rural planning standard.

In an embodiment, after the urban and rural planning drawing to be subjected to standardization processing is obtained, invalid information contained in the urban and rural planning drawing and outside the urban and rural planning standard is removed, effective information contained in the urban and rural planning drawing and inside the urban and rural planning standard is obtained, and text elements and face elements contained in the urban and rural planning drawing are extracted from the effective information.

Fig. 2 is a schematic flowchart illustrating detailed process of standardization of urban and rural planning drawings according to an embodiment of the present application.

In this embodiment, after the urban and rural planning drawing to be standardized is acquired, the standard inspection is performed on the urban and rural planning drawing. If the standard check passes, the invalid information screening is continued, and if the standard check does not pass, the standardization processing is stopped.

The standard inspection mainly includes an OGC (Open Geospatial Consortium) standard inspection, an elevation inspection, and a file format inspection. And if the elevation value is not 0, correcting the elevation value to be 0.

The invalid information screening mainly comprises invalid geometric type screening, invalid layer name screening, invalid labeling information screening and invalid filling color screening. And after the invalid information is screened, distributing the residual valid information into the marking information contained in the surface element and the text element.

The processing of the face elements mainly comprises fuzzy matching of the face elements according to the layer names and fuzzy matching of the face elements according to filling colors. And in the process of carrying out fuzzy matching according to the layer names, carrying out fuzzy matching on the layer names of the layers where the surface elements are located and the standard land names specified by the urban and rural planning standards to obtain the standard land names of the surface elements, and further carrying out three-level classification on the standard land names of the surface elements according to land division rules specified by the urban and rural planning standards to obtain the land categories of the surface elements. And in the process of carrying out fuzzy matching on the standard filling colors according to the filling colors, carrying out fuzzy matching on the filling colors of the surface elements and the standard filling colors specified by the urban and rural planning standards to obtain the standard filling colors of the surface elements, and further carrying out three-level classification on the standard filling colors of the surface elements according to land division rules specified by the urban and rural planning standards to obtain the land types of the surface elements. And then the land types of the surface elements obtained by fuzzy matching according to the layer names and the land types of the surface elements obtained by fuzzy matching according to the filling colors are cross-compared, and the land types of the surface elements are adjusted by integrating the land type division results of the two.

And (3) standardizing the fields contained in the marking information, and correcting the land types of the surface elements according to the standardized marking information to obtain corrected land types of the surface elements.

Further, the normalized information mapping process is performed on the corrected land type of the surface element. In the standardized information mapping processing process, corresponding standard fields are established according to the corrected land types of the surface elements, standard information such as the standard fields and standardized marking information is filled, and the filled standard information and the corresponding surface elements are mapped. And finally, outputting the surface elements according to the mapped standard information to obtain an urban and rural planning drawing of the standardized ground elements.

Fig. 3 shows an urban and rural planning drawing standardization processing device according to an embodiment of the present application, the device includes:

the element extraction module 210 is configured to obtain an urban and rural planning drawing to be subjected to standardization processing, and extract text elements and surface elements contained in the urban and rural planning drawing;

the matching module 220 is configured to perform fuzzy matching on the drawing attribute information of the surface element and standard drawing attribute information for distinguishing land types specified by an urban and rural planning standard to obtain the standard drawing attribute information of the surface element, which meets the urban and rural planning standard;

a classification module 230 configured to classify the land of the surface element based on the urban and rural planning standard and the standard mapping attribute information of the surface element, and determine the land category of the surface element;

a modification module 240 configured to modify the land use type of the surface element based on the text element to obtain a modified land use type of the surface element;

and the processing module 250 is configured to process the urban and rural planning drawing into an urban and rural planning drawing with a land classification standard according to the corrected land type of the surface element.

In an exemplary embodiment of the present application, the drawing attribute information of the surface element includes a layer name of a layer where the surface element is located, and the standard drawing attribute information for distinguishing land categories defined by the urban and rural planning standard includes a standard land name defined by the urban and rural planning standard, the apparatus is configured to:

and carrying out fuzzy matching on the layer name and a standard land name specified by the urban and rural planning standard to obtain the standard land name of the surface element, which accords with the urban and rural planning standard.

In an exemplary embodiment of the present application, the apparatus is configured to:

and screening the layer where the surface element is located according to the sequence of the number of the included atom keywords from large to small to obtain the layer name of the layer where the surface element is located, so as to match the layer name with the standard land name specified by the urban and rural planning standard.

In an exemplary embodiment of the present application, the drawing attribute information of the surface element includes a color filled in by the surface element, and the standard drawing attribute information for distinguishing land categories specified by the urban and rural planning standard includes a standard filling color specified by the urban and rural planning standard, the apparatus is configured to:

and carrying out fuzzy matching on the color filled in the surface element and the standard filling color to obtain the standard filling color of the surface element, which accords with the urban and rural planning standard.

In an exemplary embodiment of the present application, the apparatus is configured to:

extracting the labeling information associated with the face element in the text element;

and correcting the land type of the surface element based on the land type information contained in the labeling information to obtain the corrected land type of the surface element.

In an exemplary embodiment of the present application, the apparatus is configured to:

and carrying out fuzzy matching on the marking information and a standard field which is specified by the urban and rural planning standard and used for distinguishing land types to obtain standardized marking information, and correcting the land types of the surface elements based on the land type information contained in the standardized marking information.

In an exemplary embodiment of the present application, the apparatus is configured to:

and correcting the elevation value of the elements contained in the urban and rural planning drawing to be 0.

In an exemplary embodiment of the present application, the apparatus is configured to:

and eliminating invalid information which is contained in the urban and rural planning drawing and is outside the urban and rural planning standard to obtain effective information which is contained in the urban and rural planning drawing and is within the urban and rural planning standard, so as to extract text elements and face elements contained in the urban and rural planning drawing from the effective information.

An electronic device 30 according to an embodiment of the application is described below with reference to fig. 4. The electronic device 30 shown in fig. 4 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. 4, 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. 1.

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.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电子货架标签

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!