CN112687006A - Rapid building three-dimensional grid data graph generation method - Google Patents

Rapid building three-dimensional grid data graph generation method Download PDF

Info

Publication number
CN112687006A
CN112687006A CN202011530444.8A CN202011530444A CN112687006A CN 112687006 A CN112687006 A CN 112687006A CN 202011530444 A CN202011530444 A CN 202011530444A CN 112687006 A CN112687006 A CN 112687006A
Authority
CN
China
Prior art keywords
building
grid
outer contour
polygonal area
voronoi diagram
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
CN202011530444.8A
Other languages
Chinese (zh)
Other versions
CN112687006B (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.)
Beidou Fuxi Information Technology Co ltd
Original Assignee
Beijing Xuanji Fuxi 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 Beijing Xuanji Fuxi Technology Co ltd filed Critical Beijing Xuanji Fuxi Technology Co ltd
Priority to CN202011530444.8A priority Critical patent/CN112687006B/en
Publication of CN112687006A publication Critical patent/CN112687006A/en
Application granted granted Critical
Publication of CN112687006B publication Critical patent/CN112687006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The invention discloses a method for quickly generating a three-dimensional grid data map of a building, which belongs to the technical field of information and can quickly and accurately determine the position of each user in the building and service data information. The technical scheme of the invention comprises the following steps: and selecting a proper mesh level to subdivide the minimum outsourcing rectangle of the polygonal area of the outer contour of the building, and randomly selecting m sample meshes. And dividing the m sample grids into n classes by using a clustering algorithm, and taking n clustering center points as control points of the Voronoi diagram to generate the Voronoi diagram. And (4) segmenting the polygonal area of the outer contour of the building by using the voronoi diagram to obtain a 3D grid diagram of the interior of the building. And forming a spatial index code of each household by using Beidou grid codes corresponding to control points on the Voronoi diagram. And performing associated storage on the spatial index codes and corresponding business data of each household in the building business data, and simultaneously associating the spatial index codes with a 3D grid map in the building to obtain and display a three-dimensional grid data map of the building.

Description

Rapid building three-dimensional grid data graph generation method
Technical Field
The invention relates to the technical field of information, in particular to a method for quickly generating a three-dimensional grid data graph of a building.
Background
A stereoscopic grid data map of a building, typically includes two parts: the grid diagram of the building is drawn on a front-end page according to the outline of the building, and each grid in the page is provided with a Beidou grid code corresponding to the grid diagram; and an index is established for each piece of service data in the background database and the service database of the building according to the Beidou grid code. And each grid on the front-end page inquires corresponding service data from the background database according to the Beidou grid code of the grid, and then the corresponding service data is displayed according to actual requirements, so that the three-dimensional grid data graph system based on the Beidou grid code is formed.
When constructing an actual building dimensional grid data map system, the grid on the front-end page and the business data in the back-end database are typically associated in units of users. This requires the location (longitude, latitude and elevation) of each household, which is encoded as a beidou trellis code, which is used as an index to the database.
However, the existing data basically has no position information of each household. A small number of buildings have BIM models or CAD plans from which location information for each household can be calculated. However, a large number of buildings do not have BIM models or CAD plan views, and the above-mentioned building three-dimensional grid data map system needs to be implemented to acquire position information in the field again. In the face of mass stock data, the cost is not imaginable, and the project construction period is greatly prolonged, so that the popularization and the application of the building three-dimensional grid data graph system are greatly limited.
Therefore, a technical scheme capable of quickly and accurately determining the position information of each user in the building is lacked at present.
Disclosure of Invention
In view of this, the present invention provides a method for generating a three-dimensional grid data map of a building, where the generated three-dimensional grid data map of a building can quickly and accurately determine the locations of each user and the service data information in the building.
In order to achieve the purpose, the technical scheme of the invention comprises the following steps:
step 1, extracting an outer contour of a building from a map, projecting a plane of the outer contour of the building into a polygonal area, determining a minimum outsourcing rectangle according to the polygonal area of the outer contour of the building, selecting a proper mesh level to subdivide the minimum outsourcing rectangle into individual meshes, and randomly selecting m meshes positioned in the polygonal area of the outer contour of the building from the subdivided meshes to be used as sample meshes to obtain a sample mesh set.
And 2, extracting the number n of the users of each floor from a service database of the building, and then dividing the m sample grids into n classes by using a clustering algorithm to obtain n sub-classes in total.
And 3, taking the clustering center points of the n subclasses as control points of the Voronoi diagram, and generating the Voronoi diagram corresponding to the minimum outsourcing rectangle.
And 4, segmenting the polygonal area of the outer contour of the building by using the generated Voronoi diagram to obtain the polygonal area of the outer contour of each family of the building, and forming a 3D grid diagram in the building.
Step 5, the control point of the polygonal area of the outline of each user corresponding to the Voronoi diagram is the position of the current user; and forming a spatial index code of the current user by using the Beidou grid code corresponding to the control point on the Voronoi diagram.
And 6, performing associated storage on the spatial index code of each household in the building and the corresponding service data of each household in the service data of the building, and simultaneously associating the spatial index code with the 3D grid map in the building to obtain and display the three-dimensional grid data map of the building.
Further, the suitable grid level is selected by comparing the actual size of each house in the building according to the size of the grid used.
Furthermore, the value of m is 20-30% of the number of all the meshes obtained by subdivision.
Further, the sample grid set is used to represent a polygonal area of the outline of the entire building.
Further, the clustering algorithm is a k-means algorithm.
Further, in the clustering algorithm, the distance between the sample grids is the distance between the center points of the sample grids, and the clustering center point of each subclass obtained by the clustering algorithm is the control point of the polygonal area corresponding to each family.
Further, the spatial index code of the current user also contains information indicating the number of layers where the current user is located.
Has the advantages that:
according to the rapid building three-dimensional grid data map generation method provided by the invention, the position information of each household in the building can be rapidly determined by means of the public third-party map platform and the building service data provided by the user, Beidou grid coding is realized, and the spatial index of the building service data is established. Compared with the field measurement and calibration of the position of each household, the method has the advantages that the cost and the time are greatly saved, and therefore a stereoscopic grid data graph system can be constructed by mass building big data.
Drawings
Fig. 1 is a building Beidou grid code generation and three-dimensional grid map establishment process provided by the embodiment of the invention.
Detailed Description
The invention is described in detail below by way of example with reference to the accompanying drawings.
In the building three-dimensional grid data graph system, the Beidou grid code of each family is unique, has the advantage of a position index code, and is very suitable for retrieval and query based on positions. It reflects the position accuracy rather second.
As before, in-field measurements are required to obtain an accurate location for each household within the building. But for massive data, neither cost nor time is practical to do so. If the approximate position of each household can be obtained quickly, the fact that the general positions of the households are within the range of a building, the spatial position relation between the households in the same floor is approximately reasonable, and the coded Beidou grid code is unique and suitable for position retrieval and query is guaranteed, the method is reasonable. The invention solves the problem of Beidou grid coding of each family based on the thought.
First, the outer contour vector data of the building can be extracted on a public third-party map. Second, the number of households per floor of the building can be extracted from the service database of the building. And finally, calculating the polygonal area of each household according to the outer contour data of the building and the number of the households on each floor. Although this area is only of schematic effect, each household area is within a polygonal area of the building, and their spatial location is relatively reasonable. The polygon area control points of each household are extracted to serve as the position of each household, so that the Beidou grid code generated by coding is unique, and the characteristics that the grid code facilitates space retrieval and query are achieved.
The method does not need field operation, only needs to use the public third-party map and the data provided by the client, and automatically processes the data by a computer after manually extracting and cleaning the necessary data, which is feasible in cost and time. Based on the method, it is possible to establish a building three-dimensional grid data system based on mass data, rather than only establishing an experimental verification system based on small-scale data volume.
As shown in fig. 1, the method for generating a three-dimensional grid data map of a building according to the present invention comprises the following steps:
step 1, extracting the outer contour of a building from a map, determining the minimum outsourcing rectangle of the building according to the polygonal area (plane projection) of the building, and then selecting a proper grid level to divide the minimum outsourcing rectangle into grids one by one. M grids located in the outline polygonal area of the building are randomly selected as sample grids, and represent the outline area of the whole building.
When the minimum outer wrapping rectangle is split, a Beidou grid is used, and the Beidou grid is established according to a global subdivision grid GeoSOT. The global subdivision grid (GeoSOT) is an important research result of 'research on global aerospace information subdivision organization mechanism and application method' in the national 973 project. The technology divides the earth space with 5.7 ten thousand KM from the center of the earth to the periphery of the earth into 32-level multi-level discrete grids with similar volume shapes and no gaps or no overlap. The minimum three-dimensional grid can reach 1.5 cm. The mesh after subdivision has unique codes, and the codes have the advantages of multi-scale, identification, positioning, indexing, calculation, automatic spatial correlation and the like, so that a spatial mesh framework for big data management and application is formed.
When the Beidou grids are used for dividing the minimum outsourcing rectangle corresponding to the outer contour of the building, the selected proper division level is equal to the size of each household in the building, each household in the building is related to the use type of the building, for example, if the building is a residential building, grids of about 4 meters can be selected according to the corresponding size of each household, and therefore the proper division level is selected correspondingly; if the building is an office building, where the size of each resident may be larger, for example, about 8 or 16 meters of grids may be selected to correspond to a suitable subdivision level.
In the embodiment of the invention, the value of m should be selected to reflect the mesh distribution in the polygonal area of the outline of the building, and generally 20% -30% of the number of all meshes obtained by subdivision can be taken as the value selection range of m.
And 2, extracting the number n of the users on each floor from a service database of the building, and then dividing the m sample grids into n classes by using a clustering algorithm (such as k-means, and other clustering algorithms can be adopted), wherein each subclass corresponds to one user. The distance between grids in the clustering algorithm is represented by the distance between the center points of the grids. The cluster center point of each subclass is the control point of each family multilateral region.
And 3, taking the n clustering center points as control points of a Voronoi Diagram (Voronoi Diagram), and generating the Voronoi Diagram with the minimum outsourcing rectangle. The voronoi diagram (also called the taisen polygon) is a subdivision of a spatial plane, and is characterized in that any point in a polygon is closest to a control point of the polygon and is further away from the control point in an adjacent polygon, and there is only one control point in each polygon.
And 4, dividing the outer contour polygonal area of the building by using the generated Voronoi diagram to obtain the outer contour polygonal area of each household. And in each divided area, the control point is the position of each household, and the Beidou grid code can be generated based on the control point, so that the spatial index of the background building business data is established. And the outer contour polygonal area of each household can generate a 3D grid map in the building, which can schematically present the space relative position of each household in the building, associate the service attribute data of each household, and realize the display requirement of the three-dimensional grid data map.
The invention has the advantages that the position information of each household in the building can be quickly determined by means of the public third-party map platform and the building service data provided by the user, the Beidou grid coding is realized, and the spatial index of the building service data is established. Compared with the field measurement and calibration of the position of each household, the method has the advantages that the cost and the time are greatly saved, and therefore a stereoscopic grid data graph system can be constructed by mass building big data.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (7)

1. A method for rapidly generating a three-dimensional grid data map of a building is characterized by comprising the following steps:
step 1, extracting an outer contour of a building from a map, wherein a plane projection of the outer contour of the building is a polygonal area, determining a minimum outsourcing rectangle according to the polygonal area of the outer contour of the building, selecting a proper mesh level to divide the minimum outsourcing rectangle into meshes, and randomly selecting m meshes positioned in the polygonal area of the outer contour of the building from the divided meshes to be used as sample meshes to obtain a sample mesh set;
step 2, extracting the number n of the users of each floor from a service database of the building, and then dividing the m sample grids into n classes by using a clustering algorithm to obtain n sub-classes in total;
step 3, taking the clustering center points of the n subclasses as control points of the Voronoi diagram, and generating the Voronoi diagram corresponding to the minimum outsourcing rectangle;
step 4, dividing the polygonal area of the outer contour of the building by using the generated Voronoi diagram to obtain the polygonal area of the outer contour of each family of the building to form a 3D grid diagram inside the building;
step 5, the control point of the polygonal area of the outline of each user corresponding to the Voronoi diagram is the position of the current user; forming a spatial index code of the current user by using Beidou grid codes corresponding to control points on the Voronoi diagram;
and 6, performing associated storage on the spatial index code of each household in the building and the corresponding service data of each household in the service data of the building, and simultaneously associating the spatial index code with the 3D grid map in the building to obtain and display the three-dimensional grid data map of the building.
2. The method of claim 1, wherein the suitable grid level is selected based on the size of the grid used, compared to the actual size of each individual household in the building.
3. The method of claim 2, wherein the value of m is between 20% and 30% of the number of all meshes obtained by dividing.
4. The method of claim 3, wherein the set of sample meshes are used to represent polygonal areas of the outline of the entire building exterior.
5. The method of claim 4, wherein the clustering algorithm is a k-means algorithm.
6. The method of claim 5, wherein in the clustering algorithm, the distance between the sample grids is the distance between the center points of the sample grids, and the clustering center point of each subclass obtained by the clustering algorithm is the control point of the polygonal area corresponding to each family.
7. The method of claim 6, wherein the spatial index code of the current user further comprises information indicating the number of layers the current user is located in.
CN202011530444.8A 2020-12-22 2020-12-22 Rapid building three-dimensional grid data graph generation method Active CN112687006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011530444.8A CN112687006B (en) 2020-12-22 2020-12-22 Rapid building three-dimensional grid data graph generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011530444.8A CN112687006B (en) 2020-12-22 2020-12-22 Rapid building three-dimensional grid data graph generation method

Publications (2)

Publication Number Publication Date
CN112687006A true CN112687006A (en) 2021-04-20
CN112687006B CN112687006B (en) 2023-09-08

Family

ID=75450716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011530444.8A Active CN112687006B (en) 2020-12-22 2020-12-22 Rapid building three-dimensional grid data graph generation method

Country Status (1)

Country Link
CN (1) CN112687006B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005338496A (en) * 2004-05-27 2005-12-08 Mapquest:Kk Display system of map or the like adopting method for quickly retrieving two-dimensional space data
CN104156988A (en) * 2014-08-05 2014-11-19 陕西汇图测绘地理信息有限公司 Urban building contour regularization method based on iteration minimum bounding rectangle
CN107228673A (en) * 2017-05-19 2017-10-03 北京旋极伏羲大数据技术有限公司 Route planner and device
CN108182650A (en) * 2017-12-22 2018-06-19 王金刚 A kind of city space Big Dipper Marking the cell and simplation visualizing system
CN108647332A (en) * 2018-05-11 2018-10-12 北京大学 A kind of administrative division spatial information method for organizing based on Global Grid
CN110874391A (en) * 2019-09-29 2020-03-10 北京旋极伏羲科技有限公司 Data fusion and display method based on urban space three-dimensional grid model
CN111309967A (en) * 2020-01-23 2020-06-19 北京旋极伏羲科技有限公司 Video spatial information query method based on grid coding
US20200364929A1 (en) * 2019-05-13 2020-11-19 Wuhan University Multi-story indoor structured three-dimensional modeling method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005338496A (en) * 2004-05-27 2005-12-08 Mapquest:Kk Display system of map or the like adopting method for quickly retrieving two-dimensional space data
CN104156988A (en) * 2014-08-05 2014-11-19 陕西汇图测绘地理信息有限公司 Urban building contour regularization method based on iteration minimum bounding rectangle
CN107228673A (en) * 2017-05-19 2017-10-03 北京旋极伏羲大数据技术有限公司 Route planner and device
CN108182650A (en) * 2017-12-22 2018-06-19 王金刚 A kind of city space Big Dipper Marking the cell and simplation visualizing system
CN108647332A (en) * 2018-05-11 2018-10-12 北京大学 A kind of administrative division spatial information method for organizing based on Global Grid
US20200364929A1 (en) * 2019-05-13 2020-11-19 Wuhan University Multi-story indoor structured three-dimensional modeling method and system
CN110874391A (en) * 2019-09-29 2020-03-10 北京旋极伏羲科技有限公司 Data fusion and display method based on urban space three-dimensional grid model
CN111309967A (en) * 2020-01-23 2020-06-19 北京旋极伏羲科技有限公司 Video spatial information query method based on grid coding

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
胡晓光 等: "警用空间大数据区位标识方法及其应用", 测绘学报, vol. 45, no. 1, pages 121 - 126 *
陶虹: "顾及地理分析的城市小区场景建模方法研究", 中国博士学位论文全文数据库 工程科技Ⅱ辑, no. 01, pages 038 - 114 *

Also Published As

Publication number Publication date
CN112687006B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
KR102123450B1 (en) Simulation method for building construction using building information modeling, computer readable medium and system for performing the method
CN110321443B (en) Three-dimensional live-action model database construction method and device and data service system
US9503863B2 (en) Systems and methods to identify home addresses of mobile devices
CN101350012A (en) Method and system for matching address
CN110134752B (en) Three-dimensional large-scene modeling data processing method and device
CN107170033A (en) Smart city 3D live-action map systems based on laser radar technique
CN103514235B (en) A kind of method for building up of incremental code library and device
CN114065364B (en) Urban engineering planning method and system based on unmanned aerial vehicle remote sensing mapping
CN114049462B (en) Three-dimensional model monomer method and device
CN109741209A (en) Power distribution network multi-source data fusion method, system and storage medium under typhoon disaster
CN116860905B (en) Space unit coding generation method of city information model
CN115758522A (en) Digital twin city management system and method
CN112148820B (en) Underwater terrain data identification and service method and system based on deep learning
CN114925043B (en) Application method and device based on space-time grid block data and electronic equipment
Aljumaily et al. Voxel change: Big data–based change detection for aerial urban LiDAR of unequal densities
CN117496073B (en) Method and system for constructing multi-time-phase live-action three-dimensional model
Wong et al. Using geometry-based metrics as part of fitness-for-purpose evaluations of 3D city models
CN110807546A (en) Community grid population change early warning method and system
CN112700531B (en) Hierarchical household display method for building inclination model fused with vector house type diagram
CN112687006A (en) Rapid building three-dimensional grid data graph generation method
CN116720480A (en) Method and device for establishing unified identifier of city management element
CN111080080A (en) Method and system for estimating risk of geological disaster of villages and small towns
CN115718824A (en) Method for judging position of equipment and automatically pushing equipment information through space distance
CN115017348A (en) Method and device for realizing grid data graph
CN115309747A (en) Fire fighting management method and platform based on spatial grid data 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

Address after: 101-3, 4th floor, building 12, yard 3, fengxiu Middle Road, Haidian District, Beijing 100094

Applicant after: Beijing Beidou Fuxi Technology Co.,Ltd.

Address before: 101-3, 4th floor, building 12, yard 3, fengxiu Middle Road, Haidian District, Beijing 100094

Applicant before: Beijing Xuanji Fuxi Technology Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20230807

Address after: Room 806-808, Floor 8, A1 Building, Phase I, Zhong'an Chuanggu Science Park, No. 900, Wangjiang West Road, High tech Zone, Hefei City, Anhui Province, 230000

Applicant after: Beidou Fuxi Information Technology Co.,Ltd.

Address before: 101-3, 4th floor, building 12, yard 3, fengxiu Middle Road, Haidian District, Beijing 100094

Applicant before: Beijing Beidou Fuxi Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A fast method for generating three-dimensional grid data graphs of buildings

Granted publication date: 20230908

Pledgee: Anhui pilot Free Trade Zone Hefei area sub branch of Huishang Bank Co.,Ltd.

Pledgor: Beidou Fuxi Information Technology Co.,Ltd.

Registration number: Y2024980013938

PE01 Entry into force of the registration of the contract for pledge of patent right