CN109062934B - Method and device for searching measure pattern spots and mobile terminal - Google Patents

Method and device for searching measure pattern spots and mobile terminal Download PDF

Info

Publication number
CN109062934B
CN109062934B CN201810615078.2A CN201810615078A CN109062934B CN 109062934 B CN109062934 B CN 109062934B CN 201810615078 A CN201810615078 A CN 201810615078A CN 109062934 B CN109062934 B CN 109062934B
Authority
CN
China
Prior art keywords
measure
spot
distance
spots
calculating
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.)
Active
Application number
CN201810615078.2A
Other languages
Chinese (zh)
Other versions
CN109062934A (en
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.)
BEIJING DATUM TECHNOLOGY DEVELOPMENT CO LTD
Original Assignee
BEIJING DATUM TECHNOLOGY DEVELOPMENT 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 BEIJING DATUM TECHNOLOGY DEVELOPMENT CO LTD filed Critical BEIJING DATUM TECHNOLOGY DEVELOPMENT CO LTD
Priority to CN201810615078.2A priority Critical patent/CN109062934B/en
Publication of CN109062934A publication Critical patent/CN109062934A/en
Application granted granted Critical
Publication of CN109062934B publication Critical patent/CN109062934B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method, a device and a mobile terminal for searching a measure pattern spot, wherein the searching method is applied to the mobile terminal, and specifically comprises the steps of performing buffer analysis calculation by taking the current position of a user as the center of a circle and a preset radius to obtain a geometric surface object; converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object; calculating a minimum circumscribed rectangle of the surface object; screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot; calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values; and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot. The method can realize that the field user can quickly search the measure pattern spots by determining the target measure pattern spots, and can reach the nearest measure pattern spots as soon as possible according to the result, thereby improving the efficiency of checking and accepting.

Description

Method and device for searching measure pattern spots and mobile terminal
Technical Field
The invention relates to the technical field of water and soil conservation, in particular to a method and a device for searching measure pattern spots and a mobile terminal.
Background
The development of water and soil conservation supervision and inspection is an important annual work of water administration departments, and the implementation of water and soil conservation measures is one of the main contents of supervision and inspection work.
The water and soil conservation measures refer to the general names of technical measures and management measures such as engineering, plants, farming and the like which are adopted for preventing water and soil loss, protecting, improving and reasonably utilizing water and soil resources and improving the ecological environment. In the water and soil conservation work, water conservation measures are implemented on a specific land block according to the principles of local condition and hazard prevention and the like through the water and soil conservation comprehensive treatment overall plan and the implementation plan taking a small watershed as a unit, and are reflected on a corresponding graph to form measure pattern spots. The measure pattern spots are basic units for design, construction, maintenance management and supervision and inspection, and the search and the positioning of the measure pattern spots are necessary conditions for carrying out supervision and inspection work on site.
In recent years, with the continuous improvement of the supervision and inspection mode of soil and water conservation work, mobile inspection acceptance is becoming a common mode of supervision and inspection work. The mobile inspection and acceptance of the production and construction project refers to the work that technicians of a water administration department hand-hold a mobile terminal to carry out inspection and acceptance on the project site, wherein the mobile terminal refers to a smart phone or a tablet computer with a built-in 'national water and soil conservation key project mobile inspection and acceptance system'.
The mobile inspection acceptance system comprises four modules: field preparation, field inspection acceptance, field editing and data uploading. The field preparation mainly comprises the steps of determining a received project to be checked, and downloading project information (including basic geographic information data, a project area, a measure pattern spot, a DEM (digital elevation model), a remote sensing image and the like) from a data center; the on-site inspection and acceptance mainly refers to item information, verifies the completion condition of water and soil conservation measures and records inspection and acceptance information (including photos, videos, audios, handwritten notes and the like) on site; the internal editing is mainly used for sorting information acquired in the field inspection acceptance process to form an inspection acceptance conclusion; and the data uploading is to transmit the process information and conclusion of the inspection and acceptance back to the data center.
However, to implement the mobile inspection acceptance of the water and soil conservation measures, firstly, the search and the positioning of the measure pattern spots within a given range are implemented on the mobile terminal, so that the user can determine the distance of the corresponding measure pattern spots relative to the user and can arrive at the nearest measure pattern spots as soon as possible according to the distance to perform the inspection acceptance.
Disclosure of Invention
In view of this, the invention provides a method and an apparatus for searching a measure image spot, and a mobile terminal, so as to implement the search of the measure image spot on the mobile terminal, so as to improve the efficiency of checking and accepting.
In order to solve the above problems, the present invention discloses a method for searching a measure pattern spot, which is applied to a mobile terminal, and the method comprises the following steps:
performing buffer analysis calculation by taking the current position of the user as the center of a circle and a preset radius to obtain a geometric surface object;
converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object;
calculating a minimum bounding rectangle of the surface object;
screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot;
calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values;
and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot.
Optionally, the distance is a pseudo distance.
Optionally, the calculating a distance between each measure spot in the candidate measure spot set and the center of the circle includes:
judging the topological relation between each measure pattern spot and the circle center in the process of calculating the distance;
and if the measure pattern spot contains the circle center, taking the measure pattern spot containing the circle center as the target measure pattern spot.
Optionally, the calculating a distance between each measure spot in the candidate measure spot set and the center of the circle further includes:
and when the measure pattern spots contain the circle center, stopping calculating the distance between other measure pattern spots in the follow-up measure pattern spot set and the circle center.
There is also provided a device for searching for a measure spot, applied to a mobile terminal, the device comprising:
the buffer analysis module is used for carrying out buffer analysis calculation by taking the current position of the user as a circle center and a preset radius to obtain a geometric surface object;
the coordinate conversion module is used for converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object;
mbr a calculation module for calculating a minimum bounding rectangle of the face object;
the superposition analysis module is used for screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot;
the distance calculation module is used for calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values;
and the result output module is used for taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as the target measure pattern spot.
Optionally, the distance is a pseudo distance.
Optionally, the distance calculating module includes:
the topology judgment unit is used for judging the topological relation between each measure pattern spot and the circle center in the process of calculating the distance;
and the direct output unit is used for taking the measure image spot containing the circle center as the target measure image spot if the measure image spot contains the circle center.
Optionally, the distance calculating module further includes:
and the interruption control unit is used for stopping calculating the distance between the other measure pattern spots in the follow-up measure pattern spot set and the circle center when judging that the measure pattern spots contain the circle center.
In addition, another mobile terminal is provided with the searching device.
In addition, a mobile terminal is provided, which comprises at least a processor and a memory, wherein the memory stores a computer program, and the computer program can be executed by the processor, so that the mobile terminal can perform the following steps:
performing buffer analysis calculation by taking the current position of the user as the center of a circle and a preset radius to obtain a geometric surface object; converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object; calculating a minimum bounding rectangle of the surface object; screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot; calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values; and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot.
The technical scheme can be seen that the invention provides a method, a device and a mobile terminal for searching measure pattern spots, wherein the searching method is applied to the mobile terminal, and specifically comprises the steps of performing buffer analysis calculation by taking the current position of a user as the center of a circle and a preset radius to obtain a geometric surface object; converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object; calculating a minimum circumscribed rectangle of the surface object; screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot; calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values; and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot. The method can realize that the field user can quickly search the measure pattern spots by determining the target measure pattern spots, and can reach the nearest measure pattern spots as soon as possible according to the result, thereby improving the efficiency of checking and accepting.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart illustrating steps of a method for searching a measure pattern according to an embodiment of the present invention;
fig. 2 is a block diagram of a device for searching measure patches according to an embodiment of the present invention;
fig. 3 is a block diagram of a mobile terminal according to an embodiment 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 one
Fig. 1 is a flowchart illustrating steps of a method for searching a measure pattern spot according to an embodiment of the present invention.
The searching method provided by the embodiment is applied to the mobile terminal, and is used for enabling the mobile terminal to search and locate the measure pattern spots. The mobile terminal can be understood as a smart phone or a tablet computer provided with an engineering inspection acceptance system, and the engineering inspection acceptance system preferably selects a national water and soil conservation key engineering mobile inspection acceptance system.
The mobile inspection and acceptance system for the national water and soil conservation key project is computer application software and is used for carrying out field inspection and acceptance on the national water and soil conservation key project, and comprises four functional modules of field operation preparation, field inspection and acceptance, field operation editing and data uploading, and specific functions are not described in an expansion mode.
In the water and soil conservation work, water conservation measures are implemented on a specific land block according to the principles of local condition and hazard prevention and the like through the water and soil conservation comprehensive treatment overall plan and the implementation plan taking a small watershed as a unit, and are reflected on corresponding figures, namely measure patches.
Referring to fig. 1, the method for searching a measure pattern spot specifically includes the following steps:
s1: the geometric surface object is calculated according to the current position of the user.
Specifically, the current position of the user is taken as a circle center, and buffering analysis calculation is performed by using a preset radius, so that a corresponding geometric surface object is obtained.
The current position refers to the position of a user determined by the mobile terminal applying the scheme through a satellite positioning system; the given radius may be solved by inputting corresponding parameters to the mobile terminal, or may be a preset default value.
S2: and carrying out coordinate transformation on the geometric surface object to obtain a surface object.
After obtaining the corresponding geometric surface object, the geometric surface object is subjected to coordinate transformation, namely the geometric surface object in a geographic coordinate system is transformed into a surface object in a plane coordinate system.
S3: the minimum bounding rectangle of the face object is computed.
The minimum bounding rectangle here is preferably a square, i.e. the smallest rectangle that can enclose a circle with a given radius at the center of the current position. Here, calculating the outsourcing rectangle refers to calculating the parameters such as the position, the range and the like determined by the outsourcing rectangle, and the range parameters include data such as perimeter, area and the like.
S4: and screening out a candidate measure image spot set according to the minimum circumscribed rectangle and the base image spots.
The base map is a measure map of a certain region or a preset area downloaded from a database in the "field preparation" stage of the mobile inspection and acceptance system, that is, a water and soil conservation measure map required to be inspected and accepted. By superposing the minimum circumscribed rectangle and the map patches, a certain number of measure patches, namely the measure patches with the overlapping range with the minimum circumscribed rectangle, can be selected from the map patches.
And when a certain number of measure patches are selected, taking the selected measure patches as a candidate measure patch set.
If no measure map spot is selected by superposing the minimum circumscribed rectangle with the map spot, no processing is performed, specifically, the operation of calculating the geometric surface object according to the current position of the user is returned.
S5: and calculating the position of each measure image spot in the candidate measure image spot set relative to the center of a circle.
Since the center of the circle is substantially the current position of the user, it is substantial here to calculate the position of each measure patch in the candidate measure patch set relative to the user to obtain a plurality of distance values. These distance values are calculated using, in particular, the open source GDAL/OGR and GEOS libraries.
When calculating the distance value of each measure image spot relative to the center of the circle, the distance value can be a pseudo distance and is not squared, because the calculation result is an intermediate variable and is not an output result.
The GDAL (Geospatial Data Abstraction Library) is an open source grid space Data conversion Library under the X/MIT license agreement, and expresses various supported file formats by using an abstract Data model;
OGR: is a branch of the GDAL project and functions similarly to GDAL except that it provides support for vector data.
A Geometry Engine-Open Source geometric object Engine (GEOS) is a practical library for operating topological relationships of Open-Source geometric shapes, and simply speaking, is a library for determining the relationship between two geometric shapes and operating the two geometric shapes to form a new geometric shape.
Specifically, when calculating the distance value of each specific measure image spot in the candidate measure image spot set relative to the circle center, namely the current position of the user, firstly judging the topological relation of the current measure image spot relative to the circle center, and if the two do not contain the distance value, calculating the distance value of the two by using a corresponding distance formula; and if the current measure image spot contains the circle center, namely the area where the measure image spot is located covers the circle center, directly taking the current measure image spot as the target measure image spot.
Meanwhile, because the target pattern spot is determined at this time, when the current measure pattern spot contains the circle center through the topological relation, the calculation of the distance value of the other measure pattern spots relative to the circle center is stopped, and the corresponding calculation resource can be saved through the measure.
S6: and finding out the target measure pattern spots according to the obtained plurality of distance values.
The target measure graphic spot is a measure graphic spot closest to the current distance of the user, and is a measure icon which is required to arrive at the user and be checked and accepted on site. After obtaining the plurality of distance values, the distance of each measure image spot in the candidate measure image spot set relative to the user can be determined, and the measure image spot which is the shortest distance from the user can be determined by comparing the distance values, wherein the measure image spot is the target measure image spot.
According to the technical scheme, the searching method for the measure pattern spots is applied to the mobile terminal, and specifically, the searching method is used for performing buffer analysis calculation by taking the current position of a user as a circle center and a preset radius to obtain a geometric surface object; converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object; calculating a minimum circumscribed rectangle of the surface object; screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot; calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values; and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot. The method can realize that the field user can quickly search the measure pattern spots by determining the target measure pattern spots, and can reach the nearest measure pattern spots as soon as possible according to the result, thereby improving the efficiency of checking and accepting.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Example two
Fig. 2 is a block diagram of a device for searching measure patches according to an embodiment of the present invention.
Referring to fig. 2, the searching apparatus provided in this embodiment is applied to a mobile terminal, and is used for enabling the mobile terminal to search and locate a measure spot, and the searching apparatus for the measure spot specifically includes a buffer analysis module 10, a coordinate conversion module 20, an Mbr calculation module 30, an overlay analysis module 40, a distance calculation module 50, and a result output module 60.
The buffer analysis module is used for calculating the geometric surface object according to the current position of the user.
Specifically, the current position of the user is taken as a circle center, and buffering analysis calculation is performed by using a preset radius, so that a corresponding geometric surface object is obtained.
The current position refers to the position of a user determined by the mobile terminal applying the scheme through a satellite positioning system; the given radius may be solved by inputting corresponding parameters to the mobile terminal, or may be a preset default value.
And the coordinate conversion module is used for carrying out coordinate transformation on the geometric surface object to obtain a surface object.
After obtaining the corresponding geometric surface object, the geometric surface object is subjected to coordinate transformation, namely the geometric surface object in a geographic coordinate system is transformed into a surface object in a plane coordinate system.
Mbr the calculation module is used to calculate the minimum bounding rectangle of the face object.
The minimum bounding rectangle here is preferably a square, i.e. the smallest rectangle that can enclose a circle with a given radius at the center of the current position. Here, calculating the outsourcing rectangle refers to calculating the parameters of the position, the range, and the like determined by the outsourcing rectangle.
And the superposition analysis module is used for screening out a candidate measure image spot set according to the minimum circumscribed rectangle and the base image spots.
The base map is a measure map of a certain region or a preset area downloaded from a database in the "field preparation" stage of the mobile inspection and acceptance system, that is, a water and soil conservation measure map required to be inspected and accepted. By superposing the minimum circumscribed rectangle and the map patches, a certain number of measure patches, namely the measure patches with the overlapping range with the minimum circumscribed rectangle, can be selected from the map patches.
And when a certain number of measure patches are selected, taking the selected measure patches as a candidate measure patch set.
If no measure map spot is selected by superposing the minimum circumscribed rectangle with the map spot, no processing is performed, specifically, the operation of calculating the geometric surface object according to the current position of the user is returned.
The distance calculation module is used for calculating the position of each measure image spot in the candidate measure image spot set relative to the circle center.
Since the center of the circle is substantially the current position of the user, it is substantial here to calculate the position of each measure patch in the candidate measure patch set relative to the user to obtain a plurality of distance values. These distance values are calculated using, in particular, the open source GDAL/OGR and GEOS libraries.
When calculating the distance value of each measure image spot relative to the center of the circle, the distance value can be a pseudo distance and is not squared, because the calculation result is an intermediate variable and is not an output result.
Specifically, the distance calculation module specifically comprises a topology judgment unit and a direct output unit, when calculating the distance value of each specific measure pattern spot in the candidate measure pattern spot set relative to the circle center, namely the current position of the user, the topology judgment unit is used for judging the topological relation of the current measure pattern spot relative to the circle center, and if the two do not contain the distance value, the distance value of the two is calculated by using a corresponding distance formula; and if the current measure image spot contains the circle center, namely the area where the measure image spot is located covers the circle center, directly taking the current measure image spot as the target measure image spot.
The module also comprises an interruption control unit, and because the target pattern spot is determined at the moment, the interruption control unit is used for stopping the calculation of the distance value of the other measure pattern spots relative to the circle center when the topology judgment unit determines that the current measure pattern spot contains the circle center through the topology relation, so that the corresponding calculation resource can be saved through the measure.
And the result output module is used for finding out the target measure pattern spots according to the obtained plurality of distance values.
The target measure graphic spot is a measure graphic spot closest to the current distance of the user, and is a measure icon which is required to arrive at the user currently and is checked and accepted on site. After obtaining the plurality of distance values, the distance of each measure image spot in the candidate measure image spot set relative to the user can be determined, and the measure image spot which is the shortest distance from the user can be determined by comparing the distance values, wherein the measure image spot is the target measure image spot.
According to the technical scheme, the searching device for the measure pattern spots is applied to the mobile terminal, and specifically, the searching device is used for performing buffer analysis calculation by taking the current position of a user as a circle center and a preset radius to obtain a geometric surface object; converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object; calculating a minimum circumscribed rectangle of the surface object; screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot; calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values; and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot. The method can realize that the field user can quickly search the measure pattern spots by determining the target measure pattern spots, and can reach the nearest measure pattern spots as soon as possible according to the result, thereby improving the efficiency of checking and accepting.
EXAMPLE III
The embodiment provides a mobile terminal, which is provided with a device for searching a measure pattern spot, wherein the device is specifically used for performing buffer analysis calculation by taking the current position of a user as the center of a circle and a preset radius to obtain a geometric surface object; converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object; calculating a minimum circumscribed rectangle of the surface object; screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot; calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values; and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot. The method can realize that the field user can quickly search the measure pattern spots by determining the target measure pattern spots, and can reach the nearest measure pattern spots as soon as possible according to the result, thereby improving the efficiency of checking and accepting.
Example four
The present embodiment provides a mobile terminal comprising at least one processor 101 and a memory 102, and comprising a data bus 103 for connecting the processor, the memory, as shown in fig. 3.
The memory stores a computer program, and the processor is configured to run with the computer program, thereby implementing the following functions:
performing buffer analysis calculation by taking the current position of the user as the center of a circle and a preset radius to obtain a geometric surface object; converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object; calculating a minimum circumscribed rectangle of the surface object; screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot; calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values; and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot.
The method can realize that the field user can quickly search the measure pattern spots by determining the target measure pattern spots, and can reach the nearest measure pattern spots as soon as possible according to the result, thereby improving the efficiency of checking and accepting.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The technical solutions provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in this document by applying specific examples, and the descriptions of the above examples are only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A searching method of measure image spots is applied to a mobile terminal, and is characterized in that the searching method comprises the following steps:
performing buffer analysis calculation by taking the current position of the user as the center of a circle and a preset radius to obtain a geometric surface object;
converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object;
calculating a minimum bounding rectangle of the surface object;
screening out a candidate measure image spot set according to the minimum circumscribed rectangle and a preset base image spot, wherein the candidate measure image spot set comprises the following steps:
superposing the minimum circumscribed rectangle and the base map spots, and selecting a certain number of measure map spots from the base map spots as the candidate measure map spot set;
if the minimum circumscribed rectangle and the base map spots do not select the measure map spots, no processing is performed;
calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values;
and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot.
2. The search method of claim 1, wherein said distance is a pseudo distance.
3. The search method of claim 1, wherein said calculating the distance of each measure spot in said set of candidate measure spots relative to said center of a circle comprises the steps of:
judging the topological relation between each measure pattern spot and the circle center in the process of calculating the distance;
and if the measure pattern spot contains the circle center, taking the measure pattern spot containing the circle center as the target measure pattern spot.
4. The search method of claim 3 wherein said calculating a distance of each measure spot in said set of candidate measure spots relative to said center of said circle further comprises the steps of:
and when the measure pattern spots contain the circle center, stopping calculating the distance between other measure pattern spots in the candidate measure pattern spot set and the circle center.
5. A searching device for measuring a pattern spot is applied to a mobile terminal, and is characterized by comprising:
the buffer analysis module is used for carrying out buffer analysis calculation by taking the current position of the user as a circle center and a preset radius to obtain a geometric surface object;
the coordinate conversion module is used for converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object;
mbr a calculation module for calculating a minimum bounding rectangle of the face object;
the superposition analysis module is used for screening out a candidate measure pattern spot set according to the minimum circumscribed rectangle and a preset base pattern spot, and comprises:
superposing the minimum circumscribed rectangle and the base map spots, and selecting a certain number of measure map spots from the base map spots as the candidate measure map spot set;
if the minimum circumscribed rectangle and the base map spots do not select the measure map spots, no processing is performed;
the distance calculation module is used for calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values;
and the result output module is used for taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as the target measure pattern spot.
6. The search apparatus of claim 5, wherein said distance is a pseudo distance.
7. The search apparatus of claim 5, wherein the distance calculation module comprises:
the topology judgment unit is used for judging the topological relation between each measure pattern spot and the circle center in the process of calculating the distance;
and the direct output unit is used for taking the measure image spot containing the circle center as the target measure image spot if the measure image spot contains the circle center.
8. The search apparatus of claim 7, wherein the distance calculation module further comprises:
and the interruption control unit is used for stopping calculating the distance between the other measure pattern spots in the candidate measure pattern spot set and the circle center when the measure pattern spots contain the circle center.
9. A mobile terminal, characterized in that, a search device according to any one of claims 5 to 8 is provided.
10. A mobile terminal comprising at least one processor and a memory, wherein the memory stores a computer program executable by the processor to cause the mobile terminal to perform the steps of:
performing buffer analysis calculation by taking the current position of the user as the center of a circle and a preset radius to obtain a geometric surface object; converting the geographic coordinates of the geometric surface object into plane coordinates to obtain a surface object; calculating a minimum bounding rectangle of the surface object; screening out a candidate measure image spot set according to the minimum circumscribed rectangle and a preset base image spot, wherein the candidate measure image spot set comprises the following steps: superposing the minimum circumscribed rectangle and the base map spots, and selecting a certain number of measure map spots from the base map spots as the candidate measure map spot set; if the minimum circumscribed rectangle and the base map spots do not select the measure map spots, no processing is performed; calculating the distance of each measure image spot in the candidate measure image spot set relative to the circle center to obtain a plurality of distance values; and taking the measure pattern spot corresponding to the minimum distance value in the plurality of distance values as a target measure pattern spot.
CN201810615078.2A 2018-06-14 2018-06-14 Method and device for searching measure pattern spots and mobile terminal Active CN109062934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810615078.2A CN109062934B (en) 2018-06-14 2018-06-14 Method and device for searching measure pattern spots and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810615078.2A CN109062934B (en) 2018-06-14 2018-06-14 Method and device for searching measure pattern spots and mobile terminal

Publications (2)

Publication Number Publication Date
CN109062934A CN109062934A (en) 2018-12-21
CN109062934B true CN109062934B (en) 2021-01-12

Family

ID=64820932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810615078.2A Active CN109062934B (en) 2018-06-14 2018-06-14 Method and device for searching measure pattern spots and mobile terminal

Country Status (1)

Country Link
CN (1) CN109062934B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110728440B (en) * 2019-09-27 2023-07-04 北京地拓科技发展有限公司 Method and device for sampling and processing measure image spots based on spatial correlation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007271357A (en) * 2006-03-30 2007-10-18 Mitsubishi Space Software Kk Positional information terminal, positional information server, positional information system, and positional information program
CN101446981A (en) * 2008-12-26 2009-06-03 北京农业信息技术研究中心 Land-utilization modification investigation method and system based on the combination of PDA and 3S
CN103049517A (en) * 2012-12-17 2013-04-17 上海市房屋土地资源信息中心 Method and system for discriminating changeable graphic spot in dynamic monitoring of present situation of land use
CN104298734A (en) * 2014-09-30 2015-01-21 东南大学 Mobile updating method for change pattern spots in land use status change survey
CN107516282A (en) * 2017-08-01 2017-12-26 青岛市房地产信息与交易资金监管中心 Three look into the Land Change Survey information management system of unification

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007271357A (en) * 2006-03-30 2007-10-18 Mitsubishi Space Software Kk Positional information terminal, positional information server, positional information system, and positional information program
CN101446981A (en) * 2008-12-26 2009-06-03 北京农业信息技术研究中心 Land-utilization modification investigation method and system based on the combination of PDA and 3S
CN103049517A (en) * 2012-12-17 2013-04-17 上海市房屋土地资源信息中心 Method and system for discriminating changeable graphic spot in dynamic monitoring of present situation of land use
CN104298734A (en) * 2014-09-30 2015-01-21 东南大学 Mobile updating method for change pattern spots in land use status change survey
CN107516282A (en) * 2017-08-01 2017-12-26 青岛市房地产信息与交易资金监管中心 Three look into the Land Change Survey information management system of unification

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
国家水土保护重点工程"图斑精细化"管理产品介绍;第拓科技;《http://tuban.mysxl.cn/blog/c2695b55d7f》;20180404;1-5 *
国家水土保持重点工程"图斑精细化"管理移动终端测试报告;水土保持之点滴;《https://www.sohu.com/a/156670609_781497》;20170713;1-15 *

Also Published As

Publication number Publication date
CN109062934A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
Irizarry et al. Optimizing location of tower cranes on construction sites through GIS and BIM integration
Zhao et al. Developing a conceptual framework for the application of digital twin technologies to revamp building operation and maintenance processes
CN109146932B (en) Method, device and system for determining world coordinates of target point in image
CN103927310B (en) Generation method and device are suggested in a kind of search of map datum
Bansal Integrated framework of BIM and GIS applications to support building lifecycle: A move toward nD modeling
US9560530B2 (en) Placement of a wireless network access point using a Voronoi partition
CN110597940A (en) WeChat-based natural resource field check method and system, server and medium
CN107423998B (en) Visual sales data management method and system based on SaaS platform
CN109165553B (en) Petroleum facility remote sensing automatic identification method and device based on deep learning
US20160275216A1 (en) Providing building information modeling data
US20140021942A1 (en) Method and apparatus for creating magnetic field map based on floor plan information of building
US20180349862A1 (en) Automated Estimate Systems and Methods
CN108731649B (en) 2000 mapping reference frame unifying method, device and computer readable storage medium
Omrany et al. The uptake of City Information Modelling (CIM): A comprehensive review of current implementations, challenges and future outlook
CN111046475B (en) Method and device for calculating building area and storage medium
CN109062934B (en) Method and device for searching measure pattern spots and mobile terminal
CN116257559A (en) Method and device for associating person with address based on space grid and electronic equipment
KR102184048B1 (en) System and method for checking of information about estate development plan based on geographic information system
CN110910446A (en) Method and device for determining building removal area and method and device for determining indoor area of building
Gura et al. Classification and automatisation of laser reflection points processing in the detection of vegetation
EP3291102B1 (en) Bulk validation of spatial topology
US10318558B2 (en) Automating weather model configurations
KR20210009925A (en) Method of evaluate a economic feasibility of solar power generation
CN114219917A (en) Vulnerability repairing method for laser radar point cloud data
CN110427506A (en) Spatial data boundary processing method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant