mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-12 21:55:37 +00:00
Backup before Placemark bugfixing
This commit is contained in:
1 parent
ec3ed3d677
commit
fc05cda6fa
11 files changed
+66
-32
No files matched your search
@@ -13,6 +13,7 @@ import com.sap.sailing.geocoding.impl.ReverseGeocoderImpl;
|
||||
public interface ReverseGeocoder {
|
||||
final ReverseGeocoder INSTANCE = new ReverseGeocoderImpl();
|
||||
final String GEONAMES_USER = "sailtracking";
|
||||
final double POSITION_CACHE_DISTANCE_LIMIT_IN_KM = 5.0;
|
||||
|
||||
/**
|
||||
* Returns the nearest {@link Placemark} towards the given {@link Position}.
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ public class ReverseGeocoderImpl implements ReverseGeocoder {
|
||||
* The first number is the distance in kilometers and the second number is a needed calculation factor and mustn't
|
||||
* be changed! To change the distance just change the first number!
|
||||
*/
|
||||
private final double POSITION_CACHE_DISTANCE_LIMIT = 5.0 * 0.00899928005759539236861051115911;
|
||||
private final double POSITION_CACHE_DISTANCE_LIMIT = ReverseGeocoder.POSITION_CACHE_DISTANCE_LIMIT_IN_KM * 0.00899928005759539236861051115911;
|
||||
private final int XKM_RADIUS = 5;
|
||||
private final int ROWS_PER_XKM_RADIUS = 15;
|
||||
|
||||
|
||||
Reference in new issue
Block a user