Method and system for automatically generating hole location map for golf course
11462130 · 2022-10-04
Assignee
Inventors
Cpc classification
G09B29/004
PHYSICS
A63B71/06
HUMAN NECESSITIES
G01C21/005
PHYSICS
International classification
G01C21/00
PHYSICS
Abstract
The present invention discloses a method and a system for automatically generating a hole location map for golf course, relating to the field of the automatic measurement technology. The method includes the following steps: acquiring longitude and latitude data of all fairway center points or green center points, longitude and latitude data of all green front edge points, and longitude and latitude data of all current-date hole position points; calculating hole position data of respective current-date hole position points according to the longitude and latitude data of the current-date hole position point, the longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point; and automatically generating a current-date hole location map for golf course according to the hole position data of the respective current-date hole position points.
Claims
1. A method for automatically generating a hole location map for golf course, comprising the steps of: locating all fairway center points or green center points respectively, recording longitude and latitude data of the respective fairway centers or green center points, and uploading the longitude and latitude data of the respective fairway centers or green center points to a database for storage; locating all green front edge points respectively, recording longitude and latitude data of the respective green front edge points, and uploading the longitude and latitude data of the respective front edge points to the database for storage; locating all current-date hole position points respectively, recording longitude and latitude data of the respective current-date hole position points, and uploading the longitude and latitude data of the respective current-date hole position points to the database for storage; loading the longitude and latitude data of all the fairway center points or green center points, the longitude and latitude data of all the green front edge points, and the longitude and latitude data of all the current-date hole position points in the database; calculating hole position data of the current-date hole position point according to the calculated longitude and latitude data of the current-date hole position point and according to the longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point; recording the hole position data of the current-date hole position point into a current-date golf course hole position chart; determining whether the calculation of all current-date hole position points is completed or not, if yes, proceeding to the next step, otherwise returning to the step of calculating hole position data of the current-date hole position point; generating a current-date hole location map for golf course according to the current-date golf course hole position chart; and saving and displaying the current-date hole location map for golf course.
2. The method for automatically generating a hole location map for golf course according to claim 1, wherein the method further comprises, between the step of loading the longitude and latitude data of all the fairway center points or green center points, the longitude and latitude data of all the green front edge points, and the longitude and latitude data of all the current-date hole position points in the database and the step of calculating hole position data of the current-date hole position point: assigning a current-date hole closest to the calculated current green front edge point to a current-date green hole according to the longitude and latitude data of the green front edge point and the longitude and latitude data of the current-date hole position point, such that respective current-date hole position points correspond to respective green front edge points and respective fairway center points or green center points.
3. The method for automatically generating a hole location map for golf course according to claim 1, wherein the step of calculating hole position data of the current-date hole position point comprises: constructing a Cartesian coordinate system by using the calculated longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point; calculating an included angle in which a positive direction of an X axis of a terrestrial longitude and latitude coordinate system is rotated to a positive direction of an X axis of the Cartesian coordinate system constructed in the step of constructing the Cartesian coordinate system in a counterclockwise direction; calculating a coordinate of a deviation position of the current-date hole position point according to the included angle; and calculating a deviation value of the current-date hole position point according to the coordinate of the deviation position, wherein the deviation value is a hole position data.
4. The method for automatically generating a hole location map for golf course according to claim 1, wherein the step of recording the hole position data of the current-date hole position point into the current-date golf course hole position chart further comprises: saving the current-date golf course hole position chart.
5. The method for automatically generating a hole location map for golf course according to claim 1, wherein the method further comprises, after the step of saving and displaying the current-date hole location map for golf course: querying the current-date or former-date golf course hole position chart; displaying the current-date or former-date golf course hole position chart; and printing the current-date or former-date golf course hole position chart.
6. A system for automatically generating a hole location map for golf course, comprising: a fairway center point acquisition module, which is configured to locate all fairway center points or green center points respectively, record longitude and latitude data of the respective fairway centers or green center points, and upload the longitude and latitude data of the respective fairway centers or green center points to a database for storage; a green front edge point acquisition module, which is configured to locate all green front edge points respectively, record longitude and latitude data of the respective green front edge points, and upload the longitude and latitude data of the respective front edge points to the database for storage; a hole position point acquisition module, which is configured to locate all current-date hole position points respectively, record longitude and latitude data of the respective current-date hole position points, and upload the longitude and latitude data of the respective current-date hole position points to the database for storage; a data loading module, which is configured to load the longitude and latitude data of all the fairway center points or green center points, the longitude and latitude data of all the green front edge points, and the longitude and latitude data of all the current-date hole position points in the database; a calculation module, which is configured to calculate hole position data of the current-date hole position point according to the calculated longitude and latitude data of the current-date hole position point and according to the longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point; a hole position data recording module, which is configured to record the hole position data of the current-date hole position point into a current-date golf course hole position chart; a determination module, which is configured to determine whether the calculation of all current-date hole position points is completed or not, if yes, execute a hole position map generation module, otherwise return to execute the calculation module; a hole position map generation module, which is configured to generate a current-date hole location map for golf course according to the current-date golf course hole position chart; and a saving and displaying module, which is configured to save and display the current-date hole location map for golf course.
7. The system for automatically generating a hole location map for golf course according to claim 6, wherein between the data loading module and the calculation module, the system further comprises: an assignment module, which is configured to assign a current-date hole closest to the calculated current green front edge point to a current-date green hole according to the longitude and latitude data of the green front edge point and the longitude and latitude data of the current-date hole position point, such that respective current-date hole position points correspond to respective green front edge points and respective fairway center points or green center points.
8. The system for automatically generating a hole location map for golf course according to claim 6, wherein the calculation module comprises: a coordinate system construction unit, which is configured to construct a Cartesian coordinate system by using the calculated longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point; an included angle calculation unit, which is configured to calculate an included angle in which a positive direction of an X axis of a terrestrial longitude and latitude coordinate system is rotated to a positive direction of an X axis of the Cartesian coordinate system constructed by the coordinate system construction unit in a counterclockwise direction; a deviation position coordinate calculation unit, which is configured to calculate a coordinate of a deviation position of the current-date hole position point according to the included angle; and a deviation value calculation unit, which is configured to calculate a deviation value of the current-date hole position point according to the coordinate of the deviation position, wherein the deviation value is a hole position data.
9. The system for automatically generating a hole location map for golf course according to claim 6, wherein the hole position data recording module comprises: a chart saving unit, which is configured to save the current-date golf course hole position chart.
10. The system for automatically generating a hole location map for golf course according to claim 6, wherein after the saving and displaying module, the system comprises: a querying module, which is configured to query the current-date or former-date golf course hole position chart; a displaying module, which is configured to display the current-date or former-date golf course hole position chart; and a printing module, which is configured to print the current-date or former-date golf course hole position chart.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DESCRIPTION OF THE EMBODIMENTS
(6) The present invention will be further described below with reference to accompanying drawings and embodiments.
(7) As shown in
(8) S1, all fairway center points or green center points are located respectively, longitude and latitude data of the respective fairway centers or green center points are recorded, and the longitude and latitude data of the respective fairway centers or green center points are uploaded to a database for storage;
(9) In this step, all the fairway center points or green center points are respectively located by a measuring and locating device. The measuring and locating device includes, but is not limited to, a GPS high-precision locating device, a satellite real-world locating map, a rangefinder and the like. Preferably, in this embodiment, all the fairway center points or green center points are respectively located by employing the GPS high-precision locating device. This step may be completed once provided that the terrain of the golf course has not changed significantly. This step may be performed once every several months. Because all the fairway center points or green center points are respectively located by employing the GPS high-precision locating device, the accuracy of locating the fairway center points or green center points is very high. This step provides a reference for the calculation of the hole location map for golf course.
(10) If the calculation is based on fairway center points, the fairway center points should be firstly determined before this step. After a worker has determined the designated fairway center point, the GPS high-precision locating device may position the fairway center point provided that a locating button of the accompanied GPS high-precision locating device is pressed at the determined fairway center point. The longitude and latitude data of the fairway center point are acquired as below:
(11) a current-date golf course is set as a t.sup.th golf course;
(12) If the current-date golf course is a 3-hole course, a center of a blue tee of the t.sup.th golf course is designated as a fairway center point A.sub.t(3). A latitude and a longitude of the A.sub.t(3) are recorded as P.sub.t(x.sub.A3,y.sub.A3), wherein x represents a longitude of a current point and y represents a latitude of the current point.
(13) If the current-date golf course is a 4-hole course, a point is found within a range in which a shot is played towards the green on the t.sup.th golf course as the fairway center point A.sub.t(4). Preferably, a middle position point on a fairway is designated as a fairway center point A.sub.t(4). A latitude and a longitude of the A.sub.t(4) are recorded as P.sub.t(x.sub.A4,y.sub.A4), wherein x represents a longitude of a current point and y represents a latitude of the current point.
(14) If the current-date golf course is a 5-hole course, a point is found within the range in which a shot is played towards the green on the t.sup.th golf course as the fairway center point A.sub.t(5). Preferably, a middle position point on a fairway is designated as a fairway center point A.sub.t(5). A latitude and a longitude of the A.sub.t(5) are recorded as P.sub.t(x.sub.A5,y.sub.A5), wherein x represents a longitude of a current point and y represents a latitude of the current point.
(15) S2, all green front edge points are located respectively, longitude and latitude data of the respective green front edge points are recorded, and the longitude and latitude data of the respective front edge points are uploaded to the database for storage.
(16) In this step, all the green front edge points are respectively located by a measuring and locating device. The measuring and locating device includes, but is not limited to, a GPS high-precision locating device, a satellite real-world locating map, a rangefinder and the like. Preferably, in this embodiment, all the green front edge points are respectively located by employing the GPS high-precision locating device. This step may be completed once provided that the terrain of the golf course has not changed significantly. This step may be performed once every several months. Because all the green front edge points are respectively located by employing the GPS high-precision locating device, the accuracy of locating the green front edge points is very high. This step provides a reference for the calculation of the hole location map for golf course.
(17) The GPS high-precision locating device may position the green front edge point provided that a worker only needs to press a locating button of the accompanied GPS high-precision locating device at the green front edge point, so that the longitude and latitude data of the green front edge point is acquired. A current-date hole is set as a t.sup.th hole, a green front edge point of the t.sup.th hole is set as an E.sub.t point, and a latitude and a longitude of the E.sub.t point are recorded as P.sub.t(x.sub.E,y.sub.E), x represents a longitude of a current point and y represents a latitude of the current point.
(18) S3, all current-date hole position points are located respectively, longitude and latitude data of the respective current-date hole position points are recorded, and the longitude and latitude data of the respective current-date hole position points are uploaded to the database for storage.
(19) In this step, all the current-date hole position points are respectively located by a measuring and locating device. The measuring and locating device includes, but is not limited to, a GPS high-precision locating device, a satellite real-world locating map, a rangefinder and the like. Preferably, in this embodiment, all the current-date hole position points are respectively located by employing the GPS high-precision locating device. Because all the current-date hole position points are respectively located by employing the GPS high-precision locating device, the accuracy of locating the current-date hole position points is very high.
(20) The GPS high-precision locating device may position the current-date hole position point provided that a worker only needs to press a locating button of the accompanied GPS high-precision locating device at the current-date hole position point, so that the longitude and latitude data of the current-date hole position point is acquired. A current-date hole is set as a first hole, a current-date hole position point of the first hole is set as a C.sub.1 point, and a latitude and a longitude of the C.sub.1 point are recorded as P.sub.t(x.sub.C,y.sub.C), x represents a longitude of a current point and y represents a latitude of the current point.
(21) S4, the longitude and latitude data of all the fairway center points or green center points, the longitude and latitude data of all the green front edge points, and the longitude and latitude data of all the current-date hole position points in the database are loaded.
(22) Further, between the step S4 and the step S5, the method further includes: a current-date hole closest to the calculated current green front edge point is assigned to a current-date green hole according to the longitude and latitude data of the green front edge point and the longitude and latitude data of the current-date hole position point, such that respective current-date hole position points correspond to respective green front edge points and respective fairway center points or green center points.
(23) T is set as the total number of all holes in the golf course. After the longitude and latitude data {P.sub.t(x.sub.E,y.sub.E)|t=1, . . . T} of all the green front edge points and the longitude and latitude data {P.sub.1(x.sub.C,y.sub.C)|1=1, . . . T} of the current-date hole position points of all holes are loaded, a relationship between the green front edge point and the current-date hole position is determined according to the distance between the P.sub.t(x.sub.E,y.sub.E) and the P.sub.1(x.sub.C,y.sub.C), that is, the P.sub.1 (x.sub.C,y.sub.C) closest to the P.sub.t(x.sub.E,y.sub.E) point should be regarded as the current-date hole assigned to the t.sup.th green. A mathematical expression is described as below:
P.sub.t(x.sub.C,y.sub.C)=P.sub.t(x.sub.CC,y.sub.CC)
√{square root over ((x.sub.CC−x.sub.E,t).sup.2+(y.sub.CC−y.sub.E,t).sup.2)}=min(√{square root over ((x.sub.C,l−x.sub.E,t).sup.2+(y.sub.C,l−y.sub.E,t).sup.2))} l∈{1,2, . . . T}
wherein min represents a function of taking the smallest value. By means of the above method, the current-date hole P.sub.1(x.sub.C,y.sub.C) is assigned to the corresponding green, with a position of P.sub.t(x.sub.C, y.sub.C).
(24) S5, hole position data of the current-date hole position point is calculated according to the longitude and latitude data of the current-date hole position point and according to the longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point.
(25) In this step, a method for calculating the hole position data of the current-date hole position point includes, but is not limited to, a coordinate conversion calculation method, a direct distance calculation method, an angle calculation method, and the like. Preferably, the coordinate conversion calculation method is employed in this embodiment. The coordinate conversion calculation method includes the steps as follows.
(26) S51, a Cartesian coordinate system is constructed by using the calculated longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point, wherein the Cartesian coordinate system may be constructed with the fairway center point and the green front edge point, or with the green center point and the green front edge point.
(27) As shown in
(28) S52, an included angle in which a positive direction of an X axis of a terrestrial longitude and latitude coordinate system is rotated to a positive direction of an X axis of the Cartesian coordinate system constructed in the step S51 in a counterclockwise direction is calculated.
(29) As shown in
if x.sub.E−x.sub.A>0 and y.sub.E−y.sub.A>0, then
(30)
if x.sub.E−x.sub.A<0 and y.sub.E−y.sub.A>0; then
(31)
if y.sub.E−y.sub.A<0, then
(32)
if x.sub.E−x.sub.A=0 and y.sub.E−y.sub.A≥0, then θ=0;
if x.sub.E−x.sub.A=0 and y.sub.E−y.sub.A<0, then θ=π;
if y.sub.E−y.sub.A=0 and x.sub.E−x.sub.A>0, then θ=⅔π; and
if y.sub.E-y.sub.A=0 and x.sub.E-x.sub.A<0, then θ=½π.
(33) S53, a coordinate of a deviation position of the current-date hole position point is calculated according to the included angle.
(34) That is, the coordinate P(x.sub.m,y.sub.m) of the deviation position of the current-date hole position C point at the current t.sup.th hole is described as below:
x.sub.m=(x.sub.C−x.sub.E)cos θ+(y.sub.C−y.sub.E)sin θ; and
y.sub.m=−(x.sub.C−x.sub.E)sin θ+(y.sub.C−y.sub.E)cos θ.
(35) S54, a deviation value of the current-date hole position point is calculated according to the coordinate of the deviation position, wherein the deviation value is a hole position data.
(36) That is, a deviation value (X,Y) of the current-date hole position C point of the current t.sup.th hole is described as below:
X=x.sub.mT.sub.x; and
Y=y.sub.mT.sub.y.
(37) T.sub.x represents an earth surface distance (in yards) corresponding to each longitude in a case of the current longitude and latitude, and T.sub.y represents an earth surface distance (in yards) corresponding to each latitude in a case of the current longitude and latitude.
(38) S6, the hole position data of the current-date hole position point is recorded into a current-date golf course hole position chart.
(39) The step S6 further includes: a current-date golf course hole position chart is saved.
(40) Because a point E serves as the origin of a coordinate axis, there must be Y≥0.
(41) If X>0, an absolute value |X| is filled into the right side of a position column and recorded as |X|R.
(42) If X<0, the absolute value |X| is filled into the right side of the position column and recorded as |X|L.
(43) If X=0, 0 is filled into the right side of the position column.
(44) Y value is filled into the left side of the position column, as shown in
(45) S7, it is determined whether the calculation of all current-date hole position points is completed or not, if yes, the method performs a step S8, otherwise returns to perform the step S5.
(46) In this embodiment, all the current-date hole position points are calculated one by one, and the hole position data is recorded into the current-date golf course hole position chart after the hole position data of one current-date hole position point is calculated. Accordingly, the steps S5 to S6 are performed on all the holes repeatedly until all the current-date hole position points are calculated.
(47) S8, a current-date hole location map for golf course is generated according to the current-date golf course hole position chart.
(48) When all the current-date hole position points are calculated, and after the hole position data of all the current-date hole position points are recorded in the current-date golf course hole position chart, the system automatically generates the current-date hole location map for golf course, wherein the current-date golf course hole position chart is shown in
(49) S9, the current-date hole location map for golf course is saved and displayed.
(50) Further, after the step S9, the method includes:
(51) the current-date or former-date golf course hole position chart is queried;
(52) the current-date or former-date golf course hole position chart is displayed; and the current-date or former-date golf course hole position chart is printed.
(53) A customer may query the current-date or former-date golf course hole position chart at any time. After receiving a query instruction, the system automatically queries and loads the hole location map for golf course, which is entered by the customer, of a specified date, and outputs the hole location map for golf course, which is entered by the customer, of the specified date to a display screen for the customer to watch or prints the hole location map for golf course of the specified date as a print for the customer to use.
(54) In this embodiment, the longitude and latitude data of all the fairway center points or green center points, the longitude and latitude data of all the green front edge points, and the longitude and latitude data of all the current-date hole position points are acquired; the hole position data of the respective current-date hole position points is calculated according to the longitude and latitude data of the current-date hole position point, the longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point; and the current-date hole location map for golf course is automatically generated according to the hole position data of the respective current-date hole position points. The method is high in automation degree without manually measuring the golf course hole position and manually filling the hole position map, thereby saving the time and effort, effectively preventing manual measurement errors from being large and deviation values from being incorrectly recorded and the hole position map from being incorrectly filled, and further, the position locating accuracy is greatly improved.
(55) A second embodiment provides a system for automatically generating a hole location map for golf course, including a module 1, a module 2, a module 3, a module 4, a module 5, a module 6, a module 7, a module 8 and a module 9.
(56) The module 1, that is, a fairway center point acquisition module, is configured to position all fairway center points or green center points respectively, record longitude and latitude data of the respective fairway centers or green center points, and upload the longitude and latitude data of the respective fairway centers or green center points to a database for storage.
(57) In this module, all the fairway center points or green center points are respectively located by a measuring and locating device. The measuring and locating device includes, but is not limited to, a GPS high-precision locating device, a satellite real-world locating map, a rangefinder and the like. Preferably, in this embodiment, all the fairway center points or green center points are respectively located by employing the GPS high-precision locating device. This module may be completed once provided that the terrain of the golf course has not changed significantly. This module may be performed once every several months. Because all the fairway center points or green center points are respectively located by employing the GPS high-precision locating device, the accuracy of locating the fairway center points or green center points is very high. This module provides a reference for the calculation of the hole location map for golf course.
(58) If the calculation is based on fairway center points, the fairway center points should be firstly determined before this module. After a worker has determined the designated fairway center point, the GPS high-precision locating device may position the fairway center point provided that a locating button of the accompanied UPS high-precision locating device is pressed at the determined fairway center point. The longitude and latitude data of the fairway center point are acquired as below:
(59) a current-date golf course is set as a t.sup.th golf course;
(60) if the current-date golf course is a 3-hole course, a center of a blue tee of the t.sup.th golf course is designated as a fairway center point A.sub.t(3). A latitude and a longitude of the A.sub.t(3) are recorded as P.sub.t(x.sub.A3,y.sub.A3), wherein x represents a longitude of a current point and y represents a latitude of the current point.
(61) If the current-date golf course is a 4-hole course, a point is found within a range in which a shot is played towards the green on the t.sup.th golf course as the fairway center point A.sub.t(4). Preferably, a middle position point on a fairway is designated as a fairway center point A.sub.t(4). A latitude and a longitude of the A.sub.1(4) are recorded as P.sub.t(x.sub.A4,y.sub.A4), wherein x represents a longitude of a current point and y represents a latitude of the current point.
(62) If the current-date golf course is a 5-hole course, a point is found within the range in which a shot is played towards the green on the t.sup.th golf course as the fairway center point A.sub.t(5). Preferably, a middle position point on a fairway is designated as a fairway center point At(5). A latitude and a longitude of the A.sub.t(5) are recorded as P.sub.t(x.sub.A5,y.sub.A5), wherein x represents a longitude of a current point and y represents a latitude of the current point.
(63) The module 2, that is, a green front edge point acquisition module, is configured to locate all green front edge points respectively, record longitude and latitude data of the respective green front edge points, and upload the longitude and latitude data of the respective front edge points to the database for storage.
(64) In this module, all the green front edge points are respectively located by a measuring and locating device. The measuring and locating device includes, but is not limited to, a GPS high-precision locating device, a satellite real-world locating map, a rangefinder and the like. Preferably, in this embodiment, all the green front edge points are respectively located by employing the GPS high-precision locating device. This module may be completed once provided that the terrain of the golf course has not changed significantly. This module may be performed once every several months. Because all the green front edge points are respectively located by employing the GPS high-precision locating device, the accuracy of locating the green front edge points is very high. This module provides a reference for the calculation of the hole location map for golf course.
(65) The GPS high-precision locating device may position the green front edge point provided that a worker only needs to press a locating button of the accompanied GPS high-precision locating device at the green front edge point, so that the longitude and latitude data of the green front edge point is acquired. A current-date hole is set as a t.sup.th hole, a green front edge point of the t.sup.th hole is set as an E.sub.t point, and a latitude and a longitude of the E.sub.t point are recorded as P.sub.t(x.sub.E,y.sub.E), x represents a longitude of a current point and y represents a latitude of the current point.
(66) The module 3, that is, a hole position point acquisition module is configured to locate all current-date hole position points respectively, record longitude and latitude data of the respective current-date hole position points, and upload the longitude and latitude data of the respective current-date hole position points to the database for storage.
(67) In this module, all the current-date hole position points are respectively located by a measuring and locating device. The measuring and locating device includes, but is not limited to, a GPS high-precision locating device, a satellite real-world locating map, a rangefinder and the like. Preferably, in this embodiment, all the current-date hole position points are respectively located by employing the GPS high-precision locating device. Because all the current-date hole position points are respectively located by employing the GPS high-precision locating device, the accuracy of locating the current-date hole position points is very high.
(68) The GPS high-precision locating device may position the current-date hole position point provided that a worker only needs to press a locating button of the accompanied GPS high-precision locating device at the current-date hole position point, so that the longitude and latitude data of the current-date hole position point is acquired. A current-date hole is set as a first hole, a current-date hole position point of the first hole is set as a C.sub.1 point, and a latitude and a longitude of the C.sub.1 point are recorded as P.sub.t(x.sub.C,y.sub.C), x represents a longitude of a current point and y represents a latitude of the current point.
(69) The module 4, that is, a data loading module, is configured to load the longitude and latitude data of all the fairway center points or green center points, the longitude and latitude data of all the green front edge points, and the longitude and latitude data of all the current-date hole position points in the database.
(70) Further, after the module 4 and before a module 5, the system further includes an assignment module, which is configured to assign a current-date hole closest to the calculated current green front edge point to a current-date green hole according to the longitude and latitude data of the green front edge point and the longitude and latitude data of the current-date hole position point, such that respective current-date hole position points correspond to respective green front edge points and respective fairway center points or green center points.
(71) T is set as the total number of all holes in the golf course. After the longitude and latitude data {P.sub.t(x.sub.E,y.sub.E)|t=1, . . . T} of all the green front edge points and the longitude and latitude data {P.sub.t(x.sub.C,y.sub.C)|1=1, . . . T} of the current-date hole position points of all holes are loaded, a relationship between the green front edge point and the current-date hole position is determined according to the distance between the P.sub.t(x.sub.E,y.sub.E) and the P.sub.1(x.sub.C,y.sub.C), that is, the P.sub.1(x.sub.C,y.sub.C) closest to the P.sub.t(x.sub.E,y.sub.E) point should be regarded as the current-date hole assigned to the t.sup.th green. A mathematical expression is described as below:
P.sub.t(x.sub.C,y.sub.C)=P.sub.t(x.sub.CC,y.sub.CC)
√{square root over ((x.sub.CC−x.sub.E,t).sup.2+(y.sub.CC−y.sub.E,t).sup.2)}=min(√{square root over ((x.sub.C,l−x.sub.E,t).sup.2+(y.sub.C,l−y.sub.E,t).sup.2))} l∈{1,2, . . . T}
(72) wherein min represents a function of taking the smallest value. By means of the above method, the current-date hole P.sub.1(x.sub.C,y.sub.C) is assigned to the corresponding green, with a position of P.sub.t(x.sub.C,y.sub.C).
(73) The module 5, that is, a calculation module is configured to calculate the hole position data of the current-date hole position point according to the longitude and latitude data of the current-date hole position point, and the longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point.
(74) In this module, a method for calculating the hole position data of the current-date hole position point includes, but is not limited to, a coordinate conversion calculation method, a direct distance calculation method, an angle calculation method, and the like. Preferably, a coordinate conversion calculation method is employed in this embodiment. The module 5 includes a unit 51, a unit 52, a unit 53 and a unit 54.
(75) The unit 51, that is, a coordinate system construction unit is configured to construct a Cartesian coordinate system by using the calculated longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point, wherein the Cartesian coordinate system may be constructed with the fairway center point and the green front edge point, or with the green center point and the green front edge point.
(76) As shown in
(77) The unit 52, that is, an included angle calculation unit is configured to calculate an included angle in which a positive direction of an X axis of a terrestrial longitude and latitude coordinate system is rotated to a positive direction of an X axis of the Cartesian coordinate system constructed by the unit 51 in a counterclockwise direction
(78) As shown in
If x.sub.E−x.sub.A>0 and y.sub.E−y.sub.A>0, then
(79)
If x.sub.E−x.sub.A<0 and y.sub.E−y.sub.A>0, then
(80)
If y.sub.E−y.sub.A<0, then
(81)
If x.sub.E−x.sub.A=0 and y.sub.E−y.sub.A≥0, then θ=0.
If x.sub.E−x.sub.A=0 and y.sub.E−y.sub.A<0, then θ=π.
If y.sub.E−y.sub.A=0 and x.sub.E−x.sub.A>0, then θ=⅔π.
If y.sub.E-y.sub.A=0 and x.sub.E-x.sub.A<0, then θ=½π.
(82) The unit 53, that is, a deviation position coordinate calculation unit is configured to calculate a coordinate of a deviation position of the current-date hole position point according to the included angle.
(83) That is, the coordinate P(x.sub.m, y.sub.m) of the deviation position of the current-date hole position C point of the current t.sup.th hole is described as below:
x.sub.m=(x.sub.C−x.sub.E)cos θ+(y.sub.C−y.sub.E)sin θ; and
y.sub.m=−(x.sub.C−x.sub.E)sin θ+(y.sub.C−y.sub.E)cos θ.
(84) The unit 54, that is, a deviation value calculation unit, is configured to calculate a deviation value of the current-date hole position point according to the coordinate of the deviation position, wherein the deviation value is a hole position data.
(85) That is, a deviation value (X,Y) of the current-date hole position C point of the current t.sup.th hole is described as below:
X=x.sub.mT.sub.x;
Y=y.sub.mT.sub.y.
(86) T.sub.x represents an earth surface distance (in yards) corresponding to each longitude in a case of the current longitude and latitude, and T.sub.y represents an earth surface distance (in yards) corresponding to each latitude in a case of the current longitude and latitude.
(87) The module 6, that is, a hole position data recording module is configured to record the hole position data of the current-date hole position point into a current-date golf course hole position chart.
(88) This module further includes a chart saving unit, which is configured to save a current-date golf course hole position chart.
(89) Because a point E serves as the origin of a coordinate axis, there must be Y≥0.
(90) If X>0, an absolute value |X| is filled into the right side of a position column and recorded as |X|R.
(91) If X<0, the absolute value |X| is filled into the right side of the position column and recorded as |X|L.
(92) If X=0, 0 is filled into the right side of the position column.
(93) Y value is filled into the left side of the position column, as shown in
(94) The module 7, that is, a determination module is configured to determine whether the calculation of all current-date hole position points is completed or not, if yes, execute the module 8, otherwise return to execute the module 5.
(95) In this embodiment, all the current-date hole position points are calculated one by one, and the hole position data is recorded into the current-date golf course hole position chart after the hole position data of one current-date hole position point is calculated. Accordingly, the steps S5 to S6 are performed on all the holes repeatedly until all the current-date hole position points are calculated.
(96) The module 8, that is, a hole position map generation module is configured to generate a current-date hole location map for golf course according to the current-date golf course hole position chart.
(97) When all the current-date hole position points are calculated, and after the hole position data of all the current-date hole position points are recorded into the current-date golf course hole position chart, the system automatically generates the current-date hole location map for golf course, wherein the current-date golf course hole position chart is shown in
(98) The module 9, that is, a saving and displaying module, is configured to save and display the current-date hole location map for golf course.
(99) Further, after the module 9, the system includes:
(100) a querying module, which is configured to query the current-date or former-date golf course hole position chart;
(101) a displaying module, which is configured to display the current-date or former-date golf course hole position chart; and
(102) a printing module, which is configured to print the current-date or former-date golf course hole position chart.
(103) A customer may query the current-date or former-date golf course hole position chart at any time. After receiving a query instruction, the system automatically queries and loads the hole location map for golf course, which is entered by the customer, of a specified date, and outputs the hole location map for golf course, which is entered by the customer, of the specified date to a display screen for the customer to watch or prints the hole location map for golf course of the specified date as a print for the customer to use.
(104) In this embodiment, the longitude and latitude data of all the fairway center points or green center points, the longitude and latitude data of all the green front edge points, and the longitude and latitude data of all the current-date hole position points are acquired; the hole position data of the respective current-date hole position points is calculated according to the longitude and latitude data of the current-date hole position point, the longitude and latitude data of the fairway center point or the green center point corresponding to the current-date hole position point and the longitude and latitude data of the green front edge point; and the current-date hole location map for golf course is automatically generated according to the hole position data of the respective current-date hole position points. The system is high in automation degree without manually measuring the golf course hole position and manually filling the hole position map, thereby saving the time and effort, effectively preventing manual measurement errors from being large and deviation values from being incorrectly recorded and the hole position map from being incorrectly filled, and further, the position locating accuracy is greatly improved.
(105) The foregoing is only illustrative of preferred embodiments of the present invention. The present invention is not limited to the above embodiments. It should be understood that further improvements and changes that are directly derived or conceived by those skilled in the art without departing from the basic concept of the present invention should be considered to be included in the protective scope of the present invention.