CN111190975A - River channel patrol method for calculating task track coverage rate according to GPS data - Google Patents
River channel patrol method for calculating task track coverage rate according to GPS data Download PDFInfo
- Publication number
- CN111190975A CN111190975A CN201910919881.XA CN201910919881A CN111190975A CN 111190975 A CN111190975 A CN 111190975A CN 201910919881 A CN201910919881 A CN 201910919881A CN 111190975 A CN111190975 A CN 111190975A
- Authority
- CN
- China
- Prior art keywords
- patrol
- river
- track
- river channel
- subsection
- 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 20
- 238000004364 calculation method Methods 0.000 claims abstract description 7
- 241000755266 Kathetostoma giganteum Species 0.000 claims description 4
- 230000004075 alteration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
The invention discloses a river channel patrol method for calculating task track coverage rate according to GPS data, which comprises the following steps: s1, automatically dividing the river into a plurality of equal subsections according to the center line of the river, and generating an effective space range for river patrol; s2, judging whether the current river channel subsection is covered by the patrol track according to whether the GPS point of the patrol track falls in the effective space range of the current river channel subsection; the method automatically divides the river channel into 100 equal subsections according to the center line of the river channel, each subsection expands the designated width to two sides to generate the effective space range of the river channel patrol, judges whether the current river channel subsection is covered by the patrol track according to whether the GPS point of the patrol track falls in the effective space range of the current river channel subsection, and finally calculates the patrol track coverage rate according to whether each subsection is covered, thereby realizing the automatic calculation of the track coverage rate of the river channel patrol, truly reflecting the completion condition of the river channel patrol task and greatly reducing the supervision workload.
Description
Technical Field
The invention relates to the technical field of mobile APP river channel patrol, in particular to a river channel patrol method for calculating task track coverage rate according to GPS data.
Background
One of the core tasks of river growth work is river patrol, and problems are found and solved through river patrol, so that the ecological environment of a river channel is protected; generally, a village patrol worker is required to have a track for one-week patrol to cover the whole length of a river channel in charge; at present, river patrol personnel are mainly examined whether complete patrol records exist or not, but paper handwritten patrol records are easy to counterfeit; the river chief can hardly verify that the patrolman does not patrol the river channel only by the patrol record, and also can not clearly inquire whether the patrolman patrols the whole line of the river channel or only patrol one part of the river channel (namely, the track coverage rate of the patrolman task); in order to solve the problems, the mobile APP is adopted in the current market to monitor the river patrol track; by installing the APP on the mobile phone of the patrolman, recording coordinate information acquired by a mobile phone GPS during patrolling and uploading the coordinate information to the central server through a mobile network, a river leader can check the track of the patrolman through a GIS map application deployed on the central server, and the length of the patrolman track and the patrolman duration can be automatically counted; the length of the patrol track is adopted to replace the length of the patrol river channel, and the two have substantial difference; supposing that the length of a river channel needing to be patrolled is 10km, if the local part of the river channel with the length of 1km is patrolled for 10 times, the patrolling track length reaches 10km, but the effective length of the patrolling of the river channel is still 1km, many river patrolling personnel needing to be supervised by the river conductor are needed, and the manual checking efficiency is too low, so that the river channel patrolling method for calculating the task track coverage rate according to GPS data is provided.
Disclosure of Invention
The invention aims to provide a river channel patrol method for calculating task track coverage rate according to GPS data, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a river channel patrol method for calculating task track coverage rate according to GPS data comprises the following steps:
s1, automatically dividing the river into a plurality of equal subsections according to the center line of the river, and generating an effective space range for river patrol;
s2, judging whether the current river channel subsection is covered by the patrol track according to whether the GPS point of the patrol track falls within the effective space range of the current river channel subsection;
s3, automatically processing the river patrol range data through the mobile APP;
s4, all river subsections are judged in sequence to obtain the final track covering subsection number;
and S5, counting the total number of covered river subsections to calculate the coverage rate of the patrol track.
As further preferable in the present technical solution: in S1, the center line of the river channel is automatically divided into 100 equal subsections, each subsection extends to the two sides to a specified width to generate an effective space range for the river channel patrol, each subsection of the river channel generates a flat-head buffer zone according to the radius of 200 m, and the buffer zone generated by the river channel subsection is used as the effective patrol range of the river channel subsection.
As further preferable in the present technical solution: storing the center line space data of each river channel into a database in an wkt format, reading the space data of the center line of the currently processed river channel in the database, calculating the length of the center line of the river channel, and dividing the calculation result by 100 to obtain the length of each subsection.
As further preferable in the present technical solution: in S2, the number of subsections covered by the river subsection trajectory is set to 0, all coordinate points of the river patrol trajectory in the database are obtained, and then all coordinate points of the river patrol trajectory are analyzed.
As further preferable in the present technical solution: in S4, first, the 1 st river channel subsection is judged whether there is track coverage, all patrol track GPS points are traversed, and then the traversed patrol track GPS points are observed to see whether a point falls within the effective space range of the current river channel subsection.
As further preferable in the present technical solution: and after the patrol track GPS points are traversed, observing that the patrol track is in an effective space range of the current river channel subsection, judging that the current river channel subsection is covered by the patrol track, and adding 1 to the number of sections covered by the patrol track.
As further preferable in the present technical solution: after the patrol track GPS points are traversed, observing that the patrol track does not fall within the effective space range of the current river channel subsection, and sequentially and completely judging all 100 river channel subsections to obtain the final track covering section number.
As further preferable in the present technical solution: in S5, the number of the trajectory coverage segments obtained is divided by 100, thereby obtaining the coverage of the channel patrol trajectory.
Compared with the prior art, the invention has the beneficial effects that: the method automatically divides the river channel into 100 equal subsections according to the center line of the river channel, each subsection expands the designated width to two sides to generate the effective space range of the river channel patrol, judges whether the current river channel subsection is covered by the patrol track according to whether the GPS point of the patrol track falls in the effective space range of the current river channel subsection, and finally calculates the patrol track coverage rate according to whether each subsection is covered, thereby realizing the automatic calculation of the track coverage rate of the river channel patrol, truly reflecting the completion condition of the river channel patrol task and greatly reducing the supervision workload.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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.
Example 1
Referring to fig. 1, the present invention provides a technical solution: a river channel patrol method for calculating task track coverage rate according to GPS data comprises the following steps:
s1, automatically dividing the river into a plurality of equal subsections according to the center line of the river, and generating an effective space range for river patrol;
s2, judging whether the current river channel subsection is covered by the patrol track according to whether the GPS point of the patrol track falls within the effective space range of the current river channel subsection;
s3, automatically processing the river patrol range data through the mobile APP;
s4, all river subsections are judged in sequence to obtain the final track covering subsection number;
and S5, counting the total number of covered river subsections to calculate the coverage rate of the patrol track.
In this embodiment, specifically: in S1, the center line of the river channel is automatically divided into 100 equal subsections, each subsection extends to the two sides to a specified width to generate an effective space range for the river channel patrol, each subsection of the river channel generates a flat-head buffer zone according to the radius of 200 m, and the buffer zone generated by the river channel subsection is used as the effective patrol range of the river channel subsection.
By adopting the technical scheme, the river channel is divided into 100 equal subsections, each subsection expands to the specified width towards two sides, the effective space range for searching the river channel is realized, and the patrol of the river channel is facilitated.
In this embodiment, specifically: in S1, the center line space data of each river channel is stored into a database in a wkt format, the space data of the center line of the currently processed river channel in the database is read, the length of the center line of the river channel is calculated, and the calculated result is divided by 100 to obtain the length of each subsection.
By adopting the technical scheme, the central line space data of each river channel and the length and the width of the effective space of each river channel are firstly stored into the database in a data mode, and the length of each subsection is obtained after the data is divided by 100.
In this embodiment, specifically: in S2, the number of subsections covered by the river subsection trajectory is set to 0, all coordinate points of the river patrol trajectory in the database are obtained, and then all coordinate points of the river patrol trajectory are analyzed.
By adopting the technical scheme, all coordinate points of the river channel patrol track are conveniently analyzed and judged by the database.
In this embodiment, specifically: in S4, first, the 1 st river channel subsection is judged whether there is track coverage, all patrol track GPS points are traversed, and then the traversed patrol track GPS points are observed to see whether a point falls within the effective space range of the current river channel subsection.
By adopting the technical scheme, all the coordinate points of the patrol track are observed, and whether the coordinate points are in the effective range of the current river channel or not is judged.
In this embodiment, specifically: and after the patrol track GPS points are traversed, observing that the patrol track is in an effective space range of the current river channel subsection, judging that the current river channel subsection is covered by the patrol track, and adding 1 to the number of sections covered by the patrol track.
By adopting the technical scheme, after the patrol track of the river is traversed, if the coordinate point of the patrol track is observed to be within the effective space range of the current river, the current river is covered by the patrol track, and the current subsection is added with 1 to indicate that the current subsection is covered.
In this embodiment, specifically: in S5, the number of the trajectory coverage segments obtained is divided by 100, thereby obtaining the coverage of the channel patrol trajectory.
By adopting the technical scheme, the number of all the subsections covered in the effective space is divided by 100, and the coverage rate of the whole patrol track is finally obtained after calculation.
Example 2
Referring to fig. 1, the present invention provides a technical solution: a river channel patrol method for calculating task track coverage rate according to GPS data comprises the following steps:
s1, automatically dividing the river into a plurality of equal subsections according to the center line of the river, and generating an effective space range for river patrol;
s2, judging whether the current river channel subsection is covered by the patrol track according to whether the GPS point of the patrol track falls within the effective space range of the current river channel subsection;
s3, automatically processing the river patrol range data through the mobile APP;
s4, all river subsections are judged in sequence to obtain the final track covering subsection number;
and S5, counting the total number of covered river subsections to calculate the coverage rate of the patrol track.
In this embodiment, specifically: firstly, automatically dividing the center line of the river channel into 100 equal subsections, extending each subsection to two sides to a specified width to generate an effective space range for river channel patrol, generating a flat-head buffer zone for each subsection of the river channel according to the radius of 200 m, and taking the buffer zone generated by the subsection of the river channel as the effective patrol range of the river channel.
By adopting the technical scheme, the river channel is divided into 100 equal subsections, each subsection expands to the specified width towards two sides, the effective space range for searching the river channel is realized, and the patrol of the river channel is facilitated.
In this embodiment, specifically: storing the center line space data of each river channel into a database in an wkt format, reading the space data of the center line of the currently processed river channel in the database, calculating the length of the center line of the river channel, and dividing the calculation result by 100 to obtain the length of each subsection.
By adopting the technical scheme, the central line space data of each river channel and the length and the width of the effective space of each river channel are firstly stored into the database in a data mode, and the length of each subsection is obtained after the data is divided by 100.
In this embodiment, specifically: in S2, the number of subsections covered by the river subsection trajectory is set to 0, all coordinate points of the river patrol trajectory in the database are obtained, and then all coordinate points of the river patrol trajectory are analyzed.
By adopting the technical scheme, all coordinate points of the river channel patrol track are conveniently analyzed and judged by the database.
In this embodiment, specifically: in S4, first, the 1 st river channel subsection is judged whether there is track coverage, all patrol track GPS points are traversed, and then the traversed patrol track GPS points are observed to see whether a point falls within the effective space range of the current river channel subsection.
By adopting the technical scheme, all the coordinate points of the patrol track are observed, and whether the coordinate points are in the effective range of the current river channel or not is judged.
In this embodiment, specifically: after the patrol track GPS points are traversed, observing that the patrol track does not fall within the effective space range of the current river channel subsection, and sequentially and completely judging all 100 river channel subsections to obtain the final track covering section number.
By adopting the technical scheme, all 100 river channel subsections are judged again at the coordinate point which is not in the effective space range of the current river channel subsection, and finally the number of the track covering subsections is determined.
In this embodiment, specifically: in S5, the number of the trajectory coverage segments obtained is divided by 100, thereby obtaining the coverage of the channel patrol trajectory.
By adopting the technical scheme, the number of all the subsections covered in the effective space is divided by 100, and the coverage rate of the whole patrol track is finally obtained after calculation.
When the working principle or the structural principle is used, firstly, a river channel central line is automatically divided into 100 equal subsections, each subsection extends to two sides to a specified width to generate an effective space range for patrolling the river channel, each river channel subsection generates a flat buffer zone according to the radius of 200 meters, the buffer zone generated by the river channel subsection is used as the effective patrolling range of the river channel subsection, the central line space data of each river channel is stored in a database in an wkt format, the space data of the central line of the currently processed river channel in the database is read, then the length of the river channel central line is calculated, the calculated result is divided by 100 to obtain the length of each subsection, the number of the subsections covered by the river channel subsection track is set to be 0, all coordinate points of the river channel patrolling track in the database are obtained, then the coordinate points of all the river channel patrolling tracks are analyzed, and after the analysis, the judgment whether the track coverage is carried out on the 1 st river channel subsection, traversing all the patrol track GPS points, observing whether the traversed patrol track GPS points are within the effective space range of the current river channel subsection, after the patrol track GPS points are traversed, observing that the patrol track is within the effective space range of the current river channel subsection, judging that the current river channel subsection is covered by the patrol track, adding 1 to the patrol track covering sections, after the patrol track GPS points are traversed, observing that the patrol track is not within the effective space range of the current river channel subsection, sequentially and completely judging all 100 river channel subsections to obtain the final track covering sections, and dividing the obtained track covering sections by 100 to further obtain the river channel patrol track covering rate.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.
Claims (8)
1. A river channel patrol method for calculating task track coverage rate according to GPS data is characterized by comprising the following steps: the method comprises the following steps:
s1, automatically dividing the river into a plurality of equal subsections according to the center line of the river, and generating an effective space range for river patrol;
s2, judging whether the current river channel subsection is covered by the patrol track according to whether the GPS point of the patrol track falls in the effective space range of the current river channel subsection;
s3, automatically processing the river patrol range data through the mobile APP;
s4, all river subsections are judged in sequence to obtain the final track covering subsection number;
and S5, counting the total number of covered river subsections to calculate the coverage rate of the patrol track.
2. The river patrol method for calculating task track coverage according to GPS data according to claim 1, wherein: in S1, the center line of the river channel is automatically divided into 100 equal subsections, each subsection extends to the two sides to a specified width to generate an effective space range for the river channel patrol, each subsection of the river channel generates a flat-head buffer zone according to the radius of 200 m, and the buffer zone generated by the river channel subsection is used as the effective patrol range of the river channel subsection.
3. The river patrol method for calculating task track coverage according to GPS data, according to claim 2, wherein: storing the center line space data of each river channel into a database in an wkt format, reading the space data of the center line of the currently processed river channel in the database, calculating the length of the center line of the river channel, and dividing the calculation result by 100 to obtain the length of each subsection.
4. The river patrol method for calculating task track coverage according to GPS data according to claim 1, wherein: in S2, the number of subsections covered by the river subsection trajectory is set to 0, all coordinate points of the river patrol trajectory in the database are obtained, and then all coordinate points of the river patrol trajectory are analyzed.
5. The river patrol method for calculating task track coverage according to GPS data, according to claim 4, wherein the task track coverage is calculated by the following steps: in S4, first, the 1 st river channel subsection is judged whether there is track coverage, all patrol track GPS points are traversed, and then the traversed patrol track GPS points are observed to see whether a point falls within the effective space range of the current river channel subsection.
6. The river patrol method for calculating task track coverage according to the GPS data, according to claim 5, wherein: and after the patrol track GPS points are traversed, observing that the patrol track is in an effective space range of the current river channel subsection, judging that the current river channel subsection is covered by the patrol track, and adding 1 to the number of sections covered by the patrol track.
7. The river patrol method for calculating task track coverage according to GPS data, according to claim 4, wherein the task track coverage is calculated by the following steps: after the patrol track GPS points are traversed, observing that the patrol track does not fall within the effective space range of the current river channel subsection, and sequentially and completely judging all 100 river channel subsections to obtain the final track covering section number.
8. The river patrol method for calculating task track coverage according to GPS data according to claim 1, wherein: in S5, the number of the trajectory coverage segments obtained is divided by 100, thereby obtaining the coverage of the channel patrol trajectory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910919881.XA CN111190975A (en) | 2019-09-26 | 2019-09-26 | River channel patrol method for calculating task track coverage rate according to GPS data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910919881.XA CN111190975A (en) | 2019-09-26 | 2019-09-26 | River channel patrol method for calculating task track coverage rate according to GPS data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111190975A true CN111190975A (en) | 2020-05-22 |
Family
ID=70709061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910919881.XA Pending CN111190975A (en) | 2019-09-26 | 2019-09-26 | River channel patrol method for calculating task track coverage rate according to GPS data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111190975A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114398413A (en) * | 2022-01-06 | 2022-04-26 | 苏州智能交通信息科技股份有限公司 | Intelligent analysis method, equipment and storage medium for road inspection |
CN115689129A (en) * | 2023-01-03 | 2023-02-03 | 长江信达软件技术(武汉)有限责任公司 | Method and device for realizing river patrol effectiveness judgment and calculation based on time-space analysis |
CN118014433A (en) * | 2024-02-27 | 2024-05-10 | 山东浪潮智水数字科技有限公司 | Water conservancy inspection completion rate monitoring method, system and medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060212462A1 (en) * | 2002-04-25 | 2006-09-21 | Kashya Israel Ltd. | Apparatus for continuous compression of large volumes of data |
CN102044094A (en) * | 2009-10-10 | 2011-05-04 | 中国移动通信集团福建有限公司 | Line polling management system and method |
CN104298862A (en) * | 2014-09-26 | 2015-01-21 | 讯腾数码科技(北京)有限公司 | Method for obtaining routing inspection in-place data of city pipe network |
CN109615723A (en) * | 2018-11-30 | 2019-04-12 | 泰华智慧产业集团股份有限公司 | Inspection route coverage condition automatic analysis method and system |
-
2019
- 2019-09-26 CN CN201910919881.XA patent/CN111190975A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060212462A1 (en) * | 2002-04-25 | 2006-09-21 | Kashya Israel Ltd. | Apparatus for continuous compression of large volumes of data |
CN102044094A (en) * | 2009-10-10 | 2011-05-04 | 中国移动通信集团福建有限公司 | Line polling management system and method |
CN104298862A (en) * | 2014-09-26 | 2015-01-21 | 讯腾数码科技(北京)有限公司 | Method for obtaining routing inspection in-place data of city pipe network |
CN109615723A (en) * | 2018-11-30 | 2019-04-12 | 泰华智慧产业集团股份有限公司 | Inspection route coverage condition automatic analysis method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114398413A (en) * | 2022-01-06 | 2022-04-26 | 苏州智能交通信息科技股份有限公司 | Intelligent analysis method, equipment and storage medium for road inspection |
CN115689129A (en) * | 2023-01-03 | 2023-02-03 | 长江信达软件技术(武汉)有限责任公司 | Method and device for realizing river patrol effectiveness judgment and calculation based on time-space analysis |
CN118014433A (en) * | 2024-02-27 | 2024-05-10 | 山东浪潮智水数字科技有限公司 | Water conservancy inspection completion rate monitoring method, system and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | A simple baseline for travel time estimation using large-scale trip data | |
CN102044094B (en) | Line polling management system and method | |
CN111190975A (en) | River channel patrol method for calculating task track coverage rate according to GPS data | |
US20190329788A1 (en) | Road condition status prediction method, device, and server, and storage medium | |
CN109916413B (en) | Road matching method, system, device and storage medium based on grid division | |
US20170131108A1 (en) | Gps data repair | |
CN105785411B (en) | A kind of abnormal track-detecting method based on region division | |
CN107885795B (en) | Data verification method, system and device for card port data | |
Liu et al. | Calibrating large scale vehicle trajectory data | |
CN113409482B (en) | Optical cable line inspection monitoring and working quantification assessment method | |
CN111737377B (en) | Method and device for identifying drift trajectory, computing equipment and storage medium | |
EP2608181B1 (en) | Method for detecting traffic | |
CN107871400B (en) | Road network information updating method and device | |
CN103835764B (en) | Underground works and deep basal pit pre-warning system for monitoring | |
JP6803205B2 (en) | Devices, programs and methods for estimating traffic volume based on the movement position range group including the target route | |
CN111127891B (en) | Road network checking method based on floating car track big data | |
US20150347953A1 (en) | Kpi specification apparatus and kpi specification method | |
Cich et al. | Threshold settings for TRIP/STOP detection in GPS traces | |
CN109035783A (en) | A kind of virtual networks missing section automatic identifying method based on public transport GPS track | |
CN113918551B (en) | Positioning abnormal point identification method, system, medium and electronic equipment | |
CN105387844A (en) | Road condition measurement system and road condition measurement method | |
CN113222040B (en) | Marine fixed target identification method, device, computer equipment and storage medium | |
CN113074694B (en) | Automatic monitoring device for tunnel section deformation | |
CN104121917A (en) | Method and device for automatically discovering new bridge | |
CN109446437B (en) | Information mining method, device, server 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200522 |
|
RJ01 | Rejection of invention patent application after publication |