- Notifications
You must be signed in to change notification settings - Fork5
Commit9ccaaf6
committed
The attached patches change earthdistance to use the new cube functions
in one of the earth functions so that latitude and longitude tocartesian coordinates conversion will be more accurrate. (Previouslya text string was built to provide as input which limited the accuracyto the number of digits printed.)The new functions were included in a recent patch to contrib/cube that has notas yet been accepted as of yet.I also added check constraints to the domain 'earth' since they are nowworking in 7.4.Bruno Wolff III1 parent80b3513 commit9ccaaf6
File tree
2 files changed
+24
-24
lines changed- contrib/earthdistance
2 files changed
+24
-24
lines changedLines changed: 14 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
57 | 54 |
| |
58 | 55 |
| |
59 | 56 |
| |
60 |
| - | |
| 57 | + | |
61 | 58 |
| |
62 | 59 |
| |
63 | 60 |
| |
| |||
118 | 115 |
| |
119 | 116 |
| |
120 | 117 |
| |
121 |
| - | |
| 118 | + | |
122 | 119 |
| |
123 | 120 |
| |
124 | 121 |
| |
|
Lines changed: 10 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 |
| |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 |
| |
35 | 38 |
| |
36 | 39 |
| |
| |||
48 | 51 |
| |
49 | 52 |
| |
50 | 53 |
| |
51 |
| - | |
| 54 | + | |
52 | 55 |
| |
53 | 56 |
| |
54 | 57 |
| |
|
0 commit comments
Comments
(0)