A method for generating three-dimensional coordinates of a target area

CN118379448BActive Publication Date: 2025-02-25CHINA RAILWAY FIRST GROUP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410484670.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2025-02-25
Estimated Expiration
2044-04-22

AI Technical Summary

Technical Problem

[0002]现有技术中,对于全球各个地区的三维坐标数据,大多采用人工勘察的方式,由于勘察的地区大多处于野外或人烟稀少的地区,对于勘察人员来说存在一定的危险性和不稳定性,而且由于是人工对地形的三维坐标数据进行采集,导致了部分区域地形的三维坐标数据不完整,进而使得到的三维坐标数据不准确,且采集的效率不高

Benefits of technology

[0027] 1. Since the terrain model data of the target area in the geospatial data cloud is collected by satellite, the problem of incomplete data and low accuracy caused by manual survey in the prior art is solved; thus improving the acquisition of the target. The integrity and accuracy of regional three-dimensional data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379448B_ABST
    Figure CN118379448B_ABST
Patent Text Reader

Abstract

A method for generating three-dimensional coordinates of a target area relates to the field of computer technology. In this method, the method includes obtaining a first terrain model of a target area from a geospatial data cloud; preprocessing the first terrain model through a first software to generate a second terrain model; converting the format of the second terrain model through a second software to obtain a third terrain model; and processing the third terrain data through a third software to generate the three-dimensional coordinates of the target area. Implementing the technical solution provided by the present application can improve the accuracy and efficiency of obtaining the three-dimensional coordinates of the target area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method for generating three-dimensional coordinates of a target area. Background Art

[0002] In the prior art, the three-dimensional coordinate data of various regions in the world are mostly obtained by manual survey. Since the surveyed areas are mostly in the wild or sparsely populated areas, there are certain risks and instability for the surveyors. In addition, since the three-dimensional coordinate data of the terrain is collected manually, the three-dimensional coordinate data of the terrain in some areas is incomplete, which makes the obtained three-dimensional coordinate data inaccurate and the collection efficiency is low.

[0003] Therefore, how to improve the accuracy and efficiency of acquiring three-dimensional coordinate data becomes a problem that needs to be solved. Summary of the invention

[0004] The present application provides a method for generating three-dimensional coordinates of a target area, which can improve the accuracy and efficiency of obtaining the three-dimensional coordinates of the target area.

[0005] In a first aspect, the present application provides a method for generating three-dimensional coordinates of a target area, comprising obtaining a first terrain model of the target area from a geospatial data cloud; preprocessing the first terrain model through a first software to generate a second terrain model; converting the format of the second terrain model through a second software to obtain a third terrain model; and processing the third terrain model through a third software to generate the three-dimensional coordinates of the target area.

[0006] The embodiment of the present application provides a method for generating three-dimensional coordinates of a target area, which is converted into three-dimensional coordinates of the target area based on the terrain model of the target area obtained from the geospatial data cloud. Compared with the manual survey method in the prior art, since the terrain model data of the target area in the geospatial data cloud is acquired by satellite, the integrity and accuracy of the three-dimensional data of the target area are improved. At the same time, since no manual survey is required, the safety of the surveyors is improved and the efficiency of obtaining three-dimensional coordinate points of the region is improved. Furthermore, since the geospatial data cloud includes terrain model data of various regions in the world, the three-dimensional coordinate data of any region in the world can be obtained through the method provided by the present application, thereby increasing the scope of obtaining three-dimensional coordinate data.

[0007] In a possible implementation, based on a preset range of the target area, the first terrain model is clipped by the first software to generate a fourth terrain model; and the format of the fourth terrain model is converted by the first software to obtain the second terrain model.

[0008] By adopting the above technical solution, the accuracy of the obtained second model can be improved by cutting and converting the format of the first terrain model according to the preset range of the target area through the first software.

[0009] In a possible implementation, the first terrain model is scaled by the first software to determine whether the scaled first terrain model is within a preset range of the target area; when the scaled first terrain model is within the preset range of the target area, the scaled first terrain model is cropped to generate a fourth terrain model.

[0010] By adopting the above technical solution, by judging whether the scaled first terrain model is within the preset range of the target, the first terrain model is clipped, thereby improving the accuracy of clipping.

[0011] In a possible implementation, the third terrain model is converted into a format by fourth software to generate a third terrain model after format conversion; and the third terrain model after format conversion is processed by third software to generate three-dimensional coordinates of the target area.

[0012] By adopting the above technical solution, the accuracy of generating the three-dimensional coordinates of the target area can be improved.

[0013] In a possible implementation, the format-converted third terrain model is converted into a geometric shape by a third software; the first three-dimensional coordinates of the geometric shape are obtained; and the first three-dimensional coordinates of the geometric shape are determined as the three-dimensional coordinates of the target area.

[0014] By adopting the above technical solution, the third terrain model after format conversion is converted into a geometric shape, so that the three-dimensional coordinates of the target area can be obtained.

[0015] In one possible implementation, the second three-dimensional coordinates of the geometric shape are obtained, and the second three-dimensional coordinates of the geometric shape are a two-dimensional array; the second three-dimensional coordinates of the geometric shape are converted into the first three-dimensional coordinates of the geometric shape by third software, and the first three-dimensional coordinates of the geometric shape are a one-dimensional array.

[0016] By adopting the above technical solution, the second three-dimensional coordinates of the two-dimensional array of the geometric shape are converted into three-dimensional coordinates of a one-dimensional array, so that the accuracy of the three-dimensional coordinates of the target area can be improved.

[0017] In a possible implementation manner, the three-dimensional coordinates of the target area are converted into a fifth terrain model by fifth software, and the fifth terrain model is a BIM model.

[0018] In a second aspect, the present application provides a device for generating three-dimensional coordinates of a target area, the device comprising:

[0019] An acquisition module is used to acquire a first terrain model of a target area from a geospatial data cloud; a preprocessing module is used to preprocess the first terrain model through a first software to generate a second terrain model; a format conversion module is used to convert the format of the second terrain model through a second software to obtain a third terrain model; a processing module is used to process the third terrain model through a third software to generate three-dimensional coordinates of the target area.

[0020] In a possible implementation, the preprocessing module further includes a scaling module, which is used to scale the first terrain model through the first software, and determine whether the scaled first terrain model is within a preset range of the target area.

[0021] In a possible implementation, the preprocessing module further includes a clipping module, which is used to clip the scaled first terrain model to generate a fourth terrain model when the scaled first terrain model is within a preset range of the target area.

[0022] In a possible implementation, the format conversion module further includes a format conversion submodule, which is used to perform format conversion on the third terrain model by using fourth software to generate a third terrain model after format conversion.

[0023] In one possible implementation, the processing module also includes a processing sub-module module, which is used to obtain the second three-dimensional coordinates of the geometric shape, and the second three-dimensional coordinates are a two-dimensional array; the second three-dimensional coordinates are converted into first three-dimensional coordinates by third software, and the first three-dimensional coordinates are a one-dimensional array.

[0024] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory and an interface; the memory is used to store instructions; the interface is used to communicate with other devices; the processor is used to execute the instructions stored in the memory so that the electronic device executes the method described in the first aspect.

[0025] In a fourth aspect, an embodiment of the present application provides a readable storage medium, which includes computer instructions. When the computer instructions are executed on a computer, the computer executes the method described in the first aspect.

[0026] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0027] 1. Since the terrain model data of the target area in the geospatial data cloud is collected by satellite, the problem of incomplete data and low accuracy caused by manual survey in the prior art is solved; thereby improving the integrity and accuracy of the three-dimensional data of the target area.

[0028] 2. Because the terrain model data of geospatial cloud data is processed by software to generate the three-dimensional coordinates of the target area, there is no need for surveyors to conduct on-site surveys in the target area, which improves the safety of surveyors and reduces labor costs.

[0029] 3. Since the geospatial data cloud includes terrain model data of various regions in the world, the three-dimensional coordinate data of any region in the world can be obtained through the method provided by this application, thereby increasing the scope of obtaining three-dimensional coordinate data. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a flow chart of a method for generating three-dimensional coordinates of a target area provided in an embodiment of the present application.

[0031] Figure 2 It is a flow chart of obtaining the three-dimensional coordinates of the target area through the third software provided in an embodiment of the present application.

[0032] Figure 3 It is a possible schematic diagram of a device for generating three-dimensional coordinates of a target area provided in an embodiment of the present application.

[0033] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0035] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0036] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0037] In the prior art, the three-dimensional coordinate data of various regions in the world are mostly obtained by manual survey. Since the surveyed areas are mostly in the wild or sparsely populated areas, there are certain risks and instability for the surveyors. In addition, since the three-dimensional coordinate data of the terrain is collected manually, the three-dimensional coordinate data of the terrain in some areas is incomplete, which makes the obtained three-dimensional coordinate data inaccurate and inefficient.

[0038] The method for generating three-dimensional coordinates of a target area provided in an embodiment of the present application is based on converting the terrain model of the target area obtained from the geospatial data cloud into the three-dimensional coordinates of the target area. Compared with the manual survey method in the prior art, since the terrain model data of the target area in the geospatial data cloud is acquired by satellite, the integrity and accuracy of the three-dimensional data of the target area are improved. At the same time, since no manual survey is required, the safety of the surveyors is improved. Furthermore, since the geospatial data cloud includes terrain model data of various regions in the world, the three-dimensional coordinate data of any region in the world can be obtained through the method provided by the present application, thereby increasing the scope of obtaining three-dimensional coordinate data.

[0039] Combine the following Figure 1 A method for generating three-dimensional coordinates of a target area provided in an embodiment of the present application is described in more detail. Figure 1 , Figure 1 1 is a flow chart of a method for generating three-dimensional coordinates of a target area provided by an embodiment of the present application. The flow chart 100 of the method for generating three-dimensional coordinates of a target area includes:

[0040] Step 101: Acquire a first terrain model of a target area from a geospatial data cloud.

[0041] In the embodiment of the present application, first log in to the website of the geospatial data cloud, retrieve the target area through the geospatial data cloud platform, and download the terrain model data of the target area, that is, the Dem model of the target area, which is a GIS model. Among them, the Dem model is a digital elevation model (Digital Elevation Model), which is a physical ground model that represents the ground elevation in the form of a set of ordered numerical arrays. It is a branch of (Digital Terrain Model, referred to as DTM), and other various terrain characteristic values ​​can be derived from it. It is generally believed that Dem describes the spatial distribution of linear and nonlinear combinations of various geomorphic factors including elevation, such as slope, slope aspect, slope change rate and other factors, wherein Dem is a zero-order simple single digital geomorphic model, and other geomorphic characteristics such as slope, slope aspect and slope change rate can be derived on the basis of Dem. Further, the data format of the Dem model of the target area obtained is tif format.

[0042] Step 102: preprocess the first terrain model by using the first software to generate a second terrain model.

[0043] In the embodiment of the present application, the first software is GIS software, including but not limited to MapGIS, Super MapGIS, IMAGIS, GISVRMap3.0, GeoStar, CCGIS, Evia Earth, ArcGIS, InterGraph, EV Globe, GeoGlobe, CityMaker, QGIS, etc. In the embodiment of the present application, the first software takes QGIS as an example to explain the embodiment of the present application in detail. QGIS is an open source desktop geographic information system, which can be used for browsing, editing, map projection and analysis of geospatial data. In the embodiment of the present application, the first terrain model of the target area obtained from the geospatial data cloud, that is, the Dem model of the target area, is preprocessed by QGIS software to generate a second terrain model.

[0044] In a possible implementation, the first terrain model is preprocessed by the first software to generate the second terrain model, including: based on a preset range of the target area, the first terrain model is cropped by the first software to generate a fourth terrain model; and the fourth terrain model is format converted by the first software to obtain the second terrain model.

[0045] In an embodiment of the present application, the Dem model is first imported into the QGIS software, and the size of the Dem model is cropped according to the preset range of the target area. The cropping methods include but are not limited to: cropping from layer calculation, cropping from layout calculation, drawing on the current map canvas, cropping in the current viewing angle range, and cropping through a polygonal box. The embodiment of the present application adopts the method of cropping in the current viewing angle range to crop the Dem model according to the preset range of the target area, and converts the format of the Dem model of the cropped target area, converting the Dem model in tif format into a Dem model in glb format, and further saving the converted Dem model of the target area in glb format.

[0046] In a possible implementation, based on a preset range of the target area, the first terrain model is cropped by the first software to generate a fourth terrain model, including: scaling the first terrain model by the first software, and determining whether the scaled first terrain model is within the preset range of the target area; when the scaled first terrain model is within the preset range of the target area, cropping the scaled first terrain model to generate the fourth terrain model.

[0047] In the embodiment of the present application, since the adopted cropping method is cropping within the current viewing angle range, before the Dem model of the target area is cropped according to the preset range through QGIS, the Dem model needs to be scaled. During the scaling process, it is determined whether the Dem model of the current viewing angle range is within the preset range of the target area. If it is within the preset range of the target area, the Dem model of the current viewing angle range is cropped; if not, the Dem model of the target area continues to be scaled.

[0048] In another embodiment of the present application, the Dem model of the target area can also be cropped by using the cropping method drawn on the map canvas, that is, in the map canvas, according to the preset range of the target area, the preset range of the target area is drawn on the Dem model by a brush, and cropping is performed after the drawing is completed, and the cropped Dem model of the preset range of the target area is converted into a format, and the Dem model in tif format is converted into a Dem model in glb format, and the Dem model in glb format is saved. Among them, cropping the Dem model by QGIS is cropping the Dem model on a two-dimensional plane.

[0049] Step 103: Convert the format of the second terrain model by using the second software to generate a third terrain model.

[0050] In the embodiment of the present application, the second software is a three-dimensional drawing software, which may include but is not limited to Maya, 3ds MAX, lumion, Keyshot, CINMEA 4D and Blender, etc. In the embodiment of the present application, the second software takes Blender as an example to explain the embodiment of the present application in detail. Blender is a free open source three-dimensional graphics software that provides a series of animation short film production solutions from modeling, animation, materials, rendering, to audio processing, video editing, etc. Further, in the embodiment of the present application, the Dem model in the glb format obtained in step 102 is opened in Blender, the Dem model in the glb format is scaled in Blender, and after adjusting to a suitable size, the Dem model in the glb format is converted into a format, the Dem model in the glb format is converted into a Dem model in the dxf format, and the Dem model in the dxf format is saved.

[0051] In another implementation of the present application, before converting the Dem model in glb format into the Dem model in dxf format through Blender, the Dem model in glb format can also be optimized through Blender, the two-dimensional Dem model can be adjusted and scaled into a three-dimensional model, and the three-dimensional Dem model can be more finely cropped. For example, within the preset range of the target area, the Dem model can be cropped in various directions as desired, wherein the cropping methods include arbitrary shape box cropping, map canvas drawing cropping, cropping according to model structure, etc. After cropping the Dem model in glb format through Blender, the format conversion is performed and the dem model converted into dxf format is saved.

[0052] Step 104: Process the third terrain model through third software to generate three-dimensional coordinates of the target area.

[0053] In the embodiment of the present application, the third software takes Revit as an example to explain the embodiment of the present application in detail. First, the Dem model of the target area is opened in the Revit software, and the Dem model is processed by Revit, including setting each part of the Dem model according to a preset ratio to make each part of the Dem model clear, and then obtaining the three-dimensional coordinates of the target area.

[0054] In a possible implementation, before the third terrain model is processed by the third software to generate the three-dimensional coordinates of the target area, the method includes: converting the format of the third terrain model by the fourth software to generate the third terrain model after the format conversion; and processing the third terrain model after the format conversion by the third software to generate the three-dimensional coordinates of the target area.

[0055] In an embodiment of the present application, the target area Dem model in dxf format obtained above is processed by the third software. Before obtaining the three-dimensional coordinates of the target area, it is necessary to convert the format of the target area Dem model in dxf format by the fourth software. In an embodiment of the present application, the fourth software is AUTO CAD. Further, the target area Dem model in dxf format is opened by AUTO CAD, and the dxf format is converted into the target area Dem model in dwg format.

[0056] In a possible implementation, the third terrain model is processed by a third software to generate three-dimensional coordinates of the target area, including: converting the third terrain model after format conversion into a geometric shape by the third software; obtaining the first three-dimensional coordinates of the geometric shape; and determining the first three-dimensional coordinates of the geometric shape as the three-dimensional coordinates of the target area.

[0057] In the embodiment of the present application, the target area Dem model in dxf format needs to be processed by Dynamo in Revit to generate the three-dimensional coordinates of the target area. Figure 2 , Figure 2 It is a flow chart of obtaining the three-dimensional coordinates of the target area by the third software provided in an embodiment of the present application, wherein the process 200 of processing the Dem model by Dynamo includes:

[0058] 201: Create a Revit schedule through Dynamo and add the columns to be displayed;

[0059] First, create a list in Dynamo, select the geometric elements in the project in Revit in the blank list, and in the embodiment of the present application, select the Dem model of the target area in Revit;

[0060] 202: Get all parameter information in the geometric primitive;

[0061] In the embodiment of the present application, all parameter information in the Dem model of the target area is obtained;

[0062] 203: Define all parameter information as geometric shapes;

[0063] In an embodiment of the present application, the Dem model of the target area is converted into a geometric shape, namely a mesh model, according to all parameter information of the Dem model of the target area. The mesh model is a method commonly used in computer graphics to represent three-dimensional geometric shapes. It consists of a series of vertices (Vertices) and edges (Edges) connecting these vertices. By connecting vertices and edges, polygons of various shapes, such as triangles, quadrilaterals, etc., can be formed.

[0064] 204: Obtain the first three-dimensional coordinates of the geometric shape;

[0065] In the embodiment of the present application, the first three-dimensional coordinates of the mesh model are acquired, and then the three-dimensional coordinates of the target area are obtained.

[0066] In one possible implementation, obtaining the first three-dimensional coordinates of a geometric shape includes: obtaining the second three-dimensional coordinates of the geometric shape, the second three-dimensional coordinates of the geometric shape being a two-dimensional array; and converting the second three-dimensional coordinates of the geometric shape into the first three-dimensional coordinates of the geometric shape by third software, the first three-dimensional coordinates of the geometric shape being a one-dimensional array.

[0067] In an embodiment of the present application, as in the above step 204, the point coordinates of the geometric shape are obtained, wherein the second three-dimensional coordinates of the mesh model are obtained as a two-dimensional array. The second three-dimensional coordinates of the mesh model are converted into a one-dimensional array through pynamo and exported in a table format. The save format can be Excel, Xaml, etc., and the three-dimensional coordinates of the target area are obtained.

[0068] In a possible implementation, the first terrain model is a GIS model. After the third terrain data is processed by the third software to generate the three-dimensional coordinates of the target area, it also includes: converting the three-dimensional coordinates of the target area into a fifth terrain model by the fifth software, and the fifth terrain model is a BIM model.

[0069] In the embodiment of the present application, the Dem model of the target area is obtained from the geospatial data cloud as the GIS model of the target area. The three-dimensional coordinates of the target area are obtained through the above steps, and then the fifth software can be used to convert the obtained three-dimensional coordinate data into a BIM model of the target area. Among them, the sixth software uses Civil3D. Further, in Civil3D, create a new project, click the toolbar, select point, click point file, select the three-dimensional coordinates of the target area in Excel format, and the BIM model of the target area can be generated.

[0070] It is understandable that in order to achieve Figure 1 and / or Figure 2 The functions described herein are used to generate the three-dimensional coordinates of the target area. The execution subject (such as a server) of the method includes hardware and / or software modules corresponding to the execution of each function. In combination with the steps of the various examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of this application.

[0071] In this embodiment, the execution subject (e.g., server) of the method for generating three-dimensional coordinates of the target area can be divided into functional modules according to the above method example. For example, different functional modules can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0072] In the case of dividing each functional module into corresponding functional modules, Figure 3 A possible schematic diagram of the device 300 for generating three-dimensional coordinates of a target area involved in the above embodiment is shown. Figure 3 The corresponding device 300 for generating the three-dimensional coordinates of the target area may be a software device running on a server, or the device 300 for generating the three-dimensional coordinates of the target area may be a device combining software and hardware, embedded in the execution body (such as a server) of the method for generating the three-dimensional coordinates of the target area. Figure 3 As shown, the device 300 for generating three-dimensional coordinates of a target area may include: an acquisition module 301, used to acquire a first terrain model of the target area from a geospatial data cloud; a preprocessing module 302, used to preprocess the first terrain model through a first software to generate a second terrain model; a format conversion module 303, used to convert the format of the second terrain model through a second software to obtain a third terrain model; a processing module 304; used to process the third terrain model through a third software to generate the three-dimensional coordinates of the target area.

[0073] In a possible implementation, the preprocessing module further includes a scaling module, which is used to scale the first terrain model through the first software, and determine whether the scaled first terrain model is within a preset range of the target area.

[0074] In a possible implementation, the preprocessing module further includes a clipping module, which is used to clip the scaled first terrain model to generate a fourth terrain model when the scaled first terrain model is within a preset range of the target area.

[0075] In a possible implementation, the format conversion module further includes a format conversion submodule, which is used to perform format conversion on the third terrain model by using fourth software to generate a third terrain model after format conversion.

[0076] In one possible implementation, the processing module also includes a processing sub-module for acquiring the second three-dimensional coordinates of the geometric shape, which is a two-dimensional array; and converting the second three-dimensional coordinates of the geometric shape into the first three-dimensional coordinates of the geometric shape through third software, which is a one-dimensional array.

[0077] It should be noted that: the device 300 for generating three-dimensional coordinates of a target area provided in the above embodiment only uses the division of the above functional modules as an example to illustrate when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0078] The present application also discloses an electronic device. Figure 4 , Figure 4 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. The electronic device may be, for example, a server, and the electronic device is used to execute the following Figure 1 or Figure 2 The electronic device may include: at least one processor 401 , at least one network interface 404 , a user interface 403 , a memory 405 , and at least one communication bus 402 .

[0079] The communication bus 402 is used to realize the connection and communication between these components.

[0080] The user interface 403 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 403 may also include a standard wired interface and a wireless interface.

[0081] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0082] Among them, the processor 401 may include one or more processing cores. The processor 401 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 405, and calling data stored in the memory 405. Optionally, the processor 401 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 401 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 401, and it can be implemented separately through a chip.

[0083] Among them, the memory 405 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 405 includes a non-transitory computer-readable storage medium. The memory 405 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 405 may optionally also be at least one storage device located away from the aforementioned processor 401. Refer to Figure 4 , the memory 405 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of a data processing method.

[0084] exist Figure 4In the electronic device shown, the user interface 403 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 401 can be used to call an application program storing a data processing method in the memory 405, and when executed by one or more processors 401, the electronic device executes one or more of the methods described in the above embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0085] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0086] In the several implementation modes provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of unit modules, which is only a logical function division. There may be other division methods in actual implementation, such as multiple unit modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0087] The unit modules described as separate components may or may not be physically separated, and the components displayed as unit modules may or may not be physical unit modules, that is, they may be located in one place or distributed on multiple network unit modules. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0088] In addition, each functional unit module in each embodiment of the present application can be integrated into a processing unit, or each unit module can exist physically separately, or two or more unit modules can be integrated into one unit. The above-mentioned integrated unit module can be implemented in the form of hardware or in the form of software functional unit.

[0089] If the integrated unit module is implemented in the form of a software functional unit module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0090] The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0091] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not described in the present disclosure. The description and examples are to be regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for generating three-dimensional coordinates of a target area, characterized in that: include: Acquire a first terrain model of the target area from a geospatial data cloud; the geospatial data cloud includes terrain model data of various regions around the world, and the terrain model data of the target area is acquired by satellite; Preprocessing the first terrain model through the first software to generate a second terrain model; wherein the first terrain model is a Dem model of the target area, the data format of the Dem model is a tif format, and the first software is a GIS software; Converting the second terrain model into a third terrain model by using a second software, wherein the second software is a three-dimensional mapping software; Processing the third terrain model through a third software to generate the three-dimensional coordinates of the target area; wherein the third software is Revit; The preprocessing of the first terrain model by the first software to generate the second terrain model includes: Based on a preset range of the target area, the first terrain model is clipped by the first software to generate a fourth terrain model; Convert the format of the fourth terrain model by using the first software to obtain the second terrain model; The generating a fourth terrain model by clipping the first terrain model by the first software based on the preset range of the target area includes: scaling the first terrain model by the first software, and determining whether the scaled first terrain model is within a preset range of the target area; When the scaled first terrain model is within the preset range of the target area, the scaled first terrain model is clipped to generate the fourth terrain model; Or, in the map canvas, according to the preset range of the target area, the preset range of the target area is drawn on the first terrain model by a brush, and after drawing, the preset range of the target area is cropped, and the cropped first terrain model of the preset range of the target area is used as the fourth terrain model; The processing of the third terrain model by the third software to generate the three-dimensional coordinates of the target area includes: Performing format conversion on the third terrain model by using fourth software to generate a third terrain model after format conversion; the fourth software is AUTO CAD; Converting the format-converted third terrain model into a geometric shape by using third software; Obtaining first three-dimensional coordinates of the geometric shape; Determining the first three-dimensional coordinates of the geometric shape as the three-dimensional coordinates of the target area; The step of obtaining the first three-dimensional coordinates of the geometric shape comprises: Acquire the second three-dimensional coordinates of the geometric shape, where the second three-dimensional coordinates of the geometric shape are a two-dimensional array; The second three-dimensional coordinates of the geometric shape are converted into the first three-dimensional coordinates of the geometric shape by the third software, and the first three-dimensional coordinates are a one-dimensional array.

2. The method for generating three-dimensional coordinates of a target area according to claim 1, characterized in that: After the third terrain model is processed by the third software to generate the three-dimensional coordinates of the target area, the method further includes: The three-dimensional coordinates of the target area are converted into a fifth terrain model through fifth software, and the fifth terrain model is a BIM model.

3. A device for generating three-dimensional coordinates of a target area, characterized in that: The device is used to execute the method for generating three-dimensional coordinates of a target area according to claim 1 or 2, comprising: An acquisition module, used for acquiring a first terrain model of a target area from a geospatial data cloud; A preprocessing module, used for preprocessing the first terrain model by using a first software to generate a second terrain model; a format conversion module, used for converting the format of the second terrain model through a second software to generate a third terrain model; A processing module; used for processing the third terrain model through a third software to generate the three-dimensional coordinates of the target area.

4. An electronic device, characterized in that: including a processor, a memory, a user interface and a network interface; The memory is used to store instructions; The user interface and network interface are used to communicate with other devices; The processor is used to execute instructions stored in the memory so that the electronic device executes the method according to any one of claims 1-2.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the method steps according to any one of claims 1-2 are executed.

Citation Information

Patent Citations

  • Topographic three-dimensional model and topographic map construction method and system based on laser point cloud, and storage medium

    CN113034689A

  • Three-dimensional geographic scene model construction method and device based on stereoscopic remote sensing image

    CN113506370A