CN112749244A - Method and device for realizing digital twin city space coordinate system based on illusion engine and storage medium - Google Patents
Method and device for realizing digital twin city space coordinate system based on illusion engine and storage medium Download PDFInfo
- Publication number
- CN112749244A CN112749244A CN202011627355.5A CN202011627355A CN112749244A CN 112749244 A CN112749244 A CN 112749244A CN 202011627355 A CN202011627355 A CN 202011627355A CN 112749244 A CN112749244 A CN 112749244A
- Authority
- CN
- China
- Prior art keywords
- coordinate system
- spherical
- engine
- data
- digital twin
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T17/00—Three dimensional [3D] modelling, e.g. data description of 3D objects
- G06T17/05—Geographic models
Abstract
The invention discloses a method for realizing a digital twin city space coordinate system based on a phantom engine, which maps spherical coordinate data of a newly constructed equilateral triangle coverage area into a plane space coordinate system of the phantom engine through an equilateral triangle in the coverage range of a ball space system until the constructed equilateral triangle completely covers the ball space system. The coordinate system implementation method can map the traditional spherical system gis to a plane space coordinate system based on the illusion engine through the algorithm of a triangular tangent plane, and can realize the correct positioning of the spherical coordinate system in the digital twin city technology of the illusion engine; the coordinate system established by the method is quick to realize, the precision is variable, and the precision can be changed at will according to different technical applications.
Description
Technical Field
The invention relates to the technical field of digital twins, in particular to a method and a device for realizing a digital twins city space coordinate system based on an illusion engine and a storage medium.
Background
With the development of scientific technology, the digital twin technology has been gradually changed from the theoretical concept to the stage of technical application. However, at present, there are many technical problems to be solved in mapping from a physical world to a virtual world, and at present, there is no technology that can perfectly solve all the problems existing in the "digital twin", and under the current technical environment, the game industry and the GIS industry are the most likely leading industries of the digital twin, however, who can first cross the framework of the own field, integrate the technical advantages of the own from a macroscopic level, and launch to a more diverse application scene, will certainly take the initiative in the "digital twin" field in the future.
The implementation of spatial physical coordinate techniques in game engines is a necessary trend in digital twin development. The core advantage of the game engine is mainly strong scene expressive force, on one hand, rich and fine scene expressions can be constructed through real-time dynamic rendering, so that the world which we see is better restored; on the other hand, powerful physical engines can truly simulate the operation rules of the real world, and the technologies are also needed urgently by 'digital twin'. However, for the digital twin, it is far from sufficient to consider artificial modeling, and it is also necessary to process the urban floor acquired by other ways, and the purpose of processing is not just "scene building", but needs to provide comprehensive support for the storage, exchange and business analysis level of data, and these technical capabilities are not available at present in game companies, which is the excellence of the GIS industry.
The core value of the GIS, which is one of the earliest technologies used for city management, is to provide a data management framework based on geography, and realize unified management and integration of various data resources based on the data management framework. Compared with a game engine, the GIS has compatibility at a data level, and data (remote sensing images, vector data, Iot, oblique photography, BIM) and the like required by various industries can be put into a space-time frame to form data assets of a city according to the requirement of city development. If the advantages of the two pairs are combined together, after data is acquired, all technical links from data management to scene construction to visual expression are opened, and a set of efficient technical solution is formed, so that the development of a digital twin is certainly promoted.
However, in the prior art, the conventional spherical coordinate cannot be directly used in the illusion, and due to the particularity of the spherical coordinate, the conventional method for positioning the spherical coordinate in the plane coordinate system of the illusion engine usually causes a large error, and cannot accurately position the spherical coordinate in the plane coordinate system of the illusion engine.
Disclosure of Invention
To overcome the above-mentioned deficiencies in the prior art, the present invention is directed to a method for implementing a sphere space system in an illusion engine space.
The patent also discloses a realization method of a digital twin city space coordinate system based on the illusion engine, which comprises the following steps:
1) establishing a plane space coordinate system of the illusion engine;
2) in the coverage range of the spherical space system, selecting three positioning origins on the current spherical space system to construct an equilateral triangle according to the defined distance difference as the side length;
3) mapping the newly constructed spherical coordinate data of the equilateral triangle coverage area to a plane space coordinate system of the illusion engine, and storing the mapped plane space coordinate data of the illusion engine into a database;
4) selecting a new positioning origin on the current spherical space system, and constructing a new equilateral triangle by using the end points of two original equilateral triangles and the new positioning origin by using the defined distance difference as the side length;
5) and repeating the steps 3) and 4) until the constructed equilateral triangle completely covers the spherical space system, and the spherical coordinate data of the equilateral triangle coverage area are completely mapped into the plane space coordinate system of the illusion engine.
Preferably, the longitude and latitude value data of the spherical coordinate data are accurate to eight decimal points.
Preferably, the z-axis data is unchanged and the x-axis and y-axis data are mapped when the spherical coordinate data in step 3) are mapped into the plane space coordinate system of the illusion engine.
Preferably, the magnitude of the distance difference as a side length is adjustable.
Preferably, the precision of the plane space coordinate system of the illusion engine is 5 m.
The patent also discloses a product defect detection device, which comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that the processor implements the steps of the method when executing the computer program.
The patent also discloses a computer storage medium for storing a computer program which, when executed by a processor, implements the steps of the method as claimed.
The technical scheme has the following beneficial effects: the coordinate system implementation method can map the traditional spherical system gis to a plane space coordinate system based on the illusion engine through the algorithm of a triangular tangent plane, and can realize the correct positioning of the spherical coordinate system in the digital twin city technology of the illusion engine; the coordinate system established by the method is quick to realize, the precision is variable, and the precision can be changed at will according to different technical applications. The key technical variables of the coordinate implementation method are all variable: the variable precision of the plane space coordinate system of the magic engine, the variable distance difference of the root positioning origin and the variable precision of the longitude and latitude of the spherical coordinate system can meet the different precision requirements of the digital technology on the coordinate system.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention.
Fig. 2 is a schematic diagram of the coordinate mapping of the present patent.
Fig. 3 is a schematic diagram of an equilateral triangle construction according to the patent.
Detailed Description
The following description of the embodiments of the present invention is provided for illustrative purposes, and other advantages and effects of the present invention will become apparent to those skilled in the art from the present disclosure.
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the invention.
As shown in fig. 1, this patent discloses a digital twin city space coordinate system implementation method based on an illusion engine, and its main purpose is to map the traditional spherical system method gis into a planar space coordinate system based on the illusion engine, so as to implement correct positioning of the spherical coordinate system in the digital twin city technology of the illusion engine. The coordinate system implementation method specifically comprises the following steps:
s1: and establishing a plane space coordinate system of the illusion engine under the virtual engine environment, wherein the precision of the plane space coordinate system of the illusion engine is 5 m.
S2: in the coverage range of the spherical space system, according to the defined distance difference as the side length, selecting three positioning origin points on the current spherical space system as root positioning origin points, and constructing an equilateral triangle (as shown in fig. 3); the distance difference is adjustable, the positioning accuracy of the coordinates is affected by the size of the distance difference, the positioning accuracy is worse when the distance difference is larger, and the positioning accuracy is higher when the distance difference is smaller.
S3: and (3) mapping the spherical coordinate data of the newly constructed equilateral triangle coverage area (including the end points of the equilateral triangle) into a plane space coordinate system of the illusion engine (as shown in figure 2), and storing the mapped plane space coordinate data of the illusion engine into a database, wherein the longitude and latitude value data of the spherical coordinate data are accurate to eight decimal points. When mapping is carried out, the z-axis data is unchanged when the medium spherical coordinate data is mapped into the plane space coordinate system of the illusion engine, and the x-axis data and the y-axis data are mapped.
S4: selecting a new positioning origin on the current spherical space system, and constructing a new equilateral triangle by using the end points of two original equilateral triangles and the new positioning origin by using the defined distance difference as the side length;
s5: and repeating the steps S3 and S4 until the constructed equilateral triangle completely covers the spherical space system, and the spherical coordinate data of the equilateral triangle coverage area are completely mapped into the plane space coordinate system of the illusion engine.
In order to more clearly illustrate the technical solution of the present invention, the following describes the technical solution of the present invention in more detail through specific embodiments:
firstly, a plane space coordinate system of the phantom engine is established, then three root positioning origin points are selected on a spherical coordinate system to be converted to construct an equilateral triangle (as shown in fig. 3), then points on the equilateral triangle are mapped to the plane space coordinate system of the phantom engine, as shown in fig. 2, a point a is mapped to a point a1, all points covered by the equilateral triangle are mapped in the manner, and corresponding point coordinates are obtained on the plane space coordinate system of the phantom engine.
Next, as shown in fig. 3, a plurality of secondary positioning points are selected on the spherical coordinate system, each secondary positioning point and two root positioning origins construct a new equilateral triangle, and then all points covered by the newly constructed equilateral triangle are mapped to the plane space coordinate system of the illusion engine by the method shown in fig. 2, and point B is mapped to point B1 as shown in the figure. Then, as shown in fig. 3, three positioning points are selected on the spherical coordinate system, and a plurality of three positioning points can be selected according to calculation, each three positioning point and two end points (including a root positioning point and a second positioning point) originally used for constructing an equilateral triangle construct a new equilateral triangle, and then, as shown in fig. 2, all points covered by the newly constructed equilateral triangle are mapped to the plane space coordinate system of the phantom engine, and as shown in the figure, the point C is mapped to the point C1. And repeating the steps continuously until the spherical coordinate system (the longitude and the latitude are accurate to eight bits behind the decimal point) of the coverage range of the current space system is completely mapped to the virtual engine plane-based space coordinate system (the precision is 5 m).
By adopting the coordinate system implementation method, when a data service request carrying a spherical coordinate system exists, coordinate point data of the spherical coordinate system can be directly converted into coordinate point data based on a phantom engine plane space coordinate system through the coordinate system mapping database which is initially acquired, so that the digital twin city constructed by the phantom engine can be directly positioned.
In order to achieve the above object, an embodiment of the present application further provides an apparatus for implementing a digital twin city space coordinate system based on an illusion engine, which may specifically be a personal computer, a server, a network device, and the like, where the entity device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing the computer program to implement the step methods of S1-S5 described above.
Accordingly, the present embodiment also provides a computer storage medium having a computer program stored thereon, which when executed by a processor implements the method of steps described in S1 to S5 above. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present application.
The coordinate system implementation method can map the traditional spherical system gis to a plane space coordinate system based on the illusion engine through the algorithm of a triangular tangent plane, and can realize the correct positioning of the spherical coordinate system in the digital twin city technology of the illusion engine; the coordinate system established by the method is quick to realize, the precision is variable, and the precision can be changed at will according to different technical applications. The key technical variables of the coordinate implementation method are all variable: the variable precision of the plane space coordinate system of the magic engine, the variable distance difference of the root positioning origin and the variable precision of the longitude and latitude of the spherical coordinate system can meet the different precision requirements of the digital technology on the coordinate system.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (6)
1. A method for realizing a digital twin city space coordinate system based on a ghost engine is characterized by comprising the following steps:
1) establishing a plane space coordinate system of the illusion engine;
2) in the coverage range of the spherical space system, selecting three positioning origins on the current spherical space system to construct an equilateral triangle according to the defined distance difference as the side length;
3) mapping the newly constructed spherical coordinate data of the equilateral triangle coverage area to a plane space coordinate system of the illusion engine, and storing the mapped plane space coordinate data of the illusion engine into a database;
4) selecting a new positioning origin on the current spherical space system, and constructing a new equilateral triangle by using the end points of two original equilateral triangles and the new positioning origin by using the defined distance difference as the side length;
5) and repeating the steps 3) and 4) until the constructed equilateral triangle completely covers the spherical space system, and the spherical coordinate data of the equilateral triangle coverage area are completely mapped into the plane space coordinate system of the illusion engine.
2. The illusion engine-based digital twin city spatial coordinate system implementation method of claim 1, wherein: and the longitude and latitude value data of the spherical coordinate data are accurate to eight decimal points.
3. The illusion engine-based digital twin city spatial coordinate system implementation method of claim 1, wherein: and 3) when the spherical coordinate data are mapped into a plane space coordinate system of the illusion engine, the data of the z axis are unchanged, and the data of the x axis and the data of the y axis are mapped.
4. The illusion engine-based digital twin city spatial coordinate system implementation method of claim 1, wherein: the magnitude of the distance difference as a side length is adjustable.
5. An illusion engine based digital twin city space coordinate system implementation apparatus comprising a memory and a processor, the memory having stored therein a computer program, wherein the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 4.
6. A computer storage medium for storing a computer program, characterized in that the computer program, when being executed by a processor, realizes the steps of the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011627355.5A CN112749244A (en) | 2020-12-30 | 2020-12-30 | Method and device for realizing digital twin city space coordinate system based on illusion engine and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011627355.5A CN112749244A (en) | 2020-12-30 | 2020-12-30 | Method and device for realizing digital twin city space coordinate system based on illusion engine and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112749244A true CN112749244A (en) | 2021-05-04 |
Family
ID=75650519
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011627355.5A Pending CN112749244A (en) | 2020-12-30 | 2020-12-30 | Method and device for realizing digital twin city space coordinate system based on illusion engine and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112749244A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113763508A (en) * | 2021-08-27 | 2021-12-07 | 广州市城市规划勘测设计研究院 | Vector data processing method, device and medium based on virtual engine |
CN113989452A (en) * | 2021-10-28 | 2022-01-28 | 重庆允成互联网科技有限公司 | GIS-based digital twin city coordinate positioning method and monitoring system |
CN114329747A (en) * | 2022-03-08 | 2022-04-12 | 盈嘉互联(北京)科技有限公司 | Building digital twin oriented virtual and real entity coordinate mapping method and system |
CN114546141A (en) * | 2022-04-25 | 2022-05-27 | 成都柔水科技有限公司 | Camera control method based on UE5 and suitable for GIS application |
CN115409962A (en) * | 2022-07-15 | 2022-11-29 | 浙江大华技术股份有限公司 | Method for constructing coordinate system in illusion engine, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102044088A (en) * | 2010-11-09 | 2011-05-04 | 广州市城市规划勘测设计研究院 | LOD (level of detail) model quick constructing method for scanning mass scattered point cloud by ground laser in single station |
CN104318617A (en) * | 2014-10-17 | 2015-01-28 | 福建师范大学 | Three-dimensional geographical scene simulation method for virtual emergency exercises |
CN106534670A (en) * | 2016-10-25 | 2017-03-22 | 成都通甲优博科技有限责任公司 | Panoramic video generating method based on fixedly connected fisheye lens camera unit |
CN106649821A (en) * | 2016-12-29 | 2017-05-10 | 郑州星途信息科技有限公司 | Space target index constructing method, space target collision pre-warning method, space target region query region and space target nearest neighbor query method |
CN106780317A (en) * | 2017-01-25 | 2017-05-31 | 北京数码视讯科技股份有限公司 | panoramic projection method and device |
CN108021766A (en) * | 2017-12-21 | 2018-05-11 | 长春明轩文化传媒有限公司 | The virtual reality scenario generation method and device built in a kind of digital city |
CN110321443A (en) * | 2019-06-27 | 2019-10-11 | 埃洛克航空科技(北京)有限公司 | Three-dimensional live model data base construction method, device and data service system |
CN110348138A (en) * | 2019-07-15 | 2019-10-18 | 辽宁瑞华实业集团高新科技有限公司 | A kind of real-time method, apparatus and storage medium for generating true underworkings model |
-
2020
- 2020-12-30 CN CN202011627355.5A patent/CN112749244A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102044088A (en) * | 2010-11-09 | 2011-05-04 | 广州市城市规划勘测设计研究院 | LOD (level of detail) model quick constructing method for scanning mass scattered point cloud by ground laser in single station |
CN104318617A (en) * | 2014-10-17 | 2015-01-28 | 福建师范大学 | Three-dimensional geographical scene simulation method for virtual emergency exercises |
CN106534670A (en) * | 2016-10-25 | 2017-03-22 | 成都通甲优博科技有限责任公司 | Panoramic video generating method based on fixedly connected fisheye lens camera unit |
CN106649821A (en) * | 2016-12-29 | 2017-05-10 | 郑州星途信息科技有限公司 | Space target index constructing method, space target collision pre-warning method, space target region query region and space target nearest neighbor query method |
CN106780317A (en) * | 2017-01-25 | 2017-05-31 | 北京数码视讯科技股份有限公司 | panoramic projection method and device |
CN108021766A (en) * | 2017-12-21 | 2018-05-11 | 长春明轩文化传媒有限公司 | The virtual reality scenario generation method and device built in a kind of digital city |
CN110321443A (en) * | 2019-06-27 | 2019-10-11 | 埃洛克航空科技(北京)有限公司 | Three-dimensional live model data base construction method, device and data service system |
CN110348138A (en) * | 2019-07-15 | 2019-10-18 | 辽宁瑞华实业集团高新科技有限公司 | A kind of real-time method, apparatus and storage medium for generating true underworkings model |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113763508A (en) * | 2021-08-27 | 2021-12-07 | 广州市城市规划勘测设计研究院 | Vector data processing method, device and medium based on virtual engine |
CN113989452A (en) * | 2021-10-28 | 2022-01-28 | 重庆允成互联网科技有限公司 | GIS-based digital twin city coordinate positioning method and monitoring system |
CN113989452B (en) * | 2021-10-28 | 2022-07-19 | 重庆允成互联网科技有限公司 | GIS-based digital twin city coordinate positioning method and monitoring system |
CN114329747A (en) * | 2022-03-08 | 2022-04-12 | 盈嘉互联(北京)科技有限公司 | Building digital twin oriented virtual and real entity coordinate mapping method and system |
CN114329747B (en) * | 2022-03-08 | 2022-05-10 | 盈嘉互联(北京)科技有限公司 | Virtual-real entity coordinate mapping method and system for building digital twins |
CN114546141A (en) * | 2022-04-25 | 2022-05-27 | 成都柔水科技有限公司 | Camera control method based on UE5 and suitable for GIS application |
CN115409962A (en) * | 2022-07-15 | 2022-11-29 | 浙江大华技术股份有限公司 | Method for constructing coordinate system in illusion engine, electronic equipment and storage medium |
CN115409962B (en) * | 2022-07-15 | 2023-08-18 | 浙江大华技术股份有限公司 | Method for constructing coordinate system in illusion engine, electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112749244A (en) | Method and device for realizing digital twin city space coordinate system based on illusion engine and storage medium | |
US10137646B2 (en) | Preparing a polygon mesh for printing | |
CN112632683A (en) | Digital twin city space positioning method and device based on illusion engine and storage medium | |
CN109726261A (en) | A kind of heating power drawing generating method and device | |
CN104157011A (en) | Modeling method for three-dimensional terrain | |
CN104267940A (en) | Quick map tile generation method based on CPU+GPU | |
Lee et al. | Implementation of an open platform for 3D spatial information based on WebGL | |
Zhou et al. | OutDet: an algorithm for extracting the outer surfaces of building information models for integration with geographic information systems | |
CN105741340B (en) | A kind of transmission line of electricity three-dimensional scenic emulation mode and system for web page display | |
CN109388843B (en) | Visualization system and method of truss antenna based on VTK (virtual terminal K), and terminal | |
CN110399442A (en) | Ground picture capturing method and terminal device based on transmission tower | |
CN116385622B (en) | Cloud image processing method, cloud image processing device, computer and readable storage medium | |
CN113096251A (en) | Model processing method, device and equipment based on CIM and storage medium | |
CN113065180B (en) | GIM analysis method, GIM analysis device, GIM analysis equipment and storage medium | |
Masood et al. | High‐performance virtual globe GPU terrain rendering using game engine | |
CN110832886B (en) | System and method for determining location identifier | |
CN116543134A (en) | Method, device, computer equipment and medium for constructing digital twin model | |
CN115511701A (en) | Method and device for converting geographic information | |
CN116030100A (en) | BIM-based high-precision live-action mapping system | |
Qiu et al. | Web-based 3D map visualization using WebGL | |
JP2023021469A (en) | Positioning method, positioning apparatus, method of generating visual map, and apparatus thereof | |
CN115187709A (en) | Geographic model processing method and device, electronic equipment and readable storage medium | |
Ellul et al. | LOD 1 VS. LOD 2–Preliminary investigations into differences in mobile rendering performance | |
CN112632681B (en) | Digital twin city model data individuation realization method and device based on illusion engine and storage medium | |
CN116228991B (en) | Coordinate conversion method and device, electronic equipment and storage 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 |