CN114818319A - Earth volume calculation method and device, electronic equipment and storage medium - Google Patents

Earth volume calculation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114818319A
CN114818319A CN202210439729.3A CN202210439729A CN114818319A CN 114818319 A CN114818319 A CN 114818319A CN 202210439729 A CN202210439729 A CN 202210439729A CN 114818319 A CN114818319 A CN 114818319A
Authority
CN
China
Prior art keywords
earth
stone
volume
terrain
determining
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
Application number
CN202210439729.3A
Other languages
Chinese (zh)
Inventor
曹睿
燕斌
冯耀楼
江伟男
周扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanxi Dimensional Space Information Technology Co ltd
Original Assignee
Shanxi Dimensional Space Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanxi Dimensional Space Information Technology Co ltd filed Critical Shanxi Dimensional Space Information Technology Co ltd
Priority to CN202210439729.3A priority Critical patent/CN114818319A/en
Publication of CN114818319A publication Critical patent/CN114818319A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/12Geometric CAD characterised by design entry means specially adapted for CAD, e.g. graphical user interfaces [GUI] specially adapted for CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Architecture (AREA)
  • Human Computer Interaction (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for calculating an earth volume, an electronic device, and a storage medium. The method comprises the following steps: acquiring topographic data, wherein the topographic data comprises a topographic map and a coal line contour map; acquiring terrain parameters, wherein the terrain parameters comprise terrain depth, inclination angle and side slope angle; determining a corresponding earth and stone volume based on the terrain data and the terrain parameters; and feeding back the corresponding earth and stone volume. This application has the effect that improves cubic metre of earth and stone volume computational efficiency.

Description

Earth volume calculation method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for calculating an earth volume, an electronic device, and a storage medium.
Background
In engineering construction of railways, water power, mines and the like, the calculation of the earth and rock volume is one of main data of earth and rock engineering construction design, the engineering investment amount is directly influenced by the earth and rock volume, and meanwhile, the construction period is also influenced by the calculation precision of the earth and rock volume. Therefore, calculating the earth and stone volume becomes a vital work in engineering construction.
In the related art, workers manually draw or use drawing software to design drawings to calculate the earth and stone volume, and a large amount of repeated mechanical work exists, so that the calculation of the earth and stone volume is time-consuming and labor-consuming, and the efficiency is low.
Disclosure of Invention
In order to improve the computation efficiency of the earth and stone volume, the application provides an earth and stone volume computation method, an earth and stone volume computation device, electronic equipment and a storage medium.
In a first aspect, the present application provides a method for calculating an earth volume, which adopts the following technical scheme:
an earth and stone volume calculation method comprises the following steps:
acquiring topographic data, wherein the topographic data comprises a topographic map and a coal line contour map;
acquiring terrain parameters, wherein the terrain parameters comprise terrain depth, inclination angle and side slope angle;
determining a corresponding earth and stone volume based on the terrain data and the terrain parameters;
and feeding back the corresponding earth and stone volume.
Through adopting above-mentioned technical scheme, can acquire topographic map and coal seam isotopy picture to in this topography characteristic is known in a comprehensive way, acquire the topography parameter, and according to topographic data and topography parameter, the cubic metre of earth and stone that the automatic calculation corresponds has saved the step that the staff calculated cubic metre of earth and stone in proper order, feeds back the cubic metre of earth and stone that corresponds, thereby the staff of being convenient for in time knows the cubic metre of earth and stone, and then improves the computational efficiency of cubic metre of earth and stone, labour saving and time saving.
In another possible implementation manner, the determining, based on the topographic map and the topographic parameter, a corresponding amount of earthwork further includes:
acquiring an icon image corresponding to software to be operated;
acquiring an operation instruction corresponding to each software to be operated;
and automatically performing corresponding operation on the software to be operated based on the icon image and the operation instruction, and generating a design drawing.
By adopting the technical scheme, the icon image can be acquired, the icon image contains the software to be operated, the software to be operated is convenient to count, the operation instruction corresponding to each software to be operated is acquired, the software to be operated is automatically operated according to the operation instruction, the drawing is generated, the step of designing the drawing for multiple times by workers is omitted, the automatic design is realized, the earthwork amount is convenient to calculate according to the design drawing, and the earthwork amount calculation efficiency is improved.
In another possible implementation manner, the automatically performing corresponding operations on software to be operated based on the icon image and the operation instruction, and generating a design drawing, and then the method further includes:
determining the size of each square grid and the ground elevation of each square grid vertex based on the topographic map and the coal line equal height map;
determining the filling and digging height of each grid point based on the ground elevation of each grid vertex and the obtained zero contour line;
the determining a corresponding earth and stone volume based on the terrain data and the terrain parameters comprises:
and obtaining corresponding earth and stone volume based on the terrain data, the terrain parameters and the filling and excavating height of each grid point.
By adopting the technical scheme, the size of each square can be calculated according to a topographic map and a coal line contour map so as to divide the graph paper into a plurality of squares, the ground elevation of the vertex of each square is determined, and the filling height of each square point is determined according to the ground elevation and the zero contour line, so that the volume of the earth and the stone is calculated in a simulation mode according to the topographic data and the filling height of each square point, and further, the cost is calculated in advance by a worker according to the volume of the earth and the stone.
In another possible implementation manner, the obtaining of the terrain parameter then further includes:
preprocessing the topographic map and the coal line contour map, and projecting the preprocessed image into an image coordinate system;
and determining the three-dimensional coordinates of each point in the image coordinate system, and generating a corresponding three-dimensional model based on the three-dimensional coordinates.
By adopting the technical scheme, the topographic map and the coal line height map can be preprocessed to enhance the definition and contrast of the image, reduce the interference of noise and the like in the image on the image, project the image into the image coordinate system to generate a corresponding three-dimensional model, and facilitate the comprehensive understanding of topographic features.
In another possible implementation manner, the feeding back the corresponding earth and stone volume includes:
when an earth and stone volume obtaining request triggered by a user is detected, an earth and stone volume feedback template is obtained;
extracting a key field of the earth and stone volume feedback template;
and generating a corresponding earth and stone volume feedback table based on the key field, and feeding back the earth and stone volume feedback table.
By adopting the technical scheme, when the earth and stone volume acquisition request triggered by the user is detected, namely the user wants to check the earth and stone volume, the feedback template is acquired, so that the corresponding feedback form is generated according to the feedback template, and the possibility that the feedback form has various data and causes the inconvenience of searching the data by the staff is reduced.
In another possible implementation manner, the determining, based on the key field, a corresponding earth and stone volume feedback table, and feeding back the earth and stone volume feedback table further includes:
determining an extreme value in an earth and stone volume feedback table;
and automatically marking the extreme value in the earth and stone volume feedback table.
By adopting the technical scheme, the extreme value in the earth and stone volume feedback table can be determined, so that the worker can conveniently know the maximum and minimum earth and stone volume values, mark the extreme value and prompt the worker.
In another possible implementation manner, the method further includes:
acquiring an elevation range input by a user;
and generating design drawings corresponding to different elevation ranges based on the elevation ranges.
By adopting the technical scheme, different elevation ranges input by a user can be acquired, and different design drawings can be generated by the electronic equipment according to the elevation ranges so as to increase the matching degree of the design drawings and the elevation ranges.
In a second aspect, the present application provides an earth and rock volume calculating device, which adopts the following technical scheme:
an earth and stone volume calculation device comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring topographic data, and the topographic data comprises a topographic map and a coal line contour map;
the second acquisition module is used for acquiring terrain parameters, wherein the terrain parameters comprise terrain depth, inclination angle and side slope angle;
the first determination module is used for determining the corresponding earth and stone volume based on the terrain data and the terrain parameters;
and the feedback module is used for feeding back the corresponding earth and stone volume.
Through adopting above-mentioned technical scheme, first acquisition module can acquire topographic map and coal seam contour map, so that comprehensively know this topography characteristic, the second acquisition module acquires the topography parameter, first definite module is according to topographic data and topography parameter, the cubic metre of earth and stone that the automated computation corresponds, the step that the staff calculated cubic metre of earth and stone in proper order has been saved, feedback module feeds back the cubic metre of earth and stone that corresponds, thereby the staff of being convenient for in time knows cubic metre of earth and stone, and then improve the computational efficiency of cubic metre of earth and stone, time saving and labor saving.
In one possible implementation, the apparatus further includes: an icon image acquisition module, an operation instruction acquisition module and a generation module, wherein,
the icon image acquisition module is used for acquiring an icon image corresponding to the software to be operated;
the operation instruction acquisition module is used for acquiring an operation instruction corresponding to each software to be operated;
and the generating module is used for automatically carrying out corresponding operation on the software to be operated based on the icon image and the operation instruction and generating a design drawing.
In one possible implementation, the apparatus further includes: a second determination module and a third determination module, wherein,
the second determination module is used for determining the sizes of the squares and the ground elevations of the vertexes of the squares based on the topographic map and the coal line equal height map;
and the third determining module is used for determining the filling and digging height of each grid point based on the ground elevation of each grid vertex and the acquired zero contour line.
In a possible implementation manner, when determining the corresponding earth and stone volume based on the terrain data and the terrain parameter, the first determining module is specifically configured to:
and obtaining corresponding earth and stone volume based on the terrain data, the terrain parameters and the filling and excavating height of each grid point.
In one possible implementation, the apparatus further includes: a projection module and a three-dimensional model generation module, wherein,
and the projection module is used for preprocessing the topographic map and the coal line contour map and projecting the preprocessed image into an image coordinate system.
And the three-dimensional model generation module is used for determining the three-dimensional coordinates of each point in the image coordinate system and generating a corresponding three-dimensional model based on the three-dimensional coordinates.
In a possible implementation manner, when the feedback module feeds back the corresponding earth and stone volume, the feedback module is specifically configured to:
when an earth and stone volume obtaining request triggered by a user is detected, an earth and stone volume feedback template is obtained;
extracting key fields of the earth and stone volume feedback template;
and generating a corresponding earth and stone volume feedback table based on the key field, and feeding back the earth and stone volume feedback table.
In one possible implementation, the apparatus further includes: a fourth determination module and a marking module, wherein,
the fourth determining module is used for determining an extreme value in the earth and stone volume feedback table;
and the marking module is used for automatically marking the extreme value in the earth and stone volume feedback table.
In one possible implementation, the apparatus further includes: a third acquisition module and a drawing generation module, wherein,
the third acquisition module is used for acquiring the elevation range input by the user;
and the drawing generation module is used for generating design drawings corresponding to different elevation ranges based on the elevation ranges.
In a third aspect, the present application provides an electronic device, which adopts the following technical solutions:
an electronic device, comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, the at least one application configured to: and executing the method for calculating the earth and stone volume.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium, comprising: a computer program is stored which can be loaded by a processor and which implements the above-described earth and stone volume calculation method.
To sum up, this application includes following beneficial technological effect:
1. can acquire topographic map and coal seam contour map to in this topography characteristic is known comprehensively, acquire the topography parameter, and according to topographic form data and topography parameter, the cubic metre of earth and stone that the automated computation corresponds has saved the step that the staff calculated cubic metre of earth and stone in proper order, feeds back the cubic metre of earth and stone that corresponds, thereby the staff of being convenient for in time knows the cubic metre of earth and stone, and then improves the computational efficiency of cubic metre of earth and stone, labour saving and time saving.
2. The method has the advantages that the icon image can be obtained, the icon image contains the software to be operated, the statistics on the software to be operated is facilitated, the operation instruction corresponding to each software to be operated is obtained, the software to be operated can be automatically operated according to the operation instruction, the drawing is generated, the step that a worker designs the drawing for multiple times is omitted, the automatic design is achieved, the earth and stone square quantity can be conveniently calculated according to the design drawing, and the earth and stone square quantity calculation efficiency is improved.
Drawings
FIG. 1 is a schematic flow chart of a method for calculating an earth and rock mass according to an embodiment of the present application;
FIG. 2 is a block diagram of an earth and stone volume calculating device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to figures 1-3.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a method for calculating the earth volume, which is executed by electronic equipment as shown in fig. 1, and comprises the following steps:
step S101, topographic data is acquired.
The topographic data comprises a topographic map and a coal line contour map.
For the embodiment of the application, the total station is installed in the coal mine in advance, and the electronic equipment is in communication connection with the total station so as to acquire the topographic data acquired by the total station. Can also shoot through unmanned aerial vehicle, plan unmanned aerial vehicle flight path in advance, unmanned aerial vehicle shoots at the appointed place, and electronic equipment and unmanned aerial vehicle of taking photo by plane carry out communication connection, and electronic equipment acquires the topography picture that unmanned aerial vehicle shot.
The coal line contour map is formed by connecting points with the same standard height to form a contour line, selecting a contour line at a certain height, projecting the contour line on a horizontal plane according to a vertical projection method, and weaving the contour line into a plane map according to a certain scale. For example, the height ranges from 200 meters to 300 meters, and contour lines are taken every 10 meters.
Specifically, the topographic map and the coal line contour map are two-dimensional maps, wherein the format of the two-dimensional maps can be DWG format, and the two-dimensional maps can contain height information.
Step S102, terrain parameters are obtained.
Wherein, the terrain parameters comprise terrain depth, inclination angle and side slope angle.
For the embodiments of the present application, the terrain parameters may also include a top plate slope angle, a bottom plate slope angle, a pit bottom width, a height and a width of the platform. The method comprises the steps of obtaining terrain parameters, determining depth and height information of a side slope by obtaining a geological survey report of the project, calculating side slope angle parameters according to data such as a soil layer internal friction angle and soil layer gravity and the like, and directly obtaining the terrain parameters input by an engineer.
And step S103, determining the corresponding earth and stone volume based on the terrain data and the terrain parameters.
For the embodiment of the present application, the volume of earth and stone is the sum of the engineering volume of each volume of earth and stone, and generally, the unit of measurement of the volume of earth and stone is cubic meter. The earthwork amount can be determined by a volume method or a section method, wherein the section method refers to calculating the volume of the earthwork by a group of equidistant or non-equidistant parallel sections, and the accumulation counts of all sections are added to obtain the total earthwork amount.
And step S104, feeding back the corresponding earth and stone volume.
For the embodiment of the present application, the earth and stone amount is fed back, the corresponding earth and stone amount may be counted in a table, and the generated table may be in the form of static. When the request for obtaining the earth and stone volume is detected, the corresponding earth and stone volume can be fed back in real time at preset time intervals.
It is worth mentioning that the implementation can be realized by Python language, the automatic software is docked by using a pyautocad library, and the 3dmine software is docked by using a pyautogui library.
It should be noted that fig. 1 is only one possible execution sequence, in this embodiment, step S101 may be executed before step S102, step S101 may be executed after step S102, and step S101 may also be executed simultaneously with step S102, which is not limited in this embodiment.
The embodiment of the application provides an earth and stone volume calculation method, can acquire topographic map and coal seam contour map to in order to know this topography characteristic comprehensively, acquire the topography parameter, and according to topographic data and topography parameter, the corresponding earth and stone volume of automatic calculation has saved the step that the staff calculated earth and stone volume in proper order, feeds back the earth and stone volume that corresponds, thereby the staff of being convenient for in time knows earth and stone volume, and then improves the computational efficiency of earth and stone volume, labour saving and time saving.
In a possible implementation manner of the embodiment of the present application, before the step S103, the method further includes: step S103a (not shown), step S103b (not shown), and step S103c (not shown), wherein,
step S103a, acquiring an icon image including an icon image corresponding to the software to be operated.
For the embodiment of the application, the software to be operated is drawing software such as Autocad, Cass, 3Dmine and the like. Firstly, storing icon images or area screenshots corresponding to software to be operated in each step into a folder in a png format. When the icon image comprises a plurality of same icons, namely the area image comprises a plurality of software to be operated, the default software to be operated is the software at the upper left.
For example, if the first software to be opened in the design drawing is Autocad, the icon image containing Autocad is saved, and if the second software to be opened is 3Dmine, the icon image containing 3Dmine is saved.
Step S103b, acquiring an operation instruction corresponding to each software to be operated.
For the embodiment of the application, the operation instructions corresponding to the software to be operated comprise single-click, double-click, right-key and other operation instructions, the operation instructions corresponding to each software to be operated are determined according to the flow sequence of the design drawing, or the input content of each software to be operated is obtained and stored in the Excel table.
Step 103c, automatically performing corresponding operation on the software to be operated based on the icon image and the operation instruction, and generating a design drawing.
For the embodiment of the application, the areas to be operated are sequentially determined according to the operation instructions or the input contents in the Excel table, and the corresponding operations are sequentially completed.
In a possible implementation manner of the embodiment of the present application, step S103c (not shown in the figure) further includes step S103c1 (not shown in the figure) and step S103c2 (not shown in the figure), wherein,
and step S103c1, determining the size of the square grids and the ground elevation of the vertexes of the square grids based on the topographic map and the coal line contour map.
For the embodiment of the application, the complexity of the terrain is determined based on a topographic map and a coal line contour map, and the size of the square grid is determined according to a scale or precision requirement, wherein the size of the square grid is 10 meters by 10 meters or 20 meters by 20 meters. Or determining the size of the square grid according to the density of the terrain by collecting the density of the terrain. And (3) calculating the ground elevation of each grid vertex by an interpolation method based on the contour line of the coal line contour map, and marking the ground elevation of each grid vertex in the corresponding grid.
The manner of determining the ground elevation of each grid vertex by using an interpolation method in the embodiment of the present application is a technical means known to those skilled in the art, and is not described herein again.
And step S103c2, determining the filling height of each grid point based on the ground elevation of each grid vertex and the acquired zero contour line.
For the embodiment of the application, the average value of four vertexes of each square is calculated according to the ground elevation of each square, so as to obtain the average elevation of each square, and then the average elevation of each square is summed and divided by the number of squares, so as to obtain the design elevation. And determining zero contour lines on the topographic map by an interpolation method, wherein the zero contour lines are filling and digging boundary lines. And calculating the difference between the ground elevation and the design elevation of each vertex, wherein the difference between the ground elevation and the design elevation of each vertex is the filling height of the point.
In a possible implementation manner of the embodiment of the present application, step S103 specifically includes step S1031 (not shown in the figure), wherein,
and step S1031, obtaining corresponding earthwork volume based on the topographic data, topographic parameters and the filling and excavating height of each grid point.
For the embodiment of the application, the earth and stone volume is calculated, and a corresponding earth and stone volume calculation method can be determined according to the topographic features. Particularly, in a relatively flat plain area, a square grid method is preferably adopted; in long and narrow areas, the section method is preferably adopted; in mountainous areas with large topographic relief and high precision requirement, a DTM (Digital terrestrial Model) method is preferably adopted; in areas with low precision and simple terrain, an average elevation method is preferably adopted.
In a possible implementation manner of the embodiment of the present application, the step S102 further includes a step S102a (not shown in the figure) and a step S102b (not shown in the figure), wherein,
step S102a, preprocesses the topographic map and coal contour map, and projects the preprocessed image into an image coordinate system.
For the embodiment of the application, the preprocessing comprises the steps of filtering, denoising, sampling and the like, in particular, filtering the topographic map, the coal line and other high maps, and enhancing certain spatial frequency characteristics of the image through filtering so as to increase the gray contrast between the target and the background. The method is used for denoising topographic maps, coal lines and other altitude maps, and processing images through algorithms such as spatial domain filtering, transform domain filtering, partial differential equations and the like. For example, the partial differential equations tend to a more realistic effect by updating over time to reduce the effect of noise on the image's realism.
Acquiring the preprocessed image, establishing an image coordinate system expressed by a physical unit, and projecting the image into the image coordinate system by taking the geometric center as a coordinate origin. Firstly, the image is projected to a camera coordinate system, and the camera coordinate system is converted into an image coordinate system.
Step S102b, determining three-dimensional coordinates of each point in the image coordinate system, and generating a corresponding three-dimensional model based on the three-dimensional coordinates.
For the embodiment of the application, a coordinate system is established by taking a geometric center as a coordinate origin and an axis passing through the geometric center as a coordinate axis, three-dimensional coordinates (x, y and z) of each point are determined to form a projection plane, and the projection plane forms a curved surface to form a three-dimensional model.
In a possible implementation manner of the embodiment of the present application, the step S104 specifically includes a step S1041 (not shown in the figure), a step S1042 (not shown in the figure), and a step S1043 (not shown in the figure), wherein,
step S1041, when an earth and stone volume obtaining request triggered by a user is detected, an earth and stone volume feedback template is obtained.
For the embodiment of the application, the earth and stone volume feedback template may be a feedback template imported by a user, may also be row information and column information input online by the user, and may also be a feedback template link sent to the electronic device by the user. When a user checks the earth and stone volume, an acquisition request is sent to the electronic equipment first, and the electronic equipment is waited to return earth and stone volume data.
And step S1042, extracting key fields of the earth and stone volume feedback template.
For the embodiment of the present application, the key field of the feedback template is a row-column key word of the feedback template, the row-column field of the earth and rock quantity is obtained first, and then the key word extraction is performed on the row-column field of the earth and rock quantity, specifically, the key word extraction model may be TF-IDF (term frequency-inverse document frequency), or may be other key word extraction models, which is not limited in the embodiment of the present application.
And S1043, generating a corresponding earth and stone volume feedback table based on the key field, and feeding back the earth and stone volume feedback table.
For the embodiment of the application, data corresponding to the key fields are obtained based on the key fields, the corresponding data are automatically filled in the feedback form, the earth and stone amount feedback form can be in an xls form or a link generation form, and a user receives the link and opens the link through a webpage, so that the earth and stone amount feedback function is realized.
In a possible implementation manner of the embodiment of the present application, step S1043 further includes step S10431 (not shown in the figure) and step S10432 (not shown in the figure), wherein,
step S10431, determining an extremum in the earth and stone volume feedback table.
For the embodiment of the application, based on the earth and stone volume feedback table, sorting is performed according to the earth and stone volume in the feedback table, and the maximum earth and stone volume and the minimum earth and stone volume are determined as the extreme values in the earth and stone volume feedback table.
And step S10432, automatically marking the extreme value in the earth and stone volume feedback table.
For the embodiment of the present application, the extreme value of the earth and stone volume in the feedback table may be color-marked, or the extreme value may be format-marked, for example, the bottom frame color or the font size may be set for automatic marking.
In one possible implementation manner of the embodiment of the present application, the method further includes a step S105 (not shown in the figure) and a step S106 (not shown in the figure), wherein,
and step S105, acquiring the elevation range input by the user.
And S106, generating design drawings corresponding to different elevation ranges based on the elevation ranges.
For the embodiment of the application, the elevation is the height of each part of the building, and the elevation is divided into an absolute elevation and a relative elevation. Based on the elevation range, after the corresponding schemes and the design drawings are determined, the earth and stone volume excavated and filled in each scheme is stored in a table, and workers can check the table and count the earth and stone volume.
The above embodiment describes a method for calculating an earth and rock volume from the perspective of a method flow, and the following embodiment describes an apparatus for calculating an earth and rock volume from the perspective of a virtual module or a virtual unit, as shown in fig. 2, and is described in detail in the following embodiment.
The earth and stone volume calculation apparatus 100 may specifically include: a first obtaining module 1001, a second obtaining module 1002, a first determining module 1003 and a feedback module 1004, wherein:
a first obtaining module 1001, configured to obtain topographic data, where the topographic data includes a topographic map and a coal line contour map;
a second obtaining module 1002, configured to obtain terrain parameters, where the terrain parameters include a terrain depth, an inclination angle, and a side slope angle;
a first determining module 1003, configured to determine a corresponding earth and rockfill quantity based on the terrain data and the terrain parameter;
and a feedback module 1004, configured to feedback the corresponding earth and stone volume.
In a possible implementation manner of the embodiment of the present application, the apparatus 100 further includes: an icon image acquisition module, an operation instruction acquisition module and a generation module, wherein,
the icon image acquisition module is used for acquiring an icon image corresponding to the software to be operated;
the operation instruction acquisition module is used for acquiring an operation instruction corresponding to each software to be operated;
and the generating module is used for automatically carrying out corresponding operation on the software to be operated based on the icon image and the operation instruction and generating a design drawing.
In a possible implementation manner of the embodiment of the present application, the apparatus 100 further includes: a second determination module and a third determination module, wherein,
the second determination module is used for determining the sizes of the squares and the ground elevations of the vertexes of the squares based on the topographic map and the coal line equal height map;
and the third determining module is used for determining the filling and digging height of each grid point based on the ground elevation of each grid vertex and the acquired zero contour line.
In a possible implementation manner of this embodiment of the present application, when determining the corresponding earth and rockwork volume based on the terrain data and the terrain parameter, the first determining module 1003 is specifically configured to:
and obtaining corresponding earth and stone volume based on the terrain data, the terrain parameters and the filling and excavating height of each grid point.
In a possible implementation manner of the embodiment of the present application, the apparatus 100 further includes: a projection module and a three-dimensional model generation module, wherein,
and the projection module is used for preprocessing the topographic map and the coal line contour map and projecting the preprocessed image into an image coordinate system.
And the three-dimensional model generation module is used for determining the three-dimensional coordinates of each point in the image coordinate system and generating a corresponding three-dimensional model based on the three-dimensional coordinates.
In a possible implementation manner of the embodiment of the present application, the feedback module 1004 is specifically configured to, when feeding back the corresponding earth and rock volume:
when an earth and stone volume obtaining request triggered by a user is detected, an earth and stone volume feedback template is obtained;
extracting a key field of the earth and stone volume feedback template;
and generating a corresponding earth and stone volume feedback table based on the key field, and feeding back the earth and stone volume feedback table.
In a possible implementation manner of the embodiment of the present application, the apparatus 100 further includes: a fourth determination module and a marking module, wherein,
the fourth determining module is used for determining an extreme value in the earth and stone volume feedback table;
and the marking module is used for automatically marking the extreme value in the earth and stone volume feedback table.
In a possible implementation manner of the embodiment of the present application, the apparatus 100 further includes: a third acquisition module and a drawing generation module, wherein,
the third acquisition module is used for acquiring the elevation range input by the user;
and the drawing generation module is used for generating design drawings corresponding to different elevation ranges based on the elevation ranges.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiment of the present application also introduces an electronic device from the perspective of a physical apparatus, as shown in fig. 3, an electronic device 1100 shown in fig. 3 includes: a processor 1101 and a memory 1103. The processor 1101 is coupled to the memory 1103, such as by a bus 1102. Optionally, the electronic device 1100 may also include a transceiver 1104. It should be noted that the transceiver 1104 is not limited to one in practical applications, and the structure of the electronic device 1100 is not limited to the embodiment of the present application.
The Processor 1101 may be a CPU (Central Processing Unit), a general purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. The processor 1101 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
Bus 1102 may include a path that transfers information between the above components. The bus 1102 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 1102 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
The Memory 1103 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
The memory 1103 is used for storing application program codes for executing the present application, and the execution is controlled by the processor 1101. The processor 1101 is configured to execute application program code stored in the memory 1103 to implement the content shown in the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. But also a server, etc. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (10)

1. An earth and rock volume calculation method is characterized by comprising the following steps:
acquiring topographic data, wherein the topographic data comprises a topographic map and a coal line contour map;
acquiring terrain parameters, wherein the terrain parameters comprise terrain depth, inclination angle and side slope angle;
determining a corresponding earth and stone volume based on the terrain data and the terrain parameters;
and feeding back the corresponding earth and stone volume.
2. The method of calculating an amount of earth and stone according to claim 1, wherein the determining a corresponding amount of earth and stone based on the topographic map and the topographic parameter further comprises:
acquiring an icon image corresponding to software to be operated;
acquiring an operation instruction corresponding to each software to be operated;
and automatically performing corresponding operation on the software to be operated based on the icon image and the operation instruction, and generating a design drawing.
3. The earth and stone volume calculation method according to claim 2, wherein the corresponding operation is automatically performed on software to be operated based on the icon image and the operation instruction, and a design drawing is generated, and then the method further comprises:
determining the size of each square grid and the ground elevation of each square grid vertex based on the topographic map and the coal line equal height map;
determining the filling and digging height of each grid point based on the ground elevation of each grid vertex and the obtained zero contour line;
the determining a corresponding earth and stone volume based on the terrain data and the terrain parameters comprises:
and obtaining corresponding earth and stone volume based on the terrain data, the terrain parameters and the filling and excavating height of each grid point.
4. The method of calculating an amount of earth and stone according to claim 1, wherein the obtaining a terrain parameter further comprises:
preprocessing the topographic map and the coal line contour map, and projecting the preprocessed image into an image coordinate system;
and determining the three-dimensional coordinates of each point in the image coordinate system, and generating a corresponding three-dimensional model based on the three-dimensional coordinates.
5. The method according to claim 1, wherein the feeding back the corresponding earth and rock volume includes:
when an earth and stone volume obtaining request triggered by a user is detected, an earth and stone volume feedback template is obtained;
extracting a key field of the earth and stone volume feedback template;
and generating a corresponding earth and stone volume feedback table based on the key field, and feeding back the earth and stone volume feedback table.
6. The method according to claim 1, wherein the determining a corresponding earth and rock volume feedback table based on the key field and feeding back the earth and rock volume feedback table further comprises:
determining an extreme value in an earth and stone volume feedback table;
and automatically marking the extreme value in the earth and stone volume feedback table.
7. The method of calculating an amount of earth and stone of claim 1, wherein the method further comprises:
acquiring an elevation range input by a user;
and generating design drawings corresponding to different elevation ranges based on the elevation ranges.
8. An earth and rock volume calculation device, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring topographic data, and the topographic data comprises a topographic map and a coal line contour map;
the second acquisition module is used for acquiring terrain parameters, wherein the terrain parameters comprise terrain depth, inclination angle and side slope angle;
the first determination module is used for determining the corresponding earth and stone volume based on the terrain data and the terrain parameters;
and the feedback module is used for feeding back the corresponding earth and stone volume.
9. An electronic device, comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in the memory and configured to be executed by the at least one processor, the at least one application configured to: performing the method of calculating an earth and rock mass according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the earth and stone volume calculation method according to any one of claims 1 to 7.
CN202210439729.3A 2022-04-25 2022-04-25 Earth volume calculation method and device, electronic equipment and storage medium Pending CN114818319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210439729.3A CN114818319A (en) 2022-04-25 2022-04-25 Earth volume calculation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210439729.3A CN114818319A (en) 2022-04-25 2022-04-25 Earth volume calculation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114818319A true CN114818319A (en) 2022-07-29

Family

ID=82506860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210439729.3A Pending CN114818319A (en) 2022-04-25 2022-04-25 Earth volume calculation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114818319A (en)

Similar Documents

Publication Publication Date Title
US10795053B2 (en) Systems and methods of multi-scale meshing for geologic time modeling
US8793107B2 (en) Accuracy-based significant point derivation from dense 3D point clouds for terrain modeling
Sofia et al. Variations in multiscale curvature distribution and signatures of LiDAR DTM errors
CN109186551B (en) Method and device for extracting characteristic points of oblique photogrammetry building and storage medium
CN109269472B (en) Method and device for extracting characteristic line of oblique photogrammetry building and storage medium
Javadnejad et al. Dense point cloud quality factor as proxy for accuracy assessment of image-based 3D reconstruction
Li Sampling strategy and accuracy assessment for digital terrain modelling
CN103207419A (en) Three-dimensional measurement method for tunnel rock formation attitude
CN110827405A (en) Digital remote sensing geological mapping method and system
CN114943178A (en) Three-dimensional geological model modeling method and device and computer equipment
Chen et al. A critical review of automated extraction of rock mass parameters using 3D point cloud data
CN109163708B (en) Optimization method, device and medium for unmanned aerial vehicle large-scale topographic map house line
CN110610539A (en) Stratum curved surface construction method, device, equipment and storage medium
Miky et al. A combined contour lines iteration algorithm and Delaunay triangulation for terrain modeling enhancement
Hu et al. Slope excavation quality assessment and excavated volume calculation in hydraulic projects based on laser scanning technology
CN114818319A (en) Earth volume calculation method and device, electronic equipment and storage medium
Liu et al. Evaluation of the performance of DEM interpolation algorithms for LiDAR data
Lieberwirth et al. Applying low budget equipment and open source software for high resolution documentation of archaeological stratigraphy and features
CN113705025B (en) Information extraction and transmission method and device, electronic equipment and computer readable medium
Albert Aspects of cave data use in a GIS
CN114898057A (en) Geological profile three-dimensional space information extraction method and device and storage medium
Rákay et al. Surveying of inaccessible rock faces and volume calculation of the irregular solids using robotic total station.
CN113920269A (en) Project progress obtaining method and device, electronic equipment and medium
CN113849883A (en) Landslide volume calculation method based on Lidar terrain and borehole sliding surface reconstruction
Freitas et al. Cross‐strata palaeocurrent analysis using virtual outcrops

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