CN113408247A - Code conversion and data processing method in hydraulic engineering measurement - Google Patents
Code conversion and data processing method in hydraulic engineering measurement Download PDFInfo
- Publication number
- CN113408247A CN113408247A CN202110762398.2A CN202110762398A CN113408247A CN 113408247 A CN113408247 A CN 113408247A CN 202110762398 A CN202110762398 A CN 202110762398A CN 113408247 A CN113408247 A CN 113408247A
- Authority
- CN
- China
- Prior art keywords
- data
- code
- field
- brevity
- cass
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/126—Character encoding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The invention discloses a code conversion and data processing method in hydraulic engineering measurement, S1, establishing a simplified code table of a CASCODE. S2, the identification brevity codes correspond to the built-in codes of CASS computer drawing software one by one; s3, inputting original data; s4, checking data; s5, data processing: the server rearranges the data according to the sequence and the requirement of the CASS computer drawing software on the data to form a data table for the CASS computer drawing software to directly use, and realizes the automatic conversion of the field data into the data used by the CASS computer drawing software. The field personnel can simplify the data acquisition process of the field personnel and improve the data acquisition speed of the field personnel by self-defining various ground feature codes according to the operation and recording habits of the field personnel. By the full-automatic processing of the field data by the computer software, the field data is conveniently and quickly processed into a data format required by the computer drawing software, the workload and the error rate are reduced, and the drawing efficiency is improved.
Description
Technical Field
The invention relates to the field of field measurement in hydraulic engineering, in particular to a code conversion and data processing method in hydraulic engineering measurement.
Background
With the development of measuring instruments and the popularization of computers, the work of drawing topographic maps is gradually shifting to digital measurement and drawing. The digital topographic map measuring process includes 3 steps of field data acquisition, data processing and computer drawing. The field data acquisition equipment and computer drawing software have been developed more mature. But due to the diversity of field data acquisition equipment and the complexity of landforms, the acquired data has diversity; computer drawing software usually defines a uniform data format to facilitate computer drawing; the data collected by field industry needs to be converted into the data format of computer drawing software to realize computer drawing. Currently, there are two ways for industry to collect data processing: marking the sequence of field collected data and the ground feature characteristics by a sketch method and recording related data; and after the collection is finished, the data is arranged into a format required by computer drawing software by using a table. The method has the defects of complicated data acquisition process, low acquisition speed, large workload of field data processing and high error rate. And secondly, a simple code method is adopted, namely, data are stored according to the requirements of computer drawing software on data reading sequence, data coding and data characteristics when the data are collected. The method also has the defects of complicated data acquisition process, low acquisition speed and incapability of processing the data into a data format required by computer drawing software at one time.
For example, the common CASS computer drawing software in hydraulic engineering measurement has unique coding requirements and data format and sequence requirements on data recorded in the software. At present, in practical application, field operating personnel is required to memorize various ground object codes in CASS computer drawing software skillfully, and when data are acquired, the ground object codes corresponding to each measuring point and the data are stored in data acquisition equipment together, so that the data acquisition process is complicated, and the acquisition speed is low. Secondly, the CASS computer drawing software code can only use a plus sign to represent a code connected with the previous point, so that the ground object measurement must be carried out by 'vertical ruler' one by one, when a plurality of ground objects need to be measured, the 'vertical ruler' measurement cannot be crossed, the working efficiency is low, and the missing measurement is easy to occur.
Disclosure of Invention
The invention aims to provide a code conversion and data processing method in hydraulic engineering measurement.
In order to achieve the purpose, the invention can adopt the following technical scheme:
the invention relates to a code conversion and data processing method in hydraulic engineering measurement, which comprises the following steps:
s1, firstly, establishing a brevity code table of the CASCODE.txt file, wherein the first column of the brevity code table is field operation brevity codes, the second column is identification brevity codes, and the third column is ground feature attribute annotation contents; the field brief code is self-defined by field workers according to own operation and recording habits;
s2, the identification brevity codes correspond to the built-in codes of the CASS computer drawing software one by one through a programming language, and the field brevity codes input by field workers are converted into the built-in codes of the CASS computer drawing software;
s3, raw data entry: the field personnel export the measured data from the measuring instrument and import the measured data into the server;
s4, data checking: checking whether the field measurement data is consistent with the field brevity codes in the brevity code table, and if not, requiring an operator to confirm or modify;
s5, data processing: the server rearranges the data according to the sequence and the requirement of the CASS computer drawing software on the data to form a data table for the CASS computer drawing software to directly use, and realizes the automatic conversion of the field data into the data used by the CASS computer drawing software.
At S2, the field brevity code is input into two types, namely: the type of the simple codes of the point ground objects or the independent ground objects and the type of the simple codes of the linear ground objects;
s2.1, for the type of the simple code of the point ground object or the independent ground object, the input steps are as follows:
s2.1.1, inputting field operation brevity code during field operation measurement, and establishing mapping relation between the field operation brevity code and the built-in code of CASS computer drawing software:
s2.1.2, writing program by computer language to convert the field simplified code into built-in code of CASS computer drawing software;
s2.2, for the linear ground object brevity code type, field personnel need to input field brevity codes, category brevity codes and connection codes at the same time; the category brevity code and the connection code are system built-in rules; the input steps are as follows:
s2.2.1, the field personnel inputs field brevity code, category brevity code, connection code and the original data of the measuring point at the client;
s2.2.2, the server classifies the input original data of the measuring point according to the brevity code table and the field brevity code and the category brevity code, judges the arrangement sequence of the original data of the measuring point according to the connection code, automatically calculates the coordinates of the alternate points according to the measured data of the adjacent measuring points and inserts the coordinates into the original data column;
s2.2.3, establishing a mapping table: arranging and converting the data format in the original data column according to the data format of CASS computer drawing software; each line of the built-in code of the CASS computer drawing software depicts a ground feature, the last line only has a letter E, and the letter E is a file end mark; the data format of each line of the built-in Code of the CASS computer drawing software is Code, N1, N2, … …, Nn and E; wherein: the Code is a ground object Code of the ground object; nn is the point number of the nth point forming the ground feature; the arrangement order of N1, N2, … …, and Nn is identical to the actual order.
The invention has the advantages that field workers can simplify the data acquisition process of the field workers and improve the field data acquisition speed by customizing various surface feature codes according to own operation and recording habits. By the full-automatic processing of the field data by the computer software, the field data is conveniently and quickly processed into a data format required by the computer drawing software, the workload and the error rate are reduced, and the drawing efficiency is improved.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and 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 invention.
The invention relates to a code conversion and data processing method in hydraulic engineering measurement, which comprises the following steps:
s1, firstly, establishing a brevity code table of a CASCODE.txt file, see table 1; the first column of the brevity code table is field brevity codes, the second column is identification brevity codes, and the third column is ground feature attribute annotation contents; the field brief code is self-defined by field workers according to own operation and recording habits;
TABLE 1
S2, the identification brevity codes correspond to the built-in codes of the CASS computer drawing software one by one through the programming language, and the field brevity codes input by field workers are converted into the built-in codes of the CASS computer drawing software; when inputting field brevity codes, the field brevity codes are divided into two types, namely: the type of the simple codes of the point ground objects or the independent ground objects and the type of the simple codes of the linear ground objects;
s2.1, for the type of the simple code of the point ground object or the independent ground object, the input steps are as follows:
s2.1.1, inputting field operation brevity code during field operation measurement, and establishing mapping relation between the field operation brevity code and the built-in code of CASS computer drawing software:
s2.1.2, writing program by computer language to convert the field simplified code into built-in code of CASS computer drawing software;
s2.2, for the linear ground object brevity code type, field personnel need to input field brevity codes, category brevity codes and connection codes at the same time; the category brevity code and the connection code are system built-in rules; the input steps are as follows:
s2.2.1, the field personnel inputs field brevity code, category brevity code, connection code and the original data of the measuring point at the client;
s2.2.2, the server classifies the input original data of the measuring point according to the brevity code table and the field brevity code and the category brevity code, judges the arrangement sequence of the original data of the measuring point according to the connection code, automatically calculates the coordinates of the alternate points according to the measured data of the adjacent measuring points and inserts the coordinates into the original data column; the connection code description is shown in table 2;
TABLE 2
S2.2.3, establishing a mapping table: arranging and converting the data format in the original data column according to the data format of CASS computer drawing software; each line of the built-in code of the CASS computer drawing software depicts a ground feature, the last line only has a letter E, and the letter E is a file end mark; the data format of each line of the built-in Code of the CASS computer drawing software is Code, N1, N2, … …, Nn and E; wherein: the Code is a ground object Code of the ground object; nn is the point number of the nth point forming the ground feature; the arrangement sequence of N1, N2, … … and Nn is consistent with the actual sequence; the last line of letters E is the ground object end mark of the line;
s3, raw data entry: the field personnel export the measured data from the measuring instrument (total station or GNSS RTK instrument) and import the measured data into the server;
s4, data checking: checking whether the field measurement data is consistent with the field brevity codes in the brevity code table, and if not, requiring an operator to confirm or modify;
s5, data processing: the server rearranges the data according to the sequence and the requirement of the CASS computer drawing software on the data to form a data table for the CASS computer drawing software to directly use, and realizes the automatic conversion of the field data into the data used by the CASS computer drawing software.
Claims (2)
1. A code conversion and data processing method in hydraulic engineering measurement is characterized in that: the method comprises the following steps:
s1, firstly, establishing a brevity code table of the CASCODE.txt file, wherein the first column of the brevity code table is field operation brevity codes, the second column is identification brevity codes, and the third column is ground feature attribute annotation contents; the field brief code is self-defined by field workers according to own operation and recording habits;
s2, the identification brevity codes correspond to the built-in codes of the CASS computer drawing software one by one through a programming language, and the field brevity codes input by field workers are converted into the built-in codes of the CASS computer drawing software;
s3, raw data entry: the field personnel export the measured data from the measuring instrument and import the measured data into the server;
s4, data checking: checking whether the field measurement data is consistent with the field brevity codes in the brevity code table, and if not, requiring an operator to confirm or modify;
s5, data processing: the server rearranges the data according to the sequence and the requirement of the CASS computer drawing software on the data to form a data table for the CASS computer drawing software to directly use, and realizes the automatic conversion of the field data into the data used by the CASS computer drawing software.
2. The method for transcoding and data processing in hydraulic engineering measurement according to claim 1, wherein: at S2, the field brevity code is input into two types, namely: the type of the simple codes of the point ground objects or the independent ground objects and the type of the simple codes of the linear ground objects;
s2.1, for the type of the simple code of the point ground object or the independent ground object, the input steps are as follows:
s2.1.1, inputting field operation brevity code during field operation measurement, and establishing mapping relation between the field operation brevity code and the built-in code of CASS computer drawing software:
s2.1.2, writing program by computer language to convert the field simplified code into built-in code of CASS computer drawing software;
s2.2, for the linear ground object brevity code type, field personnel need to input field brevity codes, category brevity codes and connection codes at the same time; the category brevity code and the connection code are system built-in rules; the input steps are as follows:
s2.2.1, the field personnel inputs field brevity code, category brevity code, connection code and the original data of the measuring point at the client;
s2.2.2, the server classifies the input original data of the measuring point according to the brevity code table and the field brevity code and the category brevity code, judges the arrangement sequence of the original data of the measuring point according to the connection code, automatically calculates the coordinates of the alternate points according to the measured data of the adjacent measuring points and inserts the coordinates into the original data column;
s2.2.3, establishing a mapping table: arranging and converting the data format in the original data column according to the data format of CASS computer drawing software; each line of the built-in code of the CASS computer drawing software depicts a ground feature, the last line only has a letter E, and the letter E is a file end mark; the data format of each line of the built-in Code of the CASS computer drawing software is Code, N1, N2, … …, Nn and E; wherein: the Code is a ground object Code of the ground object; nn is the point number of the nth point forming the ground feature; the arrangement order of N1, N2, … …, and Nn is identical to the actual order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110762398.2A CN113408247A (en) | 2021-07-06 | 2021-07-06 | Code conversion and data processing method in hydraulic engineering measurement |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110762398.2A CN113408247A (en) | 2021-07-06 | 2021-07-06 | Code conversion and data processing method in hydraulic engineering measurement |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113408247A true CN113408247A (en) | 2021-09-17 |
Family
ID=77685227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110762398.2A Pending CN113408247A (en) | 2021-07-06 | 2021-07-06 | Code conversion and data processing method in hydraulic engineering measurement |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113408247A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115375872A (en) * | 2022-08-29 | 2022-11-22 | 淮安市水利勘测设计研究院有限公司 | GNSS measurement linear ground object automatic delineation method |
-
2021
- 2021-07-06 CN CN202110762398.2A patent/CN113408247A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115375872A (en) * | 2022-08-29 | 2022-11-22 | 淮安市水利勘测设计研究院有限公司 | GNSS measurement linear ground object automatic delineation method |
CN115375872B (en) * | 2022-08-29 | 2023-12-08 | 淮安市水利勘测设计研究院有限公司 | Automatic sketching method for GNSS measurement linear ground objects |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101988961B (en) | Geographic location data collecting system | |
CN109977383A (en) | A kind of form information extracting method based on Excel | |
CN103473056A (en) | Automatic generation method for telemetering configuration files | |
CN109033322A (en) | A kind of test method and device of multidimensional data | |
CN102235858A (en) | Coded real-time kinematic global positioning system (RTK-GPS) plane section measuring method and system | |
CN113408247A (en) | Code conversion and data processing method in hydraulic engineering measurement | |
US7225396B2 (en) | System and method for generating a report on an object | |
CN111695330A (en) | Method and device for generating table, electronic equipment and computer-readable storage medium | |
CN111708827A (en) | Real estate unit coding system | |
CN115510834A (en) | Laboratory data digital management system and method | |
CN102467573B (en) | Digital mapping simplicity compiling method and internal sort method are auxiliary bee-line ranking method | |
CN115587098A (en) | Method and system for intelligently identifying chart data | |
CN104794236B (en) | A kind of map making rule structure and its structured organization method and system | |
CN110675729B (en) | Multi-version local geographic information integrated drawing method and system | |
CN116956837A (en) | Project determining method and device for engineering quantity list | |
CN114443657A (en) | Spatial data layer field checking method and system applied to digital twin city | |
CN111552726A (en) | Method for realizing intelligent acquisition of geological disaster investigation information | |
CN104408316A (en) | Chinese and American geotechnical engineering soil classification criterion conversion device and method | |
CN113177289A (en) | Data processing method for computer numerical simulation result | |
CN112650754A (en) | Method for importing total data of relational database into Hive | |
CN112487124A (en) | Method for converting dot-shaped elements in CorelDraw map into SuperMap by using VBA | |
CN106705946B (en) | A method of the transmission line of electricity stand' grade measurement based on mobile terminal | |
CN110941586A (en) | Engineering design data management method and system | |
CN115202542B (en) | Automatic link and skip method for circuit ports in electronic drawing based on OCR technology | |
CN103092836B (en) | Size number alignment system and method |
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 |