CN113358124A - Method for positioning geographic information point location, intelligent terminal and storage medium - Google Patents

Method for positioning geographic information point location, intelligent terminal and storage medium Download PDF

Info

Publication number
CN113358124A
CN113358124A CN202110461213.4A CN202110461213A CN113358124A CN 113358124 A CN113358124 A CN 113358124A CN 202110461213 A CN202110461213 A CN 202110461213A CN 113358124 A CN113358124 A CN 113358124A
Authority
CN
China
Prior art keywords
geographic information
point location
map
information point
coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110461213.4A
Other languages
Chinese (zh)
Inventor
杨俊杰
吴闽华
姜坤
卫宣安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Genew Technologies Co Ltd
Original Assignee
Shenzhen Genew Technologies 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 Shenzhen Genew Technologies Co Ltd filed Critical Shenzhen Genew Technologies Co Ltd
Priority to CN202110461213.4A priority Critical patent/CN113358124A/en
Publication of CN113358124A publication Critical patent/CN113358124A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/28Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
    • G01C21/30Map- or contour-matching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Remote Sensing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Navigation (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a method for positioning geographic information point locations, an intelligent terminal and a storage medium, wherein the method comprises the following steps: selecting a target geographic information point from a map; obtaining map coordinates of the target geographic information point, and determining corresponding map area coordinates according to the map coordinates; and matching the map area coordinates with all the geographic information point locations on the map, determining and displaying point location information corresponding to the target geographic information point location. The invention can accurately position the position of the target geographic information point location, display the corresponding point location information, realize the quick selection of the target geographic information point location and position the moving track thereof.

Description

Method for positioning geographic information point location, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a method for positioning geographic information point positions, an intelligent terminal and a storage medium.
Background
For the acquisition of the geographic information point location on the map, the geographic position of the information point can be generally acquired by directly clicking the geographic information point location on the map, but the geographic information point location in a small range is too dense.
Based on the above problem, a common solution is to aggregate geographical information point locations in a small range into one aggregate information point location, and a plurality of geographical information point locations in the aggregate information point location are displayed in a list form.
However, this treatment scheme has drawbacks: when the plurality of geographical position points are close to each other, the user cannot see the correct movement tracks of the geographical position points in the movement process of the geographical position points, which is not favorable for the user to intuitively obtain the required movement tracks of the geographical position points; moreover, since a plurality of moving geographical location points are aggregated into one aggregation location point, frequent dynamic operations are required to obtain the location of each geographical location point, which causes low program running efficiency and easy jamming.
Therefore, the prior art has defects and needs to be improved and developed.
Disclosure of Invention
The present invention is to provide a method, an intelligent terminal, and a storage medium for locating a geographic information point location, aiming at solving the problems that the geographic information point location in a small range is difficult to obtain, and if point location aggregation is performed, the movement trajectory of the geographic information point location is difficult to show, and the program running efficiency is low.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a method for locating geographic information point location, comprising:
selecting a target geographic information point from a map;
obtaining map coordinates of the target geographic information point, and determining corresponding map area coordinates according to the map coordinates;
and matching the map area coordinates with all the geographic information point locations on the map, determining and displaying point location information corresponding to the target geographic information point location.
Further, the target geographic information point location is a geographic information point location moving on the map.
Further, the obtaining of the map coordinate of the target geographic information point location and determining a corresponding map area coordinate according to the map coordinate includes:
converting the map coordinate corresponding to the target geographic information point location into a screen coordinate;
setting the moving step length of the target geographic information point location by taking the screen coordinate as a center, and determining the area range coordinate of the target geographic information point location according to the moving step length and the screen coordinate;
and converting the area range coordinates into corresponding map area coordinates.
Further, the matching the geographic information point location on the map with the map area coordinate to determine and display the point location information corresponding to the target geographic information point location includes:
matching all point locations in the map area coordinates with map coordinates corresponding to all geographic information point locations on the map;
and when the matched geographic information point location exists, displaying and aggregating the target geographic information point location information list.
Further, after displaying and aggregating the target geographical information point location information list when there is a matching geographical information point location, the method further includes:
and positioning the moving track of the target geographic information point location, and displaying the moving track in the list.
Further, after the map coordinates corresponding to all the geographic information point locations on the map are matched with all the point locations in the map area coordinates, the method further includes:
and when no matched geographic information point location exists, point location information corresponding to the target geographic information point location is displayed, wherein the point location information comprises the current map coordinate of the target geographic information point location.
Further, the area range corresponding to the area range coordinate is a circular area or a rectangular area.
Further, the setting mode of the moving step length is as follows:
and obtaining the moving speed of the target geographic information point location, and determining the moving step length corresponding to the target geographic information point location based on the moving speed and the moving time.
The invention also discloses an intelligent terminal, wherein the intelligent terminal comprises: the system comprises a memory, a processor and a program for positioning the geographical information point location, wherein the program for positioning the geographical information point location is stored on the memory and can run on the processor, and when the program for positioning the geographical information point location is executed by the processor, the steps of the method for positioning the geographical information point location are realized.
The invention also discloses a computer readable storage medium, wherein the computer readable storage medium stores a program for locating the geographical information point location, and the program for locating the geographical information point location realizes the steps of the method for locating the geographical information point location when being executed by the processor.
The invention provides a method for positioning geographic information point locations, an intelligent terminal and a storage medium, wherein the method comprises the following steps: selecting a target geographic information point from a map; obtaining map coordinates of the target geographic information point, and determining corresponding map area coordinates according to the map coordinates; and matching the map area coordinates with all the geographic information point locations on the map, determining and displaying point location information corresponding to the target geographic information point location. The invention can accurately position the position of the target geographic information point location, display the corresponding point location information, realize the quick selection of the target geographic information point location and position the moving track thereof.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a method for locating geographical information points in accordance with the present invention;
FIG. 2 is a flowchart of step S200 of the method for locating geographical information points according to the present invention;
fig. 3 is a functional block diagram of a preferred embodiment of the intelligent terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for locating geographic information points according to the present invention. As shown in fig. 1, a method for locating a geographic information point location according to an embodiment of the present invention includes the following steps:
and S100, selecting target geographic information points from the map.
Specifically, by clicking one geographic information point location on the map, the geographic information point location is positioned as a target geographic information point location.
S200, obtaining the map coordinates of the target geographic information point, and determining the corresponding map area coordinates according to the map coordinates.
Specifically, the operation of clicking one target geographic information point location is expanded from point to surface, and after one target geographic information point location is selected, all geographic information point locations within a specified range with the target geographic information point location as a center can be obtained.
S300, matching all the geographic information point locations on the map with the map area coordinates, and determining and displaying point location information corresponding to the target geographic information point location.
Specifically, point location information corresponding to the geographical information point location meeting the requirements is all displayed, and then the accurate position and the moving track of the target geographical information point location are obtained.
Preferably, the target geographic information point location is a geographic information point location moving on the map. Namely, the target geographic information point location is a movable geographic information point location on the map, and when the movable geographic information point location exists on the map, one of the target geographic information point locations can be selected as the target geographic information point location.
In one embodiment, as shown in fig. 2, step S200 includes:
and S210, converting the map coordinate corresponding to the target geographic information point location into a screen coordinate.
Specifically, the map coordinates corresponding to the target geographic information point location are converted into screen coordinates through the map coordinates provided by the GMap, and the screen coordinates are expressed as (screen x, screen y).
S220, setting the moving step length of the target geographic information point location by taking the screen coordinate as a center, and determining the area range coordinate of the target geographic information point location according to the moving step length and the screen coordinate.
Preferably, the area range corresponding to the area range coordinate is a circular area or a rectangular area.
Specifically, the rectangular area is taken as an example here, and the screen coordinates at the upper left corner of the rectangular area are set to be (screen x-L, screen y + L), and the screen coordinates at the lower right corner are set to be (screen x + L, screen y-L), where L represents the moving step. By setting the moving step length, the longitude and latitude of the rectangle with the side length of L pixels on the map with the target geographic information point location (lng, lat) as the center can be calculated.
And S230, converting the area range coordinate into a corresponding map area coordinate.
Specifically, screen coordinates corresponding to the area range coordinates are converted into map area coordinates by map coordinates provided by the GMap itself, and the map area coordinates are expressed as: the top left corner (leftTopX, leftTopY), and the bottom right corner (rightBottomX, rightBottomY).
The setting mode of the moving step length is as follows:
and obtaining the moving speed of the target geographic information point location, and determining the moving step length corresponding to the target geographic information point location based on the moving speed and the moving time.
Specifically, the setting of the moving step length may be calculated according to a preset formula, or may be set by a user in a self-defined manner, which is not limited herein. When the calculation is carried out through the preset formula, the product calculation is carried out through the moving speed and the moving time of the intelligent terminal, wherein the moving speed of the intelligent terminal can be obtained according to a positioning system of the intelligent terminal.
In one embodiment, step S300 includes:
and S310, matching all point locations in the map area coordinate with the map coordinate corresponding to all the geographic information point locations on the map.
Specifically, the geographic information point location on the map is traversed, and the geographic information point location in the map area coordinate is obtained. The algorithm for calculating whether the geographic information point (point) on the map is in the rectangular map area coordinate is as follows:
Figure BDA0003042352880000061
and S320, when the matched geographic information point location exists, displaying and aggregating the target geographic information point location information list.
Specifically, point location information corresponding to the geographic information point location existing in the map area coordinates is displayed.
Whether the geographic information point location exists in the map area coordinate or not is judged, the number of the geographic information point locations existing in the map area coordinate can also be judged, when the number is smaller than 1, the geographic information point location does not exist, and when the number is larger than 1, the geographic information point location exists.
In a further embodiment, step S320 is followed by:
s321, positioning the moving track of the target geographic information point location, and displaying the moving track in the list.
Specifically, after the target geographic information point location is located, the movement track of the target geographic information point location is tracked and displayed in the list, so that the correct movement track of the target geographic information point location can be conveniently and visually known.
In an embodiment, after step S310, the method further includes:
s330, when no matched geographic information point location exists, point location information corresponding to the target geographic information point location is displayed, wherein the point location information comprises the current map coordinate of the target geographic information point location.
When the geographic information point location does not exist, it is indicated that the target geographic information point location has a problem, and information details of the target geographic information point location need to be called to troubleshoot the problem.
Further, as shown in fig. 3, based on the above method for locating a geographical information point location, the present invention also provides an intelligent terminal, which includes a processor 10, a memory 20, and a display 30. Fig. 3 shows only some of the components of the smart terminal, but it should be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may be an internal storage unit of the intelligent terminal in some embodiments, such as a hard disk or a memory of the intelligent terminal. The memory 20 may also be an external storage device of the Smart terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the Smart terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the smart terminal. The memory 20 is used for storing application software installed in the intelligent terminal and various data, such as program codes of the installed intelligent terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a program 40 for locating geographic information points, and the program 40 for locating geographic information points can be executed by the processor 10, so as to implement the method for locating geographic information points in the present application.
The processor 10 may be a Central Processing Unit (CPU), a microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the memory 20 or Processing data, such as executing the method for locating geographic information points.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information at the intelligent terminal and for displaying a visual user interface. The components 10-30 of the intelligent terminal communicate with each other via a system bus.
In one embodiment, the following steps are implemented when the processor 10 executes the program 40 for locating a point of geographic information in the memory 20:
selecting a target geographic information point from a map;
obtaining map coordinates of the target geographic information point, and determining corresponding map area coordinates according to the map coordinates;
and matching the map area coordinates with all the geographic information point locations on the map, determining and displaying point location information corresponding to the target geographic information point location.
Further, the target geographic information point location is a geographic information point location moving on the map.
Further, the obtaining of the map coordinate of the target geographic information point location and determining a corresponding map area coordinate according to the map coordinate includes:
converting the map coordinate corresponding to the target geographic information point location into a screen coordinate;
setting the moving step length of the target geographic information point location by taking the screen coordinate as a center, and determining the area range coordinate of the target geographic information point location according to the moving step length and the screen coordinate;
and converting the area range coordinates into corresponding map area coordinates.
Further, the matching the geographic information point location on the map with the map area coordinate to determine and display the point location information corresponding to the target geographic information point location includes:
matching all point locations in the map area coordinates with map coordinates corresponding to all geographic information point locations on the map;
and when the matched geographic information point location exists, displaying and aggregating the target geographic information point location information list.
Further, after displaying and aggregating the target geographical information point location information list when there is a matching geographical information point location, the method further includes:
and positioning the moving track of the target geographic information point location, and displaying the moving track in the list.
Further, after the map coordinates corresponding to all the geographic information point locations on the map are matched with all the point locations in the map area coordinates, the method further includes:
and when no matched geographic information point location exists, point location information corresponding to the target geographic information point location is displayed, wherein the point location information comprises the current map coordinate of the target geographic information point location.
Further, the area range corresponding to the area range coordinate is a circular area or a rectangular area.
Further, the setting mode of the moving step length is as follows:
and obtaining the moving speed of the target geographic information point location, and determining the moving step length corresponding to the target geographic information point location based on the moving speed and the moving time.
The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program for locating a point of geographical information, and when the program for locating a point of geographical information is executed by a processor, the steps of the method for locating a point of geographical information as described above are implemented.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The computer readable storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for locating a point of geographic information, comprising:
selecting a target geographic information point from a map;
obtaining map coordinates of the target geographic information point, and determining corresponding map area coordinates according to the map coordinates;
and matching the map area coordinates with all the geographic information point locations on the map, determining and displaying point location information corresponding to the target geographic information point location.
2. The method of claim 1, wherein the target point location is a moving point location on the map.
3. The method according to claim 2, wherein the obtaining of the map coordinates of the target geographic information point location and the determining of the corresponding map area coordinates according to the map coordinates comprises:
converting the map coordinate corresponding to the target geographic information point location into a screen coordinate;
setting the moving step length of the target geographic information point location by taking the screen coordinate as a center, and determining the area range coordinate of the target geographic information point location according to the moving step length and the screen coordinate;
and converting the area range coordinates into corresponding map area coordinates.
4. The method according to claim 3, wherein the determining and displaying the point location information corresponding to the target geographic information point location by matching the geographic information point location on the map with the map area coordinates comprises:
matching all point locations in the map area coordinates with map coordinates corresponding to all geographic information point locations on the map;
and when the matched geographic information point location exists, displaying and aggregating the target geographic information point location information list.
5. The method according to claim 4, wherein when there is a matching geographic information point location, after displaying the aggregated target geographic information point location information list, further comprising:
and positioning the moving track of the target geographic information point location, and displaying the moving track in the list.
6. The method according to claim 4, wherein after matching all the points in the map area coordinates with the map coordinates corresponding to all the geographic information points on the map, the method further comprises:
and when no matched geographic information point location exists, point location information corresponding to the target geographic information point location is displayed, wherein the point location information comprises the current map coordinate of the target geographic information point location.
7. The method for locating the point of geographic information according to claim 3, wherein the area range corresponding to the area range coordinates is a circular area or a rectangular area.
8. The method according to claim 3, wherein the moving step is set in a manner that:
and obtaining the moving speed of the target geographic information point location, and determining the moving step length corresponding to the target geographic information point location based on the moving speed and the moving time.
9. An intelligent terminal, characterized in that, intelligent terminal includes: a memory, a processor and a program for locating geographical information points stored on the memory and executable on the processor, wherein the program for locating geographical information points implements the steps of the method for locating geographical information points according to any one of claims 1 to 8 when executed by the processor.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a program for locating a point of geographical information, and the program for locating a point of geographical information implements the steps of the method for locating a point of geographical information according to any one of claims 1 to 8 when executed by a processor.
CN202110461213.4A 2021-04-27 2021-04-27 Method for positioning geographic information point location, intelligent terminal and storage medium Pending CN113358124A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110461213.4A CN113358124A (en) 2021-04-27 2021-04-27 Method for positioning geographic information point location, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110461213.4A CN113358124A (en) 2021-04-27 2021-04-27 Method for positioning geographic information point location, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN113358124A true CN113358124A (en) 2021-09-07

Family

ID=77525656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110461213.4A Pending CN113358124A (en) 2021-04-27 2021-04-27 Method for positioning geographic information point location, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113358124A (en)

Similar Documents

Publication Publication Date Title
US20200388080A1 (en) Displaying content in an augmented reality system
EP2565583B1 (en) Navigation device, method of outputting a map, and method of generating a database
WO2021104415A1 (en) Robot autonomous exploration mapping method, device and storage medium
CN112123343B (en) Point cloud matching method, point cloud matching equipment and storage medium
CN109806585B (en) Game display control method, device, equipment and storage medium
CN110660219A (en) Parking lot parking prediction method and device
CN110555088A (en) Electronic map label aggregation method
TW201341758A (en) Positioning method and system for real navigation and computer readable storage medium
CN113112542A (en) Visual positioning method and device, electronic equipment and storage medium
CN113920117A (en) Panel defect area detection method and device, electronic equipment and storage medium
CN103984470A (en) Icon display method and device
CN111382223B (en) Electronic map display method, terminal and electronic equipment
CN113358124A (en) Method for positioning geographic information point location, intelligent terminal and storage medium
US10062193B2 (en) Attribute based map marker clustering
CN110942056A (en) Clothing key point positioning method and device, electronic equipment and medium
CN115824216A (en) Pig farm feeding vehicle self-adaptive control method and system
CN111488103B (en) Method and device for adsorbing graphic elements of Web page, storage medium and equipment
JP2019101622A (en) Information processing device, control method, and program
US10965930B2 (en) Graphical user interface for indicating off-screen points of interest
CN115035129A (en) Goods identification method and device, electronic equipment and storage medium
CN112579924B (en) Road generation method, electronic device, and storage medium
CN110333813A (en) Method, electronic device and the computer readable storage medium of invoice picture presentation
CN116703926B (en) Defect detection method, defect detection device, computer equipment and computer readable storage medium
CN111061823B (en) Custom vector symbol generation method, intelligent terminal and storage medium
CN113743169B (en) Palm plane detection method and device, electronic equipment and storage medium

Legal Events

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