CN118379448A - Method for generating three-dimensional coordinates of target area - Google Patents
Method for generating three-dimensional coordinates of target area Download PDFInfo
- Publication number
- CN118379448A CN118379448A CN202410484670.9A CN202410484670A CN118379448A CN 118379448 A CN118379448 A CN 118379448A CN 202410484670 A CN202410484670 A CN 202410484670A CN 118379448 A CN118379448 A CN 118379448A
- Authority
- CN
- China
- Prior art keywords
- terrain model
- target area
- software
- model
- dimensional coordinates
- 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
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000012545 processing Methods 0.000 claims abstract description 33
- 238000007781 pre-processing Methods 0.000 claims abstract description 15
- 238000006243 chemical reaction Methods 0.000 claims description 33
- 230000006870 function Effects 0.000 description 15
- 238000011835 investigation Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000012876 topography Methods 0.000 description 4
- 238000003491 array Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 239000000779 smoke Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/04—Architectural design, interior design
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Geometry (AREA)
- Software Systems (AREA)
- Remote Sensing (AREA)
- Computer Graphics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
A method for generating three-dimensional coordinates of a target area relates to the technical field of computers. In the method, a first terrain model of a target area is acquired from a geospatial data cloud; preprocessing the first terrain model through first software to generate a second terrain model; converting the format of the second terrain model through second software to obtain a third terrain model; and processing third topographic data through third software to generate three-dimensional coordinates of the target area. By implementing the technical scheme provided by the application, the accuracy and the efficiency of acquiring the three-dimensional coordinates of the target area can be improved.
Description
Technical Field
The application relates to the technical field of computers, in particular to a method for generating three-dimensional coordinates of a target area.
Background
In the prior art, as for three-dimensional coordinate data of each region of the world, a manual investigation mode is mostly adopted, because the investigation region is mostly located in the field or a region with little smoke, certain dangers and instability exist for investigation staff, and because the three-dimensional coordinate data of the topography is manually collected, the three-dimensional coordinate data of the topography of a part of regions are incomplete, the obtained three-dimensional coordinate data is inaccurate, and the collection efficiency is low.
Therefore, how to improve the accuracy and efficiency of acquiring three-dimensional coordinate data becomes a problem to be solved.
Disclosure of Invention
The application provides a method for generating the three-dimensional coordinates of a target area, which can improve the accuracy and efficiency of acquiring the three-dimensional coordinates of the target area.
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 first software to generate a second terrain model; converting the format of the second terrain model through second software to obtain a third terrain model; and processing the third terrain model through third software to generate three-dimensional coordinates of the target area.
According to the method for generating the three-dimensional coordinates of the target area, the three-dimensional coordinates of the target area are converted according to the terrain model of the target area obtained from the geospatial data cloud, and compared with the means of manual investigation in the prior art, the method for generating the three-dimensional coordinates of the target area improves the integrity and accuracy of obtaining the three-dimensional data of the target area due to the fact that the terrain model data of the target area in the geospatial data cloud are acquired by satellites, meanwhile, safety of investigation staff is improved and efficiency of obtaining the three-dimensional coordinates of the region is improved due to the fact that manual investigation is not needed. Furthermore, because the geographic space data cloud comprises the topographic model data of each region of the world, the three-dimensional coordinate data of any region of the world can be obtained by the method provided by the application, and the range for obtaining the three-dimensional coordinate data is further improved.
In one possible implementation manner, based on a preset range of the target area, cutting the first terrain model through first software to generate a fourth terrain model; and carrying out format conversion on the fourth terrain model through the first software to obtain a second terrain model.
By adopting the technical scheme, the first terrain model is cut and format-converted according to the preset range of the target area through the first software, so that the accuracy of the obtained second model can be improved.
In one possible implementation manner, scaling the first terrain model by first software, and judging whether the scaled first terrain model is in a preset range of the target area; and when the scaled first terrain model is in the preset range of the target area, cutting the scaled first terrain model to generate a fourth terrain model.
By adopting the technical scheme, the accuracy of cutting is improved by judging whether the scaled first terrain model is in the preset range of the target or not and then cutting the first terrain model.
In one possible implementation manner, format conversion is performed on the third terrain model through fourth software, and a third terrain model after format conversion is generated; and processing the third terrain model after the format conversion by third software to generate three-dimensional coordinates of the target area.
By adopting the technical scheme, the accuracy of generating the three-dimensional coordinates of the target area can be improved.
In one possible implementation, the format-converted third terrain model is converted into a geometric shape by third software; acquiring a first three-dimensional coordinate of a geometric body; the first three-dimensional coordinates of the geometric shape are determined as the three-dimensional coordinates of the target area.
By adopting the technical scheme, the third terrain model after format conversion is converted into the geometric shape, and the three-dimensional coordinates of the target area can be obtained.
In one possible implementation, a second three-dimensional coordinate of the geometric shape is obtained, and the second three-dimensional coordinate of the geometric shape is a two-dimensional array; and converting the second three-dimensional coordinate of the geometric body into the first three-dimensional coordinate of the geometric body through third software, wherein the first three-dimensional coordinate of the geometric body is a one-dimensional array.
By adopting the technical scheme, the second three-dimensional coordinates of the two-dimensional array of the geometric body are converted into the three-dimensional coordinates of the one-dimensional array, so that the accuracy of the three-dimensional coordinates of the target area can be improved.
In one possible implementation, the three-dimensional coordinates of the target area are converted by a fifth software into a fifth terrain model, which is a BIM model.
In a second aspect, the present application provides an apparatus for generating three-dimensional coordinates of a target region, the apparatus comprising:
The acquisition module is used for acquiring a first terrain model of the target area from the geospatial data cloud; the preprocessing module is used for preprocessing the first terrain model through first software to generate a second terrain model; the format conversion module is used for carrying out format conversion on the second terrain model through second software to obtain a third terrain model; a processing module; and the three-dimensional coordinate generating module is used for processing the third terrain model through third software to generate the three-dimensional coordinate of the target area.
In one possible implementation, the preprocessing module further includes a scaling module, configured to scale the first terrain model by using the first software, and determine whether the scaled first terrain model is within a preset range of the target area.
In one possible implementation manner, the preprocessing module further includes a clipping module, configured 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.
In one possible implementation, the format conversion module further includes a format conversion sub-module configured to perform format conversion on the third terrain model by the fourth software, and generate a third terrain model after the format conversion.
In one possible implementation manner, the processing module further includes a processing submodule module, configured to obtain a second three-dimensional coordinate of the geometric shape, where the second three-dimensional coordinate is a two-dimensional array; and converting the second three-dimensional coordinate into a first three-dimensional coordinate by third software, wherein the first three-dimensional coordinate is a one-dimensional array.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and an interface; a memory for storing instructions; an interface for communicating with other devices; a processor for executing instructions stored in a memory to cause an electronic device to perform the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium comprising computer instructions which, when run on a computer, cause the computer to perform the method according to the first aspect.
In summary, one or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
1. Because the terrain model data of the target area in the adopted geospatial data cloud is acquired by satellites, the problems of incomplete data and low accuracy caused by manual investigation in the prior art are solved; thereby improving the integrity and accuracy of the three-dimensional data of the obtained target area.
2. Because the software is adopted to process the terrain model data of the geospatial cloud data to generate the three-dimensional coordinates of the target area, the survey staff is not required to go to the target area to perform on-site survey, the safety of the survey staff is improved, and the labor cost is reduced.
3. Because the geographic space data cloud comprises the topographic model data of each region of the world, the three-dimensional coordinate data of any region of the world can be obtained by the method provided by the application, and the range for obtaining the three-dimensional coordinate data is further improved.
Drawings
Fig. 1 is a flowchart of a method for generating three-dimensional coordinates of a target area according to an embodiment of the present application.
Fig. 2 is a flowchart of acquiring three-dimensional coordinates of a target area by third software according to an embodiment of the present application.
Fig. 3 is a schematic diagram of one possible apparatus for generating three-dimensional coordinates of a target area according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments.
In describing embodiments of the present application, words such as "for example" or "for example" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "such as" or "for example" in embodiments of the application should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "or" for example "is intended to present related concepts in a concrete fashion.
In the description of embodiments of the application, the term "plurality" means two or more. For example, a plurality of systems means two or more systems, and a plurality of screen terminals means two or more screen terminals. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating an indicated technical feature. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In the prior art, as for three-dimensional coordinate data of each global area, a manual investigation mode is mostly adopted, because the investigation area is mostly located in the field or the area with little smoke, certain dangers and instability exist for investigation staff, and because the three-dimensional coordinate data of the topography is manually collected, the three-dimensional coordinate data of the topography of a part of areas are incomplete, and further the obtained three-dimensional coordinate data is inaccurate and has low efficiency.
According to the method for generating the three-dimensional coordinates of the target area, the three-dimensional coordinates of the target area are converted according to the terrain model of the target area obtained from the geospatial data cloud, and compared with the means of manual investigation in the prior art, the method for generating the three-dimensional coordinates of the target area improves the integrity and accuracy of obtaining the three-dimensional data of the target area due to the fact that the terrain model data of the target area in the geospatial data cloud are acquired by satellites, and meanwhile, the safety of investigation staff is improved due to the fact that manual investigation is not needed. Furthermore, because the geographic space data cloud comprises the topographic model data of each region of the world, the three-dimensional coordinate data of any region of the world can be obtained by the method provided by the application, and the range for obtaining the three-dimensional coordinate data is further improved.
A method for generating three-dimensional coordinates of a target area according to an embodiment of the present application is described in more detail below with reference to fig. 1. Referring to fig. 1, fig. 1 is a flowchart of a method for generating three-dimensional coordinates of a target area according to an embodiment of the application. The process 100 for generating a three-dimensional coordinate method of a target area includes:
Step 101, a first terrain model of a target area is obtained from a geospatial data cloud.
In the embodiment of the application, firstly, a website of a geospatial data cloud is logged in, a target area is searched through a geospatial data cloud platform, and target area terrain model data, namely a Dem model of the target area, is downloaded, wherein the Dem model is a GIS model. The Dem Model is a digital elevation Model (Digital Elevation Model), which is a physical ground Model for representing ground elevation in the form of a set of ordered value arrays, and is a branch of (DIGITAL TERRAIN Model, DTM for short), from which various other topographic feature values can be derived. Dem is generally considered to describe the spatial distribution of linear and nonlinear combinations of various topographical factors including elevation, such as slope, rate of change of slope, etc., where Dem is a zero-order purely single-digit topographical model, and other topographical characteristics such as slope, rate of change of slope, etc., may be derived based on Dem. Further, the data format of the Dem model of the acquired target area is tif format.
And 102, preprocessing the first terrain model through first software to generate a second terrain model.
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., and in the embodiment of the present application, QGIS is taken as an example for the first software, and the embodiment of the present application is described in detail. QGIS is an open source desktop geographic information system that can be used for browsing, editing, map projection, and analyzing geospatial data. In the embodiment of the application, the first terrain model of the target area, namely the Dem model of the target area, acquired from the geospatial data cloud is preprocessed by QGIS software to generate the second terrain model.
In one possible implementation, preprocessing, by the first software, the first terrain model to generate a second terrain model includes: cutting the first terrain model through first software based on a preset range of the target area to generate a fourth terrain model; and carrying out format conversion on the fourth terrain model through the first software to obtain a second terrain model.
In the embodiment of the present application, a Dem model is first imported into QGIS software, and the size of the Dem model is cut according to the preset range of the target area, where the cutting modes include but are not limited to: according to the embodiment of the application, a Dem model is cut according to the preset range of a target area in a cutting mode in the current view angle range, format conversion is carried out on the Dem model of the target area after cutting, the Dem model in tif format is converted into a Dem model in glb format, and further, the converted Dem model in the glb format target area is stored.
In one possible implementation manner, based on a preset range of the target area, cutting the first terrain model by the first software to generate a fourth terrain model, including: scaling the first terrain model through first software, and judging whether the scaled first terrain model is in a preset range of the target area or not; and when the scaled first terrain model is in the preset range of the target area, cutting the scaled first terrain model to generate a fourth terrain model.
In the embodiment of the application, the adopted clipping mode is clipping in the current view angle range, and then before clipping the Dem model of the target area according to the preset range through QGIS, the Dem model needs to be scaled, in the scaling process, whether the Dem model of the current view angle range is in the preset range of the target area is judged, if so, the Dem model of the current view angle range is clipping, and if not, the Dem model of the target area is continuously scaled.
In another embodiment of the present application, a clipping manner of drawing on a map canvas may be further adopted to clip a Dem model of the target area, that is, in the map canvas, drawing a preset range of the target area on the Dem model by a drawing pen according to the preset range of the target area, clipping after the drawing is completed, performing format conversion on the Dem model of the preset range of the target area after clipping, converting the Dem model of tif format into the Dem model of glb format, and storing the Dem model of glb format. The Dem model is cut through QGIS, and is cut on a two-dimensional plane.
And 103, performing format conversion on the second terrain model through second software to generate a third terrain model.
In the embodiment of the present application, the second software is three-dimensional graphics software, which may include, but is not limited to Maya, 3ds MAX, lumion, keyshot, CINMEA D, blender, etc., and in the embodiment of the present application, the second software uses Blender as an example, and the embodiment of the present application is described in detail. Blender is a free open-source three-dimensional graphics software that provides a range of animation shortcutting solutions from modeling, animation, texture, rendering, to audio processing, video editing, and the like. Further, in the embodiment of the present application, the Dem model in the glb format obtained in step 102 is opened in the Blender, the Dem model in the glb format is scaled in the Blender, and after the scaled Dem model in the glb format is adjusted to a proper size, the format of the Dem model in the glb format is converted, the Dem model in the glb format is converted into the Dem model in the dxf format, and the Dem model in the dxf format is saved.
In another implementation mode of the application, before the Dem model in the glb format is converted into the Dem model in the dxf format through Blender, the Dem model in the glb format can be optimized through Blender, the two-dimensional Dem model is adjusted and scaled into a three-dimensional model, more refined cutting is carried out on the three-dimensional Dem model, for example, cutting is carried out on each direction of the Dem model according to will in a preset range of a target area, wherein the cutting mode comprises any shape frame cutting, map canvas drawing cutting, cutting according to a model structure and the like, after the Dem model in the glb format is cut through Blender, format conversion is carried out, and the Dem model converted into the dxf format is stored.
And 104, processing the third terrain model through third software to generate three-dimensional coordinates of the target area.
In the embodiment of the present application, revit is taken as an example of the third software, and the embodiment of the present application is described in detail. Firstly, opening a Dem model of a target area in revit software, and processing the Dem model through revit, wherein the processing comprises setting each part of the Dem model according to a preset proportion, so that each part of the Dem model is clear, and further, the three-dimensional coordinates of the target area are obtained.
In one possible implementation, the processing, by the third software, the third terrain model, before generating the three-dimensional coordinates of the target area, includes: performing format conversion on the third terrain model through fourth software to generate a third terrain model after format conversion; and processing the third terrain model after format conversion by third software to generate three-dimensional coordinates of the target area.
In the embodiment of the application, before the obtained target area Dem model in the dxf format is processed by the third software to obtain the three-dimensional coordinates of the target area, the target area Dem model in the dxf format is also required to be subjected to format conversion by the fourth software.
In one possible implementation, the processing, by the third software, the third terrain model to generate the three-dimensional coordinates of the target area includes: converting the third terrain model after format conversion into a geometric shape through third software; acquiring a first three-dimensional coordinate of a geometric body; the first three-dimensional coordinates of the geometric shape are determined as the three-dimensional coordinates of the target area.
In the embodiment of the application, the object region Dem model in the dxf format is also required to be processed through dynamo in revit, so as to generate the three-dimensional coordinates of the object region. Referring to fig. 2, fig. 2 is a flowchart of acquiring three-dimensional coordinates of a target area by third software according to an embodiment of the present application, where a process 200 of processing a Dem model by dynamo includes:
201: creating revit a list of details by dynamo and adding columns that are displayed;
Firstly, creating a detail table in dynamo, selecting geometric primitives in items in revit in a blank detail table, and selecting a Dem model of a target area in revit in the embodiment of the application;
202: acquiring all parameter information in the geometric primitive;
in the embodiment of the application, all parameter information in a Dem model of a target area is acquired;
203: defining all parameter information as geometric shapes;
in the embodiment of the 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, and the mesh model is a method which is commonly used in computer graphics and is used for representing three-dimensional geometric shapes and consists of a series of vertexes (Vertices) and edges (Edges) connecting the vertexes, and polygons of various shapes, such as triangles, quadrilaterals and the like, can be formed by connecting the vertexes and the edges.
204: Acquiring a first three-dimensional coordinate of a geometric body;
In the embodiment of the application, the first three-dimensional coordinate of the mesh model is obtained, and then the three-dimensional coordinate of the target area is obtained.
In one possible implementation, obtaining a first three-dimensional coordinate of a geometric shape includes: acquiring a second three-dimensional coordinate of the geometric body, wherein the second three-dimensional coordinate of the geometric body is a two-dimensional array; and converting the second three-dimensional coordinate of the geometric body into the first three-dimensional coordinate of the geometric body through third software, wherein the first three-dimensional coordinate of the geometric body is a one-dimensional array.
In the embodiment of the present application, in the step 204, the point coordinates of the geometric shape are obtained, wherein the obtained second three-dimensional coordinates of the mesh model are two-dimensional arrays, the second three-dimensional coordinates of the mesh model are converted into one-dimensional arrays through pynamo, and are exported in a form of a table, and the storage formats can be Excel, xaml, etc., so as to obtain the three-dimensional coordinates of the target area.
In one possible implementation manner, the first terrain model is a GIS model, and after the third terrain data is processed by the third software to generate the three-dimensional coordinates of the target area, the method further includes: and converting the three-dimensional coordinates of the target area into a fifth terrain model by fifth software, wherein the fifth terrain model is a BIM model.
In the embodiment of the application, a Dem model of the target area is obtained from the geospatial data cloud as a GIS model of the target area, and the three-dimensional coordinates of the target area are obtained through the steps, and further, the three-dimensional coordinates can be converted into a BIM model of the target area through fifth software according to the obtained three-dimensional coordinate data. And the sixth software adopts Civil3D, and further, in the Civil3D, a project is newly built, a toolbar is clicked, a point is selected, a point file is clicked, and the three-dimensional coordinates of the target area in the Excel format are selected, so that a BIM model of the target area can be generated.
It will be appreciated that in order to implement the functions described in fig. 1 and/or fig. 2, the execution body (e.g. server) of the method for generating the three-dimensional coordinates of the target area comprises corresponding hardware and/or software modules for executing the respective functions. The steps of the examples described in connection with the embodiments disclosed herein may be embodied in hardware or a combination of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The present embodiment may divide the execution subject (e.g., server) of the method for generating the three-dimensional coordinates of the target area according to the above-described method example, for example, may divide each different functional module corresponding to each function, or may integrate two or more functions into one processing module. The integrated modules described above may be implemented in hardware. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
In the case of dividing the respective functional modules by the respective functions, fig. 3 shows a possible schematic diagram of the apparatus 300 for generating three-dimensional coordinates of a target area, which is referred to in the above embodiment, the apparatus 300 for generating three-dimensional coordinates of a target area, which corresponds to fig. 3, may be a software apparatus, which runs on a server, or the apparatus 300 for generating three-dimensional coordinates of a target area may be a software and hardware combined apparatus, which is embedded in an execution subject (e.g., server) of the method for generating three-dimensional coordinates of a target area. As shown in fig. 3, the apparatus 300 for generating three-dimensional coordinates of a target region may include: an acquisition module 301, configured to acquire a first terrain model of a target area from a geospatial data cloud; the preprocessing module 302 is configured to preprocess the first terrain model through first software to generate a second terrain model; the format conversion module 303 is configured to perform format conversion on the second terrain model by using second software, so as to obtain a third terrain model; a processing module 304; and the three-dimensional coordinate generating module is used for processing the third terrain model through third software to generate the three-dimensional coordinate of the target area.
In one possible implementation, the preprocessing module further includes a scaling module, configured to scale the first terrain model by using the first software, and determine whether the scaled first terrain model is within a preset range of the target area.
In one possible implementation manner, the preprocessing module further includes a clipping module, configured 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.
In one possible implementation, the format conversion module further includes a format conversion sub-module configured to perform format conversion on the third terrain model by the fourth software, and generate a third terrain model after the format conversion.
In one possible implementation manner, the processing module further includes a processing sub-module, configured to obtain a second three-dimensional coordinate of the geometric shape, where the second three-dimensional coordinate of the geometric shape is a two-dimensional array; and converting the second three-dimensional coordinate of the geometric body into the first three-dimensional coordinate of the geometric body through third software, wherein the first three-dimensional coordinate of the geometric body is a one-dimensional array.
It should be noted that: the apparatus 300 for generating three-dimensional coordinates of a target area provided in the above embodiment is only exemplified by the division of the above functional modules when implementing the functions thereof, and in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the functions described above. In addition, the embodiments of the apparatus and the method provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the embodiments of the method are detailed in the method embodiments, which are not repeated herein.
The application also discloses electronic equipment. Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device may be, for example, a server, which is configured to perform the method flow as shown in fig. 1 or fig. 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.
Wherein communication bus 402 is used to enable connected communications between these components.
The user interface 403 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 403 may further include a standard wired interface and a standard wireless interface.
The network interface 404 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 401 may include one or more processing cores. The processor 401 connects the various parts within the entire server using various interfaces and lines, performs various functions of the server and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 405, and invoking data stored in the memory 405. Alternatively, the processor 401 may 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), programmable logic array (Programmable Logic Array, PLA). The processor 401 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 401 and may be implemented by a single chip.
The Memory 405 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 405 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 405 may be used to store instructions, programs, code sets, or instruction sets. The memory 405 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described various method embodiments, etc.; the storage data area may store data or the like involved in the above respective method embodiments. The memory 405 may also optionally be at least one storage device located remotely from the aforementioned processor 401. Referring to fig. 4, an operating system, a network communication module, a user interface module, and an application program of a data processing method may be included in the memory 405 as a computer storage medium.
In the electronic device shown in fig. 4, the user interface 403 is mainly used for providing an input interface for a user, and acquiring data input by the user; and processor 401 may be used to invoke an application program in memory 405 that stores a data processing method, which when executed by one or more processors 401, causes the electronic device to perform the method as described in one or more of the above embodiments. It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all of the preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, such as a division of unit modules, merely a division of logic functions, and there may be other manners of dividing actually being implemented, such as a plurality of unit modules or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The unit modules described as separate components may or may not be physically separate, and components displayed as unit modules may or may not be physical unit modules, may be located in one place, or may be distributed over a plurality of 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.
In addition, each functional unit module in each embodiment of the present application may be integrated in one processing unit, or each unit module may exist alone physically, or two or more unit modules may be integrated in one unit. The integrated unit modules can be realized in the form of hardware or software functional units.
The integrated unit modules, if implemented in the form of software functional unit modules and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in whole or in part in the form of a software product stored in a memory, comprising several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method of the various embodiments of the present application. And the aforementioned memory includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a magnetic disk or an optical disk.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure.
This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.
Claims (10)
1. A method for generating three-dimensional coordinates of a target area, comprising:
acquiring a first terrain model of a target area from a geospatial data cloud;
preprocessing the first terrain model through first software to generate a second terrain model;
Converting the format of the second terrain model through second software to generate a third terrain model;
and processing the third terrain model through third software to generate three-dimensional coordinates of the target area.
2. The method for generating three-dimensional coordinates of a target area according to claim 1, wherein the preprocessing of the first terrain model by the first software to generate a second terrain model comprises:
Cutting the first terrain model by the first software based on the preset range of the target area to generate a fourth terrain model;
And carrying out format conversion on the fourth terrain model through the first software to obtain the second terrain model.
3. The method for generating three-dimensional coordinates of a target area according to claim 2, wherein 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 comprises:
scaling the first terrain model through the first software, and judging whether the scaled first terrain model is in a preset range of the target area or not;
And when the scaled first terrain model is in the preset range of the target area, cutting the scaled first terrain model to generate the fourth terrain model.
4. The method for generating three-dimensional coordinates of a target area according to claim 1, wherein said processing the third terrain model by the third software to generate three-dimensional coordinates of the target area comprises:
Performing format conversion on the third terrain model through fourth software to generate a third terrain model after format conversion;
and processing the third terrain model after the format conversion by third software to generate the three-dimensional coordinates of the target area.
5. The method for generating three-dimensional coordinates of a target area according to claim 4, wherein said processing of said third terrain model by third software, prior to generating three-dimensional coordinates of said target area, comprises:
Converting the format-converted third terrain model into a geometric shape through third software;
acquiring a first three-dimensional coordinate of the geometric body;
a first three-dimensional coordinate of the geometric shape is determined as a three-dimensional coordinate of the target region.
6. The method for generating three-dimensional coordinates of a target area according to claim 5, wherein said acquiring the first three-dimensional coordinates of the geometric shape comprises:
acquiring a second three-dimensional coordinate of the geometric body, wherein the second three-dimensional coordinate of the geometric body is a two-dimensional array;
and converting the second three-dimensional coordinate of the geometric body into the first three-dimensional coordinate of the geometric body through the third software, wherein the first three-dimensional coordinate is a one-dimensional array.
7. The method for generating three-dimensional coordinates of a target area according to claim 1, wherein the first terrain model is a GIS model, and wherein after the third terrain data is processed by third software to generate the three-dimensional coordinates of the target area terrain, further comprising:
and converting the three-dimensional coordinates of the target area into a fifth terrain model by fifth software, wherein the fifth terrain model is a BIM model.
8. An apparatus for generating three-dimensional coordinates of a target area, the apparatus comprising:
The acquisition module is used for acquiring a first terrain model of the target area from the geospatial data cloud;
the preprocessing module is used for preprocessing the first terrain model through first software to generate a second terrain model;
the format conversion module is used for carrying out format conversion on the second terrain model through second software to generate a third terrain model;
A processing module; and the third terrain model is used for processing the third terrain model through third software to generate three-dimensional coordinates of the target area.
9. An electronic device comprising a processor, a memory, a user interface, and a network interface;
The memory is used for storing instructions;
The user interface and the network interface are used for communicating with other devices;
The processor configured to execute instructions stored in the memory to cause the electronic device to perform the method of any one of claims 1-7.
10. A computer readable storage medium storing instructions which, when executed, perform the method steps of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410484670.9A CN118379448A (en) | 2024-04-22 | 2024-04-22 | Method for generating three-dimensional coordinates of target area |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410484670.9A CN118379448A (en) | 2024-04-22 | 2024-04-22 | Method for generating three-dimensional coordinates of target area |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118379448A true CN118379448A (en) | 2024-07-23 |
Family
ID=91906718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410484670.9A Pending CN118379448A (en) | 2024-04-22 | 2024-04-22 | Method for generating three-dimensional coordinates of target area |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118379448A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101548647B1 (en) * | 2014-12-19 | 2015-08-31 | 한국건설기술연구원 | Processor for visualization of three dimensional geo-spatial information |
CN111127649A (en) * | 2019-12-30 | 2020-05-08 | 重庆市勘测院 | Method and device for constructing three-dimensional block model and server |
CN113034689A (en) * | 2021-04-30 | 2021-06-25 | 睿宇时空科技(重庆)有限公司 | Laser point cloud-based terrain three-dimensional model, terrain map construction method and system, and storage medium |
CN113506370A (en) * | 2021-07-28 | 2021-10-15 | 自然资源部国土卫星遥感应用中心 | Three-dimensional geographic scene model construction method and device based on three-dimensional remote sensing image |
-
2024
- 2024-04-22 CN CN202410484670.9A patent/CN118379448A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101548647B1 (en) * | 2014-12-19 | 2015-08-31 | 한국건설기술연구원 | Processor for visualization of three dimensional geo-spatial information |
CN111127649A (en) * | 2019-12-30 | 2020-05-08 | 重庆市勘测院 | Method and device for constructing three-dimensional block model and server |
CN113034689A (en) * | 2021-04-30 | 2021-06-25 | 睿宇时空科技(重庆)有限公司 | Laser point cloud-based terrain three-dimensional model, terrain map construction method and system, and storage medium |
CN113506370A (en) * | 2021-07-28 | 2021-10-15 | 自然资源部国土卫星遥感应用中心 | Three-dimensional geographic scene model construction method and device based on three-dimensional remote sensing image |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108648269B (en) | Method and system for singulating three-dimensional building models | |
KR101465479B1 (en) | Bim data processing system for displaying data of building based on bim | |
CN110647596B (en) | Map data processing method and device | |
CN111133472B (en) | Method and apparatus for infrastructure design using 3D reality data | |
CN107909541B (en) | Map conversion method and device | |
CN113112603B (en) | Method and device for optimizing three-dimensional model | |
US20140333616A1 (en) | Method for representing terrain, method for creating terrain primitives, and apparatus using the methods | |
CN110298922B (en) | Three-dimensional model simplification method, device and equipment | |
CN113724401B (en) | Three-dimensional model cutting method and device, computer equipment and storage medium | |
CN113034663B (en) | GIM model light weight processing method and device, equipment and storage medium | |
US7463258B1 (en) | Extraction and rendering techniques for digital charting database | |
CN115861527A (en) | Method and device for constructing live-action three-dimensional model, electronic equipment and storage medium | |
Guerrero et al. | 3D visualisation of underground pipelines: Best strategy for 3D scene creation | |
CN112991541A (en) | Rockery reverse modeling method, device, equipment and medium based on BIM | |
CN116385672A (en) | Construction method of three-dimensional terrain scene model data product | |
CN109684656B (en) | Assembly constraint inheritance method based on SolidWorks | |
CN116842121A (en) | Multi-level tile combined large-scale digital twin scene construction method | |
JP2000194881A (en) | Method and device for preparing analysis model and storage medium storing program for analysis model data preparation or analysis model data | |
CN118379448A (en) | Method for generating three-dimensional coordinates of target area | |
CN116070321A (en) | Rural landscape design method, device, equipment and storage medium | |
CN115131513A (en) | Three-dimensional terrain clipping method, device and equipment and readable storage medium | |
KR101768913B1 (en) | Method of partitioning a data including geographical information, apparatus performing the same and storage medium storing a program performing the same | |
CN114020390A (en) | BIM model display method and device, computer equipment and storage medium | |
CN113888709A (en) | Electronic sand table generation method and device and non-transient storage medium | |
CN114238528A (en) | Map loading 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 |