CN113706997B - Urban and rural planning drawing standardization processing method and device and electronic equipment - Google Patents

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

Info

Publication number
CN113706997B
CN113706997B CN202111038789.6A CN202111038789A CN113706997B CN 113706997 B CN113706997 B CN 113706997B CN 202111038789 A CN202111038789 A CN 202111038789A CN 113706997 B CN113706997 B CN 113706997B
Authority
CN
China
Prior art keywords
urban
land
rural planning
standard
face element
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111038789.6A
Other languages
Chinese (zh)
Other versions
CN113706997A (en
Inventor
周兵南
邓颖
何思宇
汤泽源
彭少局
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhiyue Future Technology Co ltd
Original Assignee
Shenzhen Zhiyue Future Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhiyue Future Technology Co ltd filed Critical Shenzhen Zhiyue Future Technology Co ltd
Priority to CN202111038789.6A priority Critical patent/CN113706997B/en
Publication of CN113706997A publication Critical patent/CN113706997A/en
Application granted granted Critical
Publication of CN113706997B publication Critical patent/CN113706997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/005Map projections or methods associated specifically therewith
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A30/00Adapting or protecting infrastructure or their operation
    • Y02A30/60Planning or developing urban green infrastructure

Abstract

The application provides a standardized processing method and device for urban and rural planning drawings and electronic equipment, wherein the method comprises the following steps: acquiring an urban and rural planning drawing to be standardized, and extracting text elements and face elements contained in the urban and rural planning drawing; fuzzy matching is carried out on the drawing attribute information of the face element and the standard drawing attribute information for distinguishing land types, which is specified by urban and rural planning standards, so that the standard drawing attribute information of the face element, which accords with the urban and rural planning standards, is obtained; classifying land based on urban and rural planning standards and standard drawing attribute information of the face elements, and determining land categories of the face elements; correcting the land category of the face element based on the text element to obtain the corrected land category of the face element; and processing the urban and rural planning drawings into urban and rural planning drawings of land classification standards according to the land categories after the correction of the face elements. The land classification standardization processing of the urban and rural planning drawings can be automatically and accurately achieved.

Description

Urban and rural planning drawing standardization processing method and device and electronic equipment
Technical Field
The application relates to the field of urban and rural planning, in particular to an urban and rural planning drawing standardized processing method, an urban and rural planning drawing standardized processing device and electronic equipment.
Background
In the urban and rural planning field, standardized warehousing of drawings serving as planning results becomes necessary work in the field. In the prior art, the standardization of drawings still relies on manual handling by technicians. Under the influence of various factors such as uneven management requirements of various technical units, different tool development capacities of planning and design institutions, large drawing habit differences of technicians and the like, the standardization of drawings often takes a great amount of time for the technicians.
Disclosure of Invention
An object of the application is to provide a standardized processing method, a standardized processing device, electronic equipment and a standardized processing storage medium for urban and rural planning drawings, which can automatically and accurately realize land classification standardized processing of the urban and rural planning drawings.
According to an aspect of the embodiment of the application, a standardized processing method for urban and rural planning drawings is disclosed, and the method comprises the following steps:
acquiring an urban and rural planning drawing to be standardized, and extracting text elements and face elements contained in the urban and rural planning drawing;
fuzzy matching is carried out on the drawing attribute information of the face element and standard drawing attribute information which is specified by urban and rural planning standards and is used for distinguishing land types, so that standard drawing attribute information of the face element and conforming to the urban and rural planning standards is obtained;
based on the urban and rural planning standard and the standard drawing attribute information of the face element, carrying out land classification on the face element, and determining the land class of the face element;
correcting the land category of the face element based on the text element to obtain a corrected land category of the face element;
and processing the urban and rural planning drawings into urban and rural planning drawings of land classification standards according to the corrected land categories of the face elements.
According to an aspect of the embodiment of the application, a standardized processing device for urban and rural planning drawings is disclosed, and the device comprises:
the element extraction module is configured to acquire 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 face element and the standard drawing attribute information for distinguishing land types, which is specified by urban and rural planning standards, so as to obtain the standard drawing attribute information of the face element, which accords with the urban and rural planning standards;
the classification module is configured to classify the land based on the urban and rural planning standard and the standard drawing attribute information of the face element, and determine the land class of the face element;
a correction module configured to correct a land category of the face element based on the text element, to obtain a corrected land category of the face element;
and the processing module is configured to process the urban and rural planning drawings into urban and rural planning drawings of land classification standards according to the corrected land categories of the face elements.
In an exemplary embodiment of the present application, the drawing attribute information of the face element includes a layer name of a layer where the face 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, and the apparatus is configured to:
and carrying out fuzzy matching on the layer name and the standard land name specified by the urban and rural planning standard to obtain the standard land name of the face 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 layers where the face elements are located according to the sequence of the number of the included atomic keywords from large to small to obtain the layer names of the layers where the face elements are located, so as to match the layer names with standard land names specified by the urban and rural planning standard.
In an exemplary embodiment of the present application, the drawing attribute information of the face element includes a color filled with the face 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, and the apparatus is configured to:
and carrying out fuzzy matching on the color filled by the face element and the standard filling color to obtain the standard filling color, meeting the urban and rural planning standard, of the face element.
In an exemplary embodiment of the present application, the apparatus is configured to:
extracting annotation 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 labeling information and standard fields for distinguishing land categories specified by the urban and rural planning standard to obtain standardized labeling information, and correcting the land category of the face element based on the land category information contained in the standardized labeling 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 removing invalid information which is contained in the urban and rural planning drawing and is outside the urban and rural planning standard to obtain valid information which is contained in the urban and rural planning drawing and is inside 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 valid 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 embodiments above.
According to an aspect of the embodiments of the present application, a computer program medium having stored thereon computer readable instructions, which when executed by a processor of a computer, cause the computer to perform any of the above embodiments is disclosed.
According to an aspect of embodiments of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read from the computer-readable storage medium by a processor of a computer device, and executed by the processor, cause the computer device to perform the methods provided in the various alternative implementations described above.
In the embodiment of the application, the standardized processing of the drawing attribute information of the face element is realized by carrying out fuzzy matching on the drawing attribute information of the face element contained in the urban and rural planning drawing and the standard drawing attribute information specified by the urban and rural planning standard. And the surface elements are classified on the basis of the obtained standard drawing attribute information of the surface elements, so that the surface elements accord with urban and rural planning standards, and land classification standardization processing of urban and rural planning drawings is primarily realized. And the land category of the face element which accords with the urban and rural planning standard is corrected through the text element, so that the accuracy of the corrected land category of the obtained face element is further ensured. Therefore, land classification standardization processing of urban and rural planning drawings is automatically and accurately realized on the basis of land types after correction of the face elements.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned in part by the 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 flow chart of an urban and rural planning drawing standardization process method according to one embodiment of the application.
Fig. 2 shows a detailed flow diagram of an urban and rural planning drawing standardization process according to one embodiment of the present application.
FIG. 3 shows a block diagram of an urban and rural planning drawing standardization processing device according to one embodiment of the application.
Fig. 4 shows a hardware diagram of an electronic device according to one embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many 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 the 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 a repetitive description thereof 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. However, those skilled in the art will recognize that the aspects of the present application may be practiced with one or more of the specific details omitted, or with other methods, components, steps, etc. 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 software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The standardized processing method is mainly used for processing urban and rural planning drawings in dwg, dxf and other formats into urban and rural planning drawings with land classification standards so as to meet the urban and rural planning standards, and further is convenient for unified warehouse management of the urban and rural planning drawings.
Fig. 1 shows a flowchart of an urban and rural planning drawing standardization processing method 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 standardized processing, and extracting text elements and face elements contained in the urban and rural planning drawing;
step S120, fuzzy matching is carried out on the drawing attribute information of the face element and the standard drawing attribute information for distinguishing land types, which is specified by the urban and rural planning standard, so as to obtain the standard drawing attribute information of the face element, which accords with the urban and rural planning standard;
step S130, classifying land based on urban and rural planning standards and standard drawing attribute information of the face elements, and determining land categories of the face elements;
step S140, correcting the land category of the face element based on the text element to obtain the corrected land category of the face element;
and step S150, processing the urban and rural planning drawings into urban and rural planning drawings of land classification standards according to the land categories after the correction of the surface elements.
In this embodiment of the present application, the obtained urban and rural planning drawing to be standardized is usually a drawing in dwg and dxf formats, and in this case, a FME (Feature Manipulate Engine) spatial data conversion processing system may be used to process the urban and rural planning drawing, so as to extract text elements and surface elements included 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 diagrammer during drawing, and are used for carrying out labeled text description on the elements contained in the urban and rural planning drawing. The face elements contained in the urban and rural planning drawings are mainly all the land areas displayed in the urban and rural planning drawings, and each land area is a face element.
After the face elements contained in the urban and rural planning drawing are extracted, fuzzy matching is carried out on the drawing attribute information of the face elements and standard drawing attribute information specified by urban and rural planning standards, standardized processing of the drawing attribute information of the face elements is achieved, and standard drawing attribute information of the face elements is obtained. The drawing attribute information mainly comprises layer names of layers formed by face elements and colors filled by the face elements.
And processing the standard drawing attribute information of the face elements based on land classification rules specified by urban and rural planning standards, determining land classification of the face elements, and realizing land classification of the face elements. Further, the land category of the face element is corrected based on the text element, and the corrected land category of the face element is obtained.
And then processing the urban and rural planning drawings into urban and rural planning drawings of land classification standards according to the corrected land categories of the face elements, thereby realizing land classification standardization processing of the urban and rural planning drawings. The urban and rural planning drawing of the land classification standard mainly refers to that the classification of the land class accords with the urban and rural planning standard, the naming of the land class (such as the name of the land class, the code of the land class and the like) accords with the urban and rural planning standard, and the visualization of the land class (such as the filling color of the land elements) shows that the land class accords with the urban and rural planning standard.
Therefore, in the embodiment of the application, the mapping attribute information of the face element contained in the urban and rural planning drawing is subjected to fuzzy matching with the standard mapping attribute information specified by the urban and rural planning standard, so that the standardized processing of the mapping attribute information of the face element is realized. And the surface elements are classified on the basis of the obtained standard drawing attribute information of the surface elements, so that the surface elements accord with urban and rural planning standards, and land classification standardization processing of urban and rural planning drawings is primarily realized. And the land category of the face element which accords with the urban and rural planning standard is corrected through the text element, so that the accuracy of the corrected land category of the obtained face element is further ensured. Therefore, land classification standardization processing of urban and rural planning drawings is automatically and accurately realized on the basis of land classification after correction of the face elements.
In one embodiment, the standard land name of the face element is obtained by fuzzy matching the layer name with the standard land name.
In this embodiment, the drawing attribute information of the face element includes a layer name of a layer where the face element is located, the standard drawing attribute information for distinguishing the land type specified by the urban and rural planning standard includes a standard land name specified by the urban and rural planning standard, and the layer name is subjected to fuzzy matching with the standard land name specified by the urban and rural planning standard to obtain the standard land name of the face element conforming to the urban and rural planning standard.
Specifically, when drawing, a drawing staff usually names a layer name of a layer where a face element is located as a place name of the face element. Considering that some diagrammers may have an irregular behavior in naming the layer names (i.e., the land names of face elements), the named layer names may not conform to the standard land names specified by the urban and rural planning standards. Therefore, by performing fuzzy matching between the layer names and the standard land names, the layer names with the same real semantics can be converted into the corresponding standard land names, and the standard land names of the face elements can be obtained. Further, the land classification can be performed on the basis of the standard land names of the face elements according to the land classification rule defined by the urban and rural planning standard, and the land classification of the face elements can be obtained.
The method comprises the steps of processing keywords contained in the layer names and standard land names specified by urban and rural planning standards respectively by adopting a natural language processing method, and performing fuzzy matching on the layer names and the standard land names according to semantic similarity between the keywords and the standard land names.
The embodiment has the advantages that fuzzy matching is performed in a text processing mode so as to classify land, and the land category of the surface elements is standardized, and meanwhile, the information of the layer names set in the drawing process by drawing staff is fully utilized.
In one embodiment, the filtering of the layer names is preferentially performed for face elements that contain a greater number of atomic keywords.
In this embodiment, the layer name of the layer where the face element is located is obtained by screening the layers where the face element is located according to the order of the number of the included atomic keywords from large to small, so as to match the layer name with the standard land name specified by the urban and rural planning standard.
Specifically, an atomic keyword refers to a keyword for describing a minimum unit of place name. The place 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 face element is located, the more preferentially the layer name of the face element is screened out.
The method has the advantages that the method can be used for screening the layer names, so that the screened layers cannot be missed, and the coverage rate of layer screening is guaranteed.
In one embodiment, the standard land name of the face element is obtained by fuzzy matching the fill color with the standard fill color.
In this embodiment, the drawing attribute information of the face element includes a face element filled color, the standard drawing attribute information for distinguishing the land type specified by the urban and rural planning standard includes a standard filled color specified by the urban and rural planning standard, and the face element filled color and the standard filled color are subjected to fuzzy matching to obtain a standard filled color of the face element conforming to the urban and rural planning standard.
Specifically, the diagrammer needs to fill the colors of the corresponding face elements according to the land categories during the diagramming. Considering that partial diagrammers can have non-canonical behaviors in filling colors, the face element filling colors do not accord with standard filling colors specified by urban and rural planning standards. Therefore, by performing blur matching of the face element filled color and the standard filled color, the face element filled color can be converted into the corresponding standard filled color, and the standard filled color of the face element can be obtained. Furthermore, the standard filling colors of the face elements can be classified into land based on land classification rules defined by urban and rural planning standards, and land categories of the face elements can be obtained.
The embodiment has the advantages that fuzzy matching is carried out in an image processing mode so as to classify land, and color information set by a diagrammer in the diagramming process is fully utilized while the land type of the surface element is standardized.
In one embodiment, the distance between the RGB values of the color filled by the face element and the RGB values of the respective standard fill colors is calculated, and the standard fill color with the smallest distance is taken as the standard fill color of the face element.
Specifically, the smaller the distance between the RGB values of the face element filled color and the RGB values of the standard filled color, the more similar the face element filled color is to the standard filled color. And using the most similar standard filling color as the standard filling color of the face element, and realizing fuzzy matching between the filling color of the face element and the standard filling color.
In one embodiment, in the process of performing fuzzy matching according to the layer names and performing land classification, fuzzy matching is performed in parallel according to the filling colors and performing land classification. And the land categories of the surface elements obtained respectively are subjected to cross comparison, so that the accuracy and coverage rate of the land categories of the surface elements are improved.
Further, considering that the diagramming staff is in the process of diagramming, the text information of the diagramming staff is generally closer to the real diagramming intention of the diagramming staff than the color information of the diagramming staff. Therefore, when the land type of the face element is cross-compared, the user type of the face element obtained by performing fuzzy matching according to the layer name is mainly used, and the user type of the face element obtained by performing fuzzy matching according to the filling color is mainly used. When the two conflict with each other on the land category described by the same face element, the user category of the face element obtained by fuzzy matching according to the layer name is used as the reference.
In one embodiment, annotation information associated with a face element in a text element is extracted. The land type of the face element is corrected based on the land type information included in the label information, and a corrected land type of the face element is obtained.
Specifically, the labeling information in the text element included in the urban and rural planning drawing is usually information added by the diagrammer for a specific face element, and the land category information of the specific face element is generally described. Therefore, after the labeling information in the text element is extracted, the face element associated with the labeling information is determined, and the land type of the face element is corrected based on the land type information included in the labeling information, so that the corrected land type of the face element is obtained.
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 face element in an urban and rural planning drawing and a second coordinate of labeling information in a text element in the urban and rural planning drawing are obtained. And calculating the distance between the second coordinates and each first coordinate, and determining the surface element corresponding to the first coordinate with the smallest 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, the labeling information is subjected to fuzzy matching with a standard field for distinguishing the land category specified by the urban and rural planning standard, so as to obtain standardized labeling information, and the land category of the face element is corrected based on the land category information contained in the standardized labeling information.
Specifically, after the labeling information is extracted, the labeling information is normalized before being used to correct the land category of the face element. The standardization of the labeling information is realized by carrying out fuzzy matching on the labeling information and standard fields specified by urban and rural planning standards and converting the labeling information into corresponding standard fields.
In one embodiment, after the urban and rural planning drawing to be standardized is acquired, the elevation value of the element included in the urban and rural planning drawing is corrected to 0.
Specifically, in the drawing process, the attribute information of each element is directly captured into the urban and rural planning drawing by considering that part of drawing staff can directly capture the attribute information of each element, 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 that the elevation value of the element is corrected to 0 to meet the urban and rural planning standard.
In an embodiment, after the urban and rural planning drawing to be standardized is acquired, invalid information, which is contained in the urban and rural planning drawing and is outside the urban and rural planning standard, is removed, and valid information, which is contained in the urban and rural planning drawing and is inside the urban and rural planning standard, is obtained, so that text elements and face elements contained in the urban and rural planning drawing are extracted from the valid information.
Fig. 2 shows a detailed flow diagram of an urban and rural planning drawing standardization process according to an embodiment of the present application.
In the embodiment, after the urban and rural planning drawing to be standardized is obtained, standard inspection is performed on the urban and rural planning drawing. If the standard check is passed, the invalid information screening is continued, and if the standard check is not passed, the normalization processing is stopped.
Among them, the standard inspection mainly includes OGC (Open Geospatial Consortium, open geographic space information alliance) standard inspection, elevation value inspection, and file format inspection. If the elevation value is not 0, the elevation value is corrected to 0.
The invalid information filtering mainly comprises an invalid geometric type filtering, an invalid layer name filtering, an invalid labeling information filtering and an invalid filling color filtering. After the invalid information screening is completed, the rest of the valid information is split into the face element and the labeling information contained in the text element.
The processing of the face element mainly comprises fuzzy matching of the face element according to the layer name and fuzzy matching of the face element according to the filling color. In the fuzzy matching process of the map layer names according to the map layer names, fuzzy matching is carried out on the map layer names of the map layers where the face elements are located and standard land names specified by urban and rural planning standards to obtain the standard land names of the face elements, and then three-level classification is carried out on the standard land names of the face elements according to land division rules specified by the urban and rural planning standards to obtain the land types of the face elements. And in the process of carrying out fuzzy matching on the face element filling color according to the filling color, carrying out fuzzy matching on the face element filling color and the standard filling color specified by the urban and rural planning standard to obtain the standard filling color of the face element, and further carrying out three-level classification on the standard filling color of the face element according to the land division rule specified by the urban and rural planning standard to obtain the land category of the face element. And the land type of the face element obtained by fuzzy matching according to the layer name is cross-compared with the land type of the face element obtained by fuzzy matching according to the filling color, and the land type of the face element is adjusted by combining the land type division results of the land type and the land type.
The method mainly comprises the steps of carrying out standardization processing on the fields contained in the label information aiming at the label information, and correcting the land categories of the face elements according to the standardized label information to obtain corrected land categories of the face elements.
And further, the standardized information mapping processing is performed on the corrected land type of the face element. In the process of mapping standardized information, corresponding standard fields are established according to corrected land categories of the face elements, standard information such as the standard fields and standardized marking information is filled, and mapping is established between the filled standard information and the corresponding face elements. And finally outputting the surface elements according to the mapped standard information to obtain the urban and rural planning drawing of the ground elements for standardization.
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 standardized processing, and extract text elements and face 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 face element and standard drawing attribute information for distinguishing land types specified by urban and rural planning standards, so as to obtain standard drawing attribute information of the face element, which accords with the urban and rural planning standards;
a classification module 230 configured to classify the land based on the urban and rural planning standard and the standard drawing attribute information of the face element, and determine a land class of the face element;
a correction module 240 configured to correct the land category of the face element based on the text element, to obtain a corrected land category of the face element;
and the processing module 250 is configured to process the urban and rural planning drawings into urban and rural planning drawings of land classification standards according to the corrected land categories of the face elements.
In an exemplary embodiment of the present application, the drawing attribute information of the face element includes a layer name of a layer where the face 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, and the apparatus is configured to:
and carrying out fuzzy matching on the layer name and the standard land name specified by the urban and rural planning standard to obtain the standard land name of the face 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 layers where the face elements are located according to the sequence of the number of the included atomic keywords from large to small to obtain the layer names of the layers where the face elements are located, so as to match the layer names with standard land names specified by the urban and rural planning standard.
In an exemplary embodiment of the present application, the drawing attribute information of the face element includes a color filled with the face 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, and the apparatus is configured to:
and carrying out fuzzy matching on the color filled by the face element and the standard filling color to obtain the standard filling color, meeting the urban and rural planning standard, of the face element.
In an exemplary embodiment of the present application, the apparatus is configured to:
extracting annotation 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 labeling information and standard fields for distinguishing land categories specified by the urban and rural planning standard to obtain standardized labeling information, and correcting the land category of the face element based on the land category information contained in the standardized labeling 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 removing invalid information which is contained in the urban and rural planning drawing and is outside the urban and rural planning standard to obtain valid information which is contained in the urban and rural planning drawing and is inside 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 valid information.
An electronic device 30 according to an embodiment of the present application is described below with reference to fig. 4. The electronic device 30 shown in fig. 4 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments herein.
As shown in fig. 4, the electronic device 30 is in the form of a general purpose computing device. Components of 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 connecting the various system components, including the memory unit 320 and the processing unit 310.
Wherein the storage unit stores program code that is executable by the processing unit 310 such that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the description of the exemplary methods described above in this specification. For example, the processing unit 310 may perform the various steps as shown in fig. 1.
Storage unit 320 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 3201 and/or cache memory 3202, and may further include Read Only Memory (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 or some combination of which may include 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.), one or more devices that enable a user to interact with the electronic device 30, and/or any device (e.g., router, modem, etc.) that enables the electronic device 30 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 350. An input/output (I/O) interface 350 is connected to the display unit 340. Also, electronic device 30 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 360. As shown, the network adapter 360 communicates with other modules of the electronic device 30 over the bus 330. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 30, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform 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 method embodiment section above.
According to an embodiment of the present application, there is also provided a program product for implementing the method in the above method embodiments, which may employ a portable compact disc read only memory (CD-ROM) and comprise 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 thereto, and in this 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. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 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 and 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, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, 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., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit, in accordance with embodiments of the present application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the various steps of the methods herein are depicted in the accompanying drawings in a particular order, this is not required to either suggest that the steps must be performed in that particular order, or that all of the illustrated steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform 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 application 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 application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.

Claims (11)

1. A standardized processing method for urban and rural planning drawings is characterized by comprising the following steps:
acquiring an urban and rural planning drawing to be standardized, and extracting text elements and surface elements contained in the urban and rural planning drawing, wherein the surface elements are all land areas displayed in the urban and rural planning drawing, and each land area is one surface element;
fuzzy matching is carried out on the drawing attribute information of the face element and standard drawing attribute information which is specified by urban and rural planning standards and is used for distinguishing land types, so that standard drawing attribute information of the face element and conforming to the urban and rural planning standards is obtained;
based on the urban and rural planning standard and the standard drawing attribute information of the face element, carrying out land classification on the face element, and determining the land class of the face element;
correcting the land category of the face element based on the text element to obtain a corrected land category of the face element;
and processing the urban and rural planning drawings into urban and rural planning drawings of land classification standards according to the corrected land categories of the face elements.
2. The method according to claim 1, wherein the drawing attribute information of the face element includes a layer name of a layer on which the face element is located, the standard drawing attribute information for discriminating a land category specified by the urban and rural planning standard includes a standard land name specified by the urban and rural planning standard,
fuzzy matching is carried out on the drawing attribute information of the face element and the standard drawing attribute information for distinguishing land categories, which is specified by urban and rural planning standards, so as to obtain the standard drawing attribute information of the face 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 the standard land name specified by the urban and rural planning standard to obtain the standard land name of the face element, which accords with the urban and rural planning standard.
3. The method according to claim 2, wherein the method further comprises:
and screening the layers where the face elements are located according to the sequence of the number of the included atomic keywords from large to small to obtain the layer names of the layers where the face elements are located, so as to match the layer names with standard land names specified by the urban and rural planning standard.
4. A method according to claim 1, wherein the drawing attribute information of the face element includes a color filled with the face 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,
fuzzy matching is carried out on the drawing attribute information of the face element and the standard drawing attribute information for distinguishing land categories, which is specified by urban and rural planning standards, so as to obtain the standard drawing attribute information of the face 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 by the face element and the standard filling color to obtain the standard filling color, meeting the urban and rural planning standard, of the face element.
5. The method of claim 1, wherein modifying the land class of the face element based on the text element results in a modified land class of the face element, comprising:
extracting annotation 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 labeling information and standard fields for distinguishing land categories specified by the urban and rural planning standard to obtain standardized labeling information, and correcting the land category of the face element based on the land category information contained in the standardized labeling information.
7. The method of claim 1, wherein after obtaining the urban and rural planning drawings to be normalized, 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 normalized, the method further comprises:
and removing invalid information which is contained in the urban and rural planning drawing and is outside the urban and rural planning standard to obtain valid information which is contained in the urban and rural planning drawing and is inside 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 valid information.
9. An urban and rural planning drawing standardization processing device, which is characterized by comprising:
the element extraction module is configured to acquire 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 face element and the standard drawing attribute information for distinguishing land types, which is specified by urban and rural planning standards, so as to obtain the standard drawing attribute information of the face element, which accords with the urban and rural planning standards;
the classification module is configured to classify the land based on the urban and rural planning standard and the standard drawing attribute information of the face element, and determine the land class of the face element;
a correction module configured to correct a land category of the face element based on the text element, to obtain a corrected land category of the face element;
and the processing module is configured to process the urban and rural planning drawings into urban and rural planning drawings of land classification standards according to the corrected land categories of the face elements.
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 implement the method of any of claims 1-8.
11. A computer readable storage medium having stored thereon computer readable instructions which, when executed by a processor of a computer, cause the computer to perform the method of any of claims 1-8.
CN202111038789.6A 2021-09-06 2021-09-06 Urban and rural planning drawing standardization processing method and device and electronic equipment Active CN113706997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111038789.6A CN113706997B (en) 2021-09-06 2021-09-06 Urban and rural planning drawing standardization processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111038789.6A CN113706997B (en) 2021-09-06 2021-09-06 Urban and rural planning drawing standardization processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113706997A CN113706997A (en) 2021-11-26
CN113706997B true CN113706997B (en) 2023-06-27

Family

ID=78660561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111038789.6A Active CN113706997B (en) 2021-09-06 2021-09-06 Urban and rural planning drawing standardization processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113706997B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05242178A (en) * 1992-02-27 1993-09-21 Meidensha Corp Recognition result display and correction system of automatic drawing input device
JP2005085077A (en) * 2003-09-10 2005-03-31 Fukui Computer Kk Cad data conversion device, cad data conversion method, and cad data conversion program
CN101882320A (en) * 2010-07-14 2010-11-10 南京市规划局 Method for digital restoration of urban spatial pattern
CN102521273A (en) * 2011-11-23 2012-06-27 中国科学院地理科学与资源研究所 High-resolution remote-sensing multifunctional urban land spatial information generation method
JP2020024534A (en) * 2018-08-07 2020-02-13 日本放送協会 Image classifier and program

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004302513A (en) * 2003-03-28 2004-10-28 Japan Research Institute Ltd System and program for management of land data, and recording medium of the same
CN101510273A (en) * 2008-08-28 2009-08-19 南京大学 Method for rapidly counting city planning earth area and computer program
CN105279301B (en) * 2015-05-29 2018-07-13 南京市城市规划编制研究中心 A kind of planning and designing method of customizable output
CN105741273A (en) * 2016-01-25 2016-07-06 天津天大求实电力新技术股份有限公司 Color segmentation based regulatory plan drawing automatic vectorization method and system
CN109684428A (en) * 2018-12-12 2019-04-26 广东启慧城市信息有限公司 Spatial data building method, device, equipment and storage medium
CN109816581A (en) * 2019-01-25 2019-05-28 东南大学 A kind of urban land automatic recognition system of comprehensive industry situation big data and Form of Architecture
US11093690B1 (en) * 2019-07-22 2021-08-17 Palantir Technologies Inc. Synchronization and tagging of image and text data
CN110457420B (en) * 2019-08-13 2024-04-16 腾讯云计算(北京)有限责任公司 Point-of-interest point identification method, device, equipment and storage medium
CN110688688B (en) * 2019-09-28 2023-04-18 滁州学院 Method for converting surveying and mapping completion diagrams into surveying and mapping delimiting diagrams in batch
CN111368757A (en) * 2020-03-09 2020-07-03 广联达科技股份有限公司 Machine learning-oriented column large sample building drawing layer classification method and system
CN112800503B (en) * 2021-01-26 2022-09-06 嘉博联合设计股份有限公司 Method and system for converting CAD drawing derived by Revit into standardized drawing
CN112784345B (en) * 2021-02-07 2022-12-06 殿汇空间(上海)信息科技有限公司 Method, system, terminal and medium for checking consistency of graph model based on knowledge graph
CN112818456B (en) * 2021-02-26 2024-02-09 深圳市万翼数字技术有限公司 Layer configuration method, electronic equipment and related products

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05242178A (en) * 1992-02-27 1993-09-21 Meidensha Corp Recognition result display and correction system of automatic drawing input device
JP2005085077A (en) * 2003-09-10 2005-03-31 Fukui Computer Kk Cad data conversion device, cad data conversion method, and cad data conversion program
CN101882320A (en) * 2010-07-14 2010-11-10 南京市规划局 Method for digital restoration of urban spatial pattern
CN102521273A (en) * 2011-11-23 2012-06-27 中国科学院地理科学与资源研究所 High-resolution remote-sensing multifunctional urban land spatial information generation method
JP2020024534A (en) * 2018-08-07 2020-02-13 日本放送協会 Image classifier and program

Also Published As

Publication number Publication date
CN113706997A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
US10176239B2 (en) Automation-assisted curation of technical support information
US20200175095A1 (en) Object recognition and tagging based on fusion deep learning models
US11182544B2 (en) User interface for contextual document recognition
CN110674360B (en) Tracing method and system for data
US11341319B2 (en) Visual data mapping
CN108846441B (en) Image similarity detection method and device and computer readable storage medium
CN112884764A (en) Method and device for extracting land parcel in image, electronic equipment and storage medium
EP3980916A1 (en) Methods and systems for automatically detecting design elements in a two-dimensional design document
CN111144210B (en) Image structuring processing method and device, storage medium and electronic equipment
CN116383193A (en) Data management method and device, electronic equipment and storage medium
CN113239227A (en) Image data structuring method and device, electronic equipment and computer readable medium
CN115100670A (en) Policy information processing method and system, electronic device, and storage medium
US20210312174A1 (en) Method and apparatus for processing image, device and storage medium
CN102402684A (en) Method and device for determining type of certificate and method and device for translating certificate
CN113706997B (en) Urban and rural planning drawing standardization processing method and device and electronic equipment
CN112364618A (en) Report file generation method and device, electronic equipment and storage medium
CN115204318B (en) Event automatic hierarchical classification method and electronic equipment
CN114842482B (en) Image classification method, device, equipment and storage medium
CN107861931B (en) Template file processing method and device, computer equipment and storage medium
CN115759040A (en) Electronic medical record analysis method, device, equipment and storage medium
CN115171136A (en) Method, equipment and storage medium for classifying and identifying content of banking business material
CN115761778A (en) Document reconstruction method, device, equipment and storage medium
CN114821396A (en) Normative detection method, device and storage medium for LNG unloading operation process
CN110853115B (en) Creation method and device of development flow page
CN111753836A (en) Character recognition method and device, computer readable medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

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

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

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

Applicant before: Shenzhen Kusi Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant