CN109299205A - The method and apparatus that will plan that the spatial data that industry uses is put in storage - Google Patents

The method and apparatus that will plan that the spatial data that industry uses is put in storage Download PDF

Info

Publication number
CN109299205A
CN109299205A CN201811239918.6A CN201811239918A CN109299205A CN 109299205 A CN109299205 A CN 109299205A CN 201811239918 A CN201811239918 A CN 201811239918A CN 109299205 A CN109299205 A CN 109299205A
Authority
CN
China
Prior art keywords
term
small short
storage
spatial data
reference line
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.)
Granted
Application number
CN201811239918.6A
Other languages
Chinese (zh)
Other versions
CN109299205B (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.)
Taihua Wisdom Industry Group Co Ltd
Original Assignee
Taihua Wisdom Industry Group 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 Taihua Wisdom Industry Group Co Ltd filed Critical Taihua Wisdom Industry Group Co Ltd
Priority to CN201811239918.6A priority Critical patent/CN109299205B/en
Publication of CN109299205A publication Critical patent/CN109299205A/en
Application granted granted Critical
Publication of CN109299205B publication Critical patent/CN109299205B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus that will plan that the spatial data that industry uses is put in storage, and spatial data to be put in storage is converted to by CAD data file this method comprises: obtaining;All graphical elements of search space data;Several small short-terms are determined in all graphical elements;For each small short-term, topological analysis is carried out to small short-term in range of tolerable variance, finds out reference line corresponding with small short-term, wherein small short-term is consistent with the attribute of reference line;Small short-term is handled;Each small short-term will be completed treated GML data storage to database.Through the invention, the processing that small short-term is carried out for planning industry spatial data to be put in storage, promotes warehouse-in efficiency.

Description

The method and apparatus that will plan that the spatial data that industry uses is put in storage
Technical field
The present invention relates to planning industry technology fields, more particularly, to a kind of spatial data that will plan that industry uses The method and apparatus being put in storage.
Background technique
The spatial data that planning industry uses is usually to be carried out by specified designing unit of local or regional planning agency to city The performance data exported after planning and designing, this kind of performance data are mostly the graph data of CAD, due to CAD data do not have attribute value, It is inconvenient to save, so all can be converted to the spatial data with attribute value by the advanced row data conversion of CAD data and enter inventory Storage, while conducive to later access or rule can be repaired by the attribute value of data together in database purchase.
But having a kind of distinctive data type in CAD data is " small short-term data ", the generation of this reference book be due to The feelings lack of standardization for causing some line numbers to be engaged according to appearance suspension, without closure or only with the line closed on during CAD mapping Condition, but after the small short-term data of broken line are converted to the spatial data with attribute value, can not be put in storage, so needing to carry out small The processing of short-term.But interpretation inspection is manually carried out if passed through, efficiency is greatly influenced, meanwhile, artificial interpretation is also to exist Error, so automatic inspection processing can be carried out to the spatial data of this respect by being badly in need of a method.
Therefore it provides a kind of method and apparatus that will plan that the spatial data that industry uses is put in storage, before storage It automaticly inspects the small short-term data wait be put in storage in spatial data and is handled, promote the efficiency of storage, be that solution is badly in need of in this field Certainly the technical issues of.
Summary of the invention
In view of this, the present invention provides a kind of methods and dress that will plan that the spatial data that industry uses is put in storage It sets and computer equipment and computer readable storage medium, to solve the spatial data that planning industry uses in the prior art In storage the technical issues of low efficiency.
On the one hand, the present invention provides a kind of methods that will plan that the spatial data that industry uses is put in storage.
Spatial data to be put in storage is converted to by CAD data file this method comprises: obtaining;Inquire the spatial data All graphical elements;Several small short-terms are determined in all graphical elements;For small short-term described in each, to institute It states small short-term and carries out topological analysis in range of tolerable variance, find out reference line corresponding with the small short-term, wherein described small Short-term is consistent with the attribute of the reference line;The small short-term is handled, wherein when the small short-term and the reference line When being parallel to each other, judge whether the length of the small short-term is greater than scheduled length threshold, when the length of the small short-term is less than Or when being equal to scheduled length threshold, the small short-term is deleted wait be put in storage in spatial data described, when the small short-term When length is less than or equal to scheduled length threshold, the small short-term is merged with the reference line, when the small short-term and institute State reference line it is not parallel when, the small short-term is merged with the reference line;It will complete each small short-term treated institute GML data storage is stated to database.
Further, the method also includes: construct the corresponding configuration file of the spatial data, wherein the configuration File includes the map data mining platform of graphical element, attribute information and identification information in the spatial data;The small short-term is being held The step of carrying out topological analysis in poor range, finding out reference line corresponding with the small short-term includes: to search described small Graphical element in the range of tolerable variance of short-term obtains the element group being made of several graphical elements;To respectively it scheme in the element group Information of the shape element in the configuration file is compared with information of the small short-term in the configuration file, determines Being located at same figure layer and the identical image-element of attribute information with the small short-term out is the reference line.
Further, the attribute information is CASS code.
Further, the step of determining several small short-terms in all graphical elements includes: in all figures Found out in shape element suspension, without closure or only with close on line occlusion line segment as the small short-term.
Further, the spatial data is SHP data.
Further, after the step of handling the small short-term, the method also includes, mabage report is generated, Wherein, the mabage report includes the item number of the small short-term of the file information and each figure layer process.
On the other hand, the present invention provides a kind of devices that will plan that the spatial data that industry uses is put in storage.
The device includes: acquisition module, and spatial data to be put in storage is converted to by CAD data file for obtaining;It looks into Module is ask, for inquiring all graphical elements of the spatial data;Determining module, for true in all graphical elements Make several small short-terms;Analysis module carries out the small short-term for being directed to each described small short-term in range of tolerable variance Topological analysis finds out reference line corresponding with the small short-term, wherein the attribute one of the small short-term and the reference line It causes;Processing module, for handling the small short-term, wherein when the small short-term and the reference line are parallel to each other, Judge whether the length of the small short-term is greater than scheduled length threshold, when the length of the small short-term is less than or equal to scheduled When length threshold, the small short-term is deleted wait be put in storage in spatial data described, when the length of the small short-term is less than or waits When scheduled length threshold, the small short-term is merged with the reference line, when the small short-term and the reference line are uneven When row, the small short-term is merged with the reference line;Transmission module, treated for will complete each small short-term institute GML data storage is stated to database.
Further, described device further include: memory module, for storing the corresponding configuration file of the spatial data, Wherein, the configuration file includes the map data mining platform of graphical element, attribute information and identification information in the spatial data;It is described Analysis module includes: searching unit, for searching the graphical element in the range of tolerable variance of the small short-term, is obtained by several figures The element group of shape element composition;Comparing unit, for by letter of each graphical element in the configuration file in the element group Breath, is compared with information of the small short-term in the configuration file, determines to be located at same figure layer with the small short-term And the identical image-element of attribute information is the reference line.
Another aspect, the present invention provides a kind of computer equipments.
The computer equipment includes memory, processor and storage on a memory and can run on a processor Computer program, the processor realized when executing the computer program it is provided by the invention any one planning industry is made The step of method that spatial data is put in storage.
Another aspect, the present invention provides a kind of computer readable storage mediums.
Computer program is stored on the computer readable storage medium, it is real when the computer program is executed by processor Existing any one the step of planning method that the spatial data that industry uses is put in storage provided by the invention.
Compared with prior art, the method and dress provided by the invention that will plan that the spatial data that industry uses is put in storage Set and computer equipment and computer readable storage medium, at least realize it is following the utility model has the advantages that
For spatial data to be put in storage, small short-term is first found out, then finds out reference line in range of tolerable variance for small short-term, Namely with the small consistent line segment of short-term attribute, finally according to the mutual position between the length of small short-term and small short-term and reference line The relationship of setting is handled, and is put in storage after the completion of processing, and the small short-term in storage spatial data can be treated automatically before storage Data are handled, and can be guaranteed to plan that the spatial data in industry is successfully put in storage, are also able to ascend the efficiency of storage.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Detailed description of the invention
It is combined in the description and the attached drawing for constituting part of specification shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
The step of Fig. 1 is the method that the spatial data for using planning industry that the embodiment of the present invention 1 provides is put in storage Flow chart;
The step of Fig. 2 is the method that the spatial data for using planning industry that the embodiment of the present invention 2 provides is put in storage Flow chart;
The step of Fig. 3 is the method that the spatial data for using planning industry that the embodiment of the present invention 3 provides is put in storage Flow chart;
Fig. 4 is the block diagram for the device that the spatial data for using planning industry that the embodiment of the present invention 4 provides is put in storage;
Fig. 5 is the block diagram for the computer equipment that the embodiment of the present invention 5 provides.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should also be noted that unless in addition having Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
Embodiment 1
The step of Fig. 1 is the method that the spatial data for using planning industry that the embodiment of the present invention 1 provides is put in storage Flow chart, as shown in Figure 1, embodiment offer will plan that the method that the spatial data that industry uses is put in storage includes as follows Step S101 to step S106:
Step S101: acquisition is converted to spatial data to be put in storage by CAD data file.
In planning, CAD software production planning chart can be used, the planning chart to complete mutually should be CAD data file, Spatial data to be put in storage is the spatial data made of being converted as CAD data file with attribute, optionally, sky to be put in storage Between data be SHP data.
During using CAD software production planning chart, due to mapping lack of standardization, it will form some small short-terms, this is small Short-term exists after being converted to the spatial datas such as SHP data as a kind of graphical element.
Step S102: all graphical elements of search space data.
The graphical element inquired includes the element of each figure layer, includes small short-term in the element.
Step S103: several small short-terms are determined in all graphical elements.
Found out in all graphical elements suspension, without closure or only with close on line occlusion line segment as small short Line.
Step S104: be directed to each small short-term, topological analysis is carried out in range of tolerable variance to small short-term, find out with it is small The corresponding reference line of short-term.
Wherein, range of tolerable variance can be preset as needed, and for each small short-term, a buffering is formed in range of tolerable variance Area carries out topological analysis in buffer area, can find multiple graphical elements, determines in the multiple graphical elements found Out with the consistent graphical element of small short-term attribute namely reference line.
Step S105: small short-term is handled.
Wherein, specifically, can according to the mutual alignment relation between the length and small short-term and reference line of small short-term into Row processing.When small short-term and reference line are parallel to each other, judge whether the length of small short-term is greater than scheduled length threshold, when small When the length of short-term is less than or equal to scheduled length threshold, small short-term is deleted wait be put in storage in spatial data, when small short-term Length be less than or equal to scheduled length threshold when, small short-term is merged with reference line, when small short-term and reference line are not parallel When, small short-term is merged with reference line.
Step S106: each small short-term will be completed treated GML data storage to database.
The method that will plan that the spatial data that industry uses is put in storage provided using the embodiment, for sky to be put in storage Between data, first find out small short-term, then find out reference line in range of tolerable variance for small short-term, namely consistent with small short-term attribute Line segment, finally handled according to the mutual alignment relation between the length of small short-term and small short-term and reference line, handle It is put in storage after the completion, the small short-term data that can be treated automatically before storage in storage spatial data are handled, Neng Goubao Spatial data in card planning industry is successfully put in storage, and is also able to ascend the efficiency of storage.
Embodiment 2
The step of Fig. 2 is the method that the spatial data for using planning industry that the embodiment of the present invention 2 provides is put in storage Flow chart, the embodiment are that preferred embodiment, relevant portion can refer to above-described embodiment 1 on the basis of above-described embodiment 1. As shown in Fig. 2, the method that the spatial data for using planning industry that the embodiment provides is put in storage includes the following steps, namely S201 to step S208:
Step S201: acquisition is converted to spatial data to be put in storage by CAD data file.
Step S202: the corresponding configuration file of building spatial data.
Wherein, configuration file includes the map data mining platform of graphical element, attribute information and identification information, figure layer in spatial data Information is figure layer locating for graphical element, and attribute information is the attribute for describing graphical element, and identification information is used for image-element It is identified.Wherein, attribute information can be reached by CASS code table.
Step S203: all graphical elements of search space data.
Step S204: several small short-terms are determined in all graphical elements.
Found out in all graphical elements suspension, without closure or only with close on line occlusion line segment as small short Line.
Step S205: searching graphical element in the range of tolerable variance of small short-term, obtains being made of several graphical elements Element group.
Step S206: by information of the graphical element each in element group in configuration file, with small short-term in configuration file Information be compared, determine that being located at same figure layer and the identical image-element of attribute information with small short-term is reference line.
Specifically, for a certain graphical element, correspondence is found according to the identification information of the graphical element in configuration file The record of the image-element, the expression information in configuration file according to small short-term find the record of the corresponding small short-term, judgement Whether two records are under same figure layer, when under same figure layer, judge whether the CASS code in two records is consistent, if Unanimously, illustrate that the graphical element is located at same figure layer with small short-term and attribute information is identical, as reference line.
Step S207: small short-term is handled.
Wherein, when small short-term and reference line are parallel to each other, judge whether the length of small short-term is greater than scheduled length threshold Value deletes small short-term wait be put in storage in spatial data when the length of small short-term is less than or equal to scheduled length threshold, when When the length of small short-term is less than or equal to scheduled length threshold, small short-term is merged with reference line, when small short-term and reference line When not parallel, small short-term is merged with reference line.
Step S208: each small short-term will be completed treated GML data storage to database.
The method that will plan that the spatial data that industry uses is put in storage provided using the embodiment, for sky to be put in storage Between data, building is for configuration file wait be put in storage graphical element in spatial data, when determining reference line, according to configuration file It is determined, promotes the efficiency of small short-term processing, thus the further efficiency of room for promotion data loading.
Embodiment 3
The step of Fig. 3 is the method that the spatial data for using planning industry that the embodiment of the present invention 3 provides is put in storage Flow chart, the embodiment are that preferred embodiment, relevant portion can refer to above-mentioned implementation on the basis of above-described embodiment 1 and 2 Example 1 and 2.As shown in figure 3, embodiment offer will plan that the method that the spatial data that industry uses is put in storage includes as follows Step S301 to step S309:
Step S301: acquisition is converted to spatial data to be put in storage by CAD data file.
Step S302: the corresponding configuration file of building spatial data.
Wherein, configuration file includes the map data mining platform of graphical element, attribute information and identification information in spatial data, the category Property information can be CASS code.
Step S303: all graphical elements of search space data.
Step S304: several small short-terms are determined in all graphical elements.
Found out in all graphical elements suspension, without closure or only with close on line occlusion line segment as small short Line.
Step S305: searching graphical element in the range of tolerable variance of small short-term, obtains being made of several graphical elements Element group.
Step S306: by information of the graphical element each in element group in configuration file, with small short-term in configuration file Information be compared, determine that being located at same figure layer and the identical image-element of attribute information with small short-term is reference line.
Step S307: small short-term is handled.
Wherein, when small short-term and reference line are parallel to each other, judge whether the length of small short-term is greater than scheduled length threshold Value deletes small short-term wait be put in storage in spatial data when the length of small short-term is less than or equal to scheduled length threshold, when When the length of small short-term is less than or equal to scheduled length threshold, small short-term is merged with reference line, when small short-term and reference line When not parallel, small short-term is merged with reference line.
Step S308: each small short-term will be completed treated GML data storage to database.
Step S309: mabage report is generated.
Wherein, mabage report includes the item number of the small short-term of the file information and each figure layer process.For example, certain processing report It accuses as follows:
F:\00118203610\A.mdb
Small short-term at the co-melting conjunction modification 10 of #jmdxian.
Small short-term at the co-melting conjunction modification 0 of #jmd, deletes small short-term at modification 1.
F:\00118203610\B.mdb
Small short-term at the co-melting conjunction modification 10 of #jmdxian.
#jmd modifies small short-term at 0 altogether.
The method that will plan that the spatial data that industry uses is put in storage provided using the embodiment, at by small short-term While GML data storage to be put in storage to database after reason, corresponding mabage report is also generated, file is embodied in report The item number of the small short-term of information and each figure layer process, thus it is subsequent to database spatial data in use, being capable of basis Mabage report further to data correction or inspection, further promotes the accuracy of data.
Embodiment 4
Fig. 4 is the block diagram for the device that the spatial data for using planning industry that the embodiment of the present invention 4 provides is put in storage, The device is corresponding with the method for any offer of above-described embodiment 1 to 3, and related place can be referred to mutually, and details are not described herein again, As shown in figure 4, the device includes obtaining module 401, enquiry module 402, determining module 403, analysis module 404, processing module 405 and transmission module 406
Wherein, it obtains module 401 and is converted to spatial data to be put in storage by CAD data file for obtaining;Inquire mould Block 402 is used for all graphical elements of search space data;Determining module 403 is several for determining in all graphical elements Small short-term;Analysis module 404 is used to be directed to each small short-term, and topological analysis is carried out in range of tolerable variance to small short-term, searches Reference line corresponding with small short-term out, wherein small short-term is consistent with the attribute of reference line;Processing module 405 is used for small short Line is handled, wherein when small short-term and reference line are parallel to each other, judges whether the length of small short-term is greater than scheduled length Threshold value deletes small short-term wait be put in storage in spatial data when the length of small short-term is less than or equal to scheduled length threshold, When the length of small short-term is less than or equal to scheduled length threshold, small short-term is merged with reference line, when small short-term and reference When line is not parallel, small short-term is merged with reference line;Treated for will the complete each small short-term space number of transmission module 406 According to storing to database.
Optionally, device further include: memory module is used for the corresponding configuration file of memory space data, wherein configuration File includes the map data mining platform of graphical element, attribute information and identification information in spatial data;Analysis module includes: to search list Member obtains the element group being made of several graphical elements for searching the graphical element in the range of tolerable variance of small short-term;It compares Unit, for the information by graphical element each in element group in configuration file, with information of the small short-term in configuration file into Row compares, and determines that being located at same figure layer and the identical image-element of attribute information with small short-term is reference line.
Optionally, attribute information is CASS code.
Optionally it is determined that module 403 includes: to find out suspension in all graphical elements, do not have the step of specifically execution Closure or the only line segment with the line occlusion closed on are as small short-term.
Optionally, spatial data is SHP data.
Optionally, which further includes generation module, for generating mabage report, wherein mabage report includes file letter The item number of breath and the small short-term of each figure layer process.
Embodiment 5
The present embodiment also provides a kind of computer equipment, can such as execute the smart phone, tablet computer, notebook of program Computer, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server are (including independent Server cluster composed by server or multiple servers) etc..
Fig. 5 is the block diagram for the computer equipment that the embodiment of the present invention 5 provides.As shown in figure 5, the computer of the present embodiment is set Standby 50 include, but is not limited to: memory 501, processor 502 that connection can be in communication with each other by system bus, such as Fig. 5 institute Show.It should be pointed out that Fig. 5 illustrates only the computer equipment 50 with component 501-502, it should be understood that not It is required that implement all components shown, the implementation that can be substituted is more or less component.
In the present embodiment, memory 501 (i.e. readable storage medium storing program for executing) includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic Disk, CD etc..In some embodiments, memory 501 can be the internal storage unit of computer equipment 50, such as the calculating The hard disk or memory of machine equipment 50.In further embodiments, memory 501 is also possible to the external storage of computer equipment 50 The plug-in type hard disk being equipped in equipment, such as the computer equipment 50, intelligent memory card (Smart Media Card, SMC), peace Digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 501 can also both include meter The internal storage unit for calculating machine equipment 50 also includes its External memory equipment.In the present embodiment, memory 501 is commonly used in storage It is installed on the operating system and types of applications software of computer equipment 50, such as the space that will plan that industry uses of embodiment 5 The program code etc. for the device that data are put in storage.In addition, memory 501 can be also used for temporarily storing exported or The Various types of data that will be exported.
Processor 502 can be in some embodiments central processing unit (Central Processing Unit, CPU), Controller, microcontroller, microprocessor or other data processing chips.The processor 502 is commonly used in control computer equipment 50 overall operation.In the present embodiment, program code or processing number of the processor 502 for being stored in run memory 501 According to, such as the device etc. that will plan that the spatial data that industry uses is put in storage.
Embodiment 6
The present embodiment also provides a kind of computer readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic Disk, CD, server, App are stored thereon with computer program, phase are realized when program is executed by processor using store etc. Answer function.The computer readable storage medium of the present embodiment, which is used to store, is put in storage the spatial data that uses of planning industry Device, embodiment 1 to 3 is realized when being executed by processor, and any one will plan the side that the spatial data that uses of industry is put in storage Method.
Although some specific embodiments of the invention are described in detail by example, the skill of this field Art personnel it should be understood that example above merely to being illustrated, the range being not intended to be limiting of the invention.The skill of this field Art personnel are it should be understood that can without departing from the scope and spirit of the present invention modify to above embodiments.This hair Bright range is defined by the following claims.

Claims (10)

1. a kind of method that will plan that the spatial data that industry uses is put in storage characterized by comprising
Acquisition is converted to spatial data to be put in storage by CAD data file;
Inquire all graphical elements of the spatial data;
Several small short-terms are determined in all graphical elements;
For small short-term described in each, topological analysis is carried out in range of tolerable variance to the small short-term, find out with it is described small The corresponding reference line of short-term, wherein the small short-term is consistent with the attribute of the reference line;
The small short-term is handled, wherein when the small short-term and the reference line are parallel to each other, judge described small short Whether the length of line is greater than scheduled length threshold, when the length of the small short-term is less than or equal to scheduled length threshold, The small short-term is deleted wait be put in storage in spatial data described, when the length of the small short-term is less than or equal to scheduled length When threshold value, the small short-term is merged with the reference line, it, will be described small when the small short-term and the reference line are not parallel Short-term is merged with the reference line;
Each small short-term will be completed treated the GML data storage to database.
2. the method according to claim 1 that will plan that the spatial data that industry uses is put in storage, which is characterized in that
The method also includes: construct the corresponding configuration file of the spatial data, wherein the configuration file includes the sky Between in data graphical element map data mining platform, attribute information and identification information;
Topological analysis is carried out in range of tolerable variance to the small short-term, finds out the step of reference line corresponding with the small short-term Suddenly include: the graphical element searched in the range of tolerable variance of the small short-term, obtain the element group being made of several graphical elements; By information of each graphical element in the configuration file in the element group, with the small short-term in the configuration file Information is compared, and determines that being located at same figure layer and the identical image-element of attribute information with the small short-term is the ginseng Examine line.
3. the method according to claim 2 that will plan that the spatial data that industry uses is put in storage, which is characterized in that institute Stating attribute information is CASS code.
4. the method according to claim 1 that will plan that the spatial data that industry uses is put in storage, which is characterized in that The step of determining several small short-terms in all graphical elements include:
Found out in all graphical elements suspension, without closure or only with close on line occlusion line segment as described small Short-term.
5. the method according to claim 1 that will plan that the spatial data that industry uses is put in storage, which is characterized in that institute Stating spatial data is SHP data.
6. the method according to claim 1 that will plan that the spatial data that industry uses is put in storage, which is characterized in that
After the step of handling the small short-term, the method also includes generating mabage report, wherein the processing Report includes the item number of the small short-term of the file information and each figure layer process.
7. a kind of device that will plan that the spatial data that industry uses is put in storage characterized by comprising
Module is obtained, is converted to spatial data to be put in storage by CAD data file for obtaining;
Enquiry module, for inquiring all graphical elements of the spatial data;
Determining module, for determining several small short-terms in all graphical elements;
Analysis module carries out topological analysis to the small short-term in range of tolerable variance, looks into for being directed to each described small short-term Find out reference line corresponding with the small short-term, wherein the small short-term is consistent with the attribute of the reference line;
Processing module, for handling the small short-term, wherein when the small short-term is parallel to each other with the reference line When, judge whether the length of the small short-term is greater than scheduled length threshold, when the length of the small short-term is less than or equal in advance When fixed length threshold, the small short-term is deleted wait be put in storage in spatial data described, when the length of the small short-term is less than Or when being equal to scheduled length threshold, the small short-term is merged with the reference line, when the small short-term and the reference line When not parallel, the small short-term is merged with the reference line;
Transmission module, treated for will the complete each small short-term GML data storage to database.
8. the device according to claim 7 that will plan that the spatial data that industry uses is put in storage, which is characterized in that
Described device further include: memory module, for storing the corresponding configuration file of the spatial data, wherein the configuration File includes the map data mining platform of graphical element, attribute information and identification information in the spatial data;
The analysis module includes: searching unit, for searching the graphical element in the range of tolerable variance of the small short-term, is obtained The element group being made of several graphical elements;Comparing unit, for each graphical element in the element group is literary in the configuration Information in part is compared with information of the small short-term in the configuration file, determines to be located at the small short-term The same figure layer and identical image-element of attribute information is the reference line.
9. a kind of computer equipment, the computer equipment include memory, processor and storage on a memory and can be The computer program run on processor, which is characterized in that realize that right is wanted when the processor executes the computer program The step of seeking any one of 1 to 6 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program The step of any one of claim 1 to 6 the method is realized when being executed by processor.
CN201811239918.6A 2018-10-23 2018-10-23 Method and device for warehousing spatial data used by planning industry Active CN109299205B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811239918.6A CN109299205B (en) 2018-10-23 2018-10-23 Method and device for warehousing spatial data used by planning industry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811239918.6A CN109299205B (en) 2018-10-23 2018-10-23 Method and device for warehousing spatial data used by planning industry

Publications (2)

Publication Number Publication Date
CN109299205A true CN109299205A (en) 2019-02-01
CN109299205B CN109299205B (en) 2021-02-09

Family

ID=65157658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811239918.6A Active CN109299205B (en) 2018-10-23 2018-10-23 Method and device for warehousing spatial data used by planning industry

Country Status (1)

Country Link
CN (1) CN109299205B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109997A (en) * 2019-05-16 2019-08-09 洛阳众智软件科技股份有限公司 Data processing storage method and equipment
CN111966670A (en) * 2020-07-08 2020-11-20 成都星时代宇航科技有限公司 Remote sensing data distribution method and device based on mosaic data set and management platform
WO2021184193A1 (en) * 2020-03-17 2021-09-23 Shucheng Technology Co., Ltd. Computer-aided warehouse space planning
US11797721B2 (en) 2020-03-17 2023-10-24 Industrial Artificial Intelligence Inc. Computer-aided warehouse space planning

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859643A (en) * 1991-08-20 1999-01-12 Fujitsu Limited Lowering geometric drawing resolution by filtering out data based on threshold values to increase retrieval speed
US7047014B1 (en) * 2004-11-05 2006-05-16 Airespace, Inc. Raster-to-vector conversion operations adapted to modeling of RF propagation
CN104798106A (en) * 2012-11-15 2015-07-22 高通股份有限公司 Generating a key-image from a medical image
CN105279243A (en) * 2015-09-28 2016-01-27 张新长 Spatial data conversion method and system
CN105868392A (en) * 2016-04-18 2016-08-17 重庆市勘测院 Method for lossless conversion and storage of massive complex planning data based on MicroStation
CN106610957A (en) * 2015-10-21 2017-05-03 星际空间(天津)科技发展有限公司 Multi-source data integration method based on geographic information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5859643A (en) * 1991-08-20 1999-01-12 Fujitsu Limited Lowering geometric drawing resolution by filtering out data based on threshold values to increase retrieval speed
US7047014B1 (en) * 2004-11-05 2006-05-16 Airespace, Inc. Raster-to-vector conversion operations adapted to modeling of RF propagation
CN104798106A (en) * 2012-11-15 2015-07-22 高通股份有限公司 Generating a key-image from a medical image
CN105279243A (en) * 2015-09-28 2016-01-27 张新长 Spatial data conversion method and system
CN106610957A (en) * 2015-10-21 2017-05-03 星际空间(天津)科技发展有限公司 Multi-source data integration method based on geographic information
CN105868392A (en) * 2016-04-18 2016-08-17 重庆市勘测院 Method for lossless conversion and storage of massive complex planning data based on MicroStation

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
胡胜华 等: "AutoCAD与GIS数据转换的研究", 《测绘通报》 *
连超: "基于NewMap的大比例尺居民地数据综合方法的研究", 《中国优秀硕士学位论文全文数据库 基础科学辑》 *
陈能 等: "AutoCAD 地形图数据转换为GIS空间数据的技术研究与应用", 《测绘通报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109997A (en) * 2019-05-16 2019-08-09 洛阳众智软件科技股份有限公司 Data processing storage method and equipment
CN110109997B (en) * 2019-05-16 2021-11-12 洛阳众智软件科技股份有限公司 Data processing and warehousing method and equipment
WO2021184193A1 (en) * 2020-03-17 2021-09-23 Shucheng Technology Co., Ltd. Computer-aided warehouse space planning
US11797721B2 (en) 2020-03-17 2023-10-24 Industrial Artificial Intelligence Inc. Computer-aided warehouse space planning
CN111966670A (en) * 2020-07-08 2020-11-20 成都星时代宇航科技有限公司 Remote sensing data distribution method and device based on mosaic data set and management platform

Also Published As

Publication number Publication date
CN109299205B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN109299205A (en) The method and apparatus that will plan that the spatial data that industry uses is put in storage
CN106528165B (en) Code generating method and code generating system
US8896597B2 (en) System and method for modifying geometric relationships in a solid model
US9436734B2 (en) Relative performance prediction of a replacement database management system (DBMS)
US9372765B2 (en) System and method for recovering system status consistently to designed recovering time point in distributed database
US20100013833A1 (en) System and method for modifying features in a solid model
CN102880780A (en) Systems and methods for creating intuitive context for analysis data
CN110647318B (en) Method, device, equipment and medium for creating instance of stateful application
CN112416957A (en) Data increment updating method and device based on data model layer and computer equipment
CN109684393A (en) Collecting method, computer readable storage medium and terminal device
CN112785248B (en) Human resource data cross-organization interaction method, device, equipment and storage medium
CN104199743B (en) Consistency checking method for historical data service interface of power distribution network
CN109213505A (en) Server hard disc firmware method for refreshing and device
CN107368423A (en) Interface automatic configuration system and the automatized script processing method carried out wherein
CN109388685A (en) The method and apparatus that will plan that the spatial data that industry uses is put in storage
CN105677843A (en) Method for automatically obtaining attribute of four boundaries of parcel
CN107766228B (en) Multi-language-based automatic testing method and device
CN114564621A (en) Method, device and equipment for associating data and readable storage medium
CN114186976A (en) Workflow transfer method and device, computer equipment and storage medium
US9251023B2 (en) Implementing automated memory address recording in constrained random test generation for verification of processor hardware designs
CN112463896A (en) Archive cataloging data processing method and device, computing equipment and storage medium
CN104572649B (en) The processing method of the data of distributed memory system, apparatus and system
CN106557030B (en) Method of instructing operation and device based on entity
CN109815113A (en) Test method and server based on Jmeter platform
CN117573199B (en) Model difference comparison analysis method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant