All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.geo.GeoUtils.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4?'com/groupbyinc/flux/common/geo/GeoUtilsjava/lang/Object
GeoUtils.java)com/groupbyinc/flux/common/geo/GeoUtils$3)com/groupbyinc/flux/common/geo/GeoUtils$2)com/groupbyinc/flux/common/geo/GeoUtils$1
8com/groupbyinc/flux/common/xcontent/XContentParser$Token2com/groupbyinc/flux/common/xcontent/XContentParserTokenMAX_LATD@V?MIN_LAT?V?MAX_LON@f?MIN_LON?f?LATITUDELjava/lang/String;lat 	LONGITUDElon#GEOHASHgeohash&EARTH_SEMI_MAJOR_AXISAXT?@EARTH_SEMI_MINOR_AXISAX???EARTH_MEAN_RADIUSAXM?1^?EARTH_AXIS_RATIO??䈥{!
EARTH_EQUATORA??E|?EARTH_POLAR_DISTANCEAs?e??	TOLERANCE>??????$assertionsDisabledZisValidLatitude(D)Zjava/lang/DoubleAisNaNC@
BD
isInfiniteF@
BGlatitudeisValidLongitude	longitudegeoHashCellWidth(I)D=>	Njava/lang/AssertionErrorP()VRS
QTlevelIquadTreeCellWidthgeoHashCellHeightquadTreeCellHeightgeoHashCellSizeLM
\YM
^java/lang/Math`sqrt(D)Dbc
adwhquadTreeCellSizeC}~?Ƀ?quadTreeLevelsForPrecision(D)I???")^??@???@??ceilqc
arround(D)Jtu
avjava/lang/LongxnumberOfLeadingZeros(J)Iz{
y|ratiowidthpartJmeters(Ljava/lang/String;)I,com/groupbyinc/flux/common/unit/DistanceUnit?METERS.Lcom/groupbyinc/flux/common/unit/DistanceUnit;??	??DEFAULT??	??parseC(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/DistanceUnit;)D??
??kl
?distancegeoHashLevelsForPrecisionNcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/GeohashPrefixTree?getMaxLevelsPossible()I??
??log?c
a?@bitsfullleftevenodd?l
?normalizeLon@v?centeredModulus(DD)D??
?normalizeLatnormalizePoint,(Lcom/groupbyinc/flux/common/geo/GeoPoint;)V.(Lcom/groupbyinc/flux/common/geo/GeoPoint;ZZ)V??
?point)Lcom/groupbyinc/flux/common/geo/GeoPoint;'com/groupbyinc/flux/common/geo/GeoPoint?()D#?
?? ?
??([DZZ)V??
?reset-(DD)Lcom/groupbyinc/flux/common/geo/GeoPoint;??
??normLatnormLonpt[D([D)VlonLat?c
??shiftdividenddivisorrtn
parseGeoPoint_(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/common/geo/GeoPoint;java/io/IOException?/com/groupbyinc/flux/ElasticsearchParseException?
?T?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/common/geo/GeoPoint;)Lcom/groupbyinc/flux/common/geo/GeoPoint;??
?parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;java/lang/NumberFormatException??currentToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;???START_OBJECT:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;??	
?java/lang/String?	nextToken???
END_OBJECT??	
?
FIELD_NAME??	
?currentName()Ljava/lang/String;???equals(Ljava/lang/Object;)Z??
??A$SwitchMap$org$elasticsearch$common$xcontent$XContentParser$Token[I??	?ordinal?

doubleValue(Z)Dlatitude must be a number((Ljava/lang/String;[Ljava/lang/Object;)VR	
?
longitude must be a numberVALUE_STRING?	
text?geohash must be a string'field must be either [{}], [{}] or [{}]token [{}] not allowed'field must be either lat/lon or geohashresetFromGeoHash=(Ljava/lang/String;)Lcom/groupbyinc/flux/common/geo/GeoPoint;
?)[{}] and [{}] must be valid double values =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)VR"
?#field [{}] missing%START_ARRAY'?	
(	END_ARRAY*?	
+VALUE_NUMBER-?	
.?0only two values allowed2numeric value expected4f(Ljava/lang/String;Lcom/groupbyinc/flux/common/geo/GeoPoint;)Lcom/groupbyinc/flux/common/geo/GeoPoint;?6
7geo_point expected9e!Ljava/lang/NumberFormatException;fieldelementdatanumberFormatExceptionindexOf(I)IAB
?C	substring(II)Ljava/lang/String;EF
?GtrimI?
?JparseDouble(Ljava/lang/String;)DLM
BN(I)Ljava/lang/String;EP
?QcommamaxRadialDistanceMetersabsUc
aV8com/groupbyinc/flux/common/apache/lucene/util/SloppyMathXhaversinMeters(DDDD)DZ[
Y\	centerLat	centerLonarcDistancelat1lon1lat2lon2
planeDistance???F?R?9coshc
aixyrectangleContainsPoint=(Lcom/groupbyinc/flux/common/apache/lucene/geo/Rectangle;DD)Z6com/groupbyinc/flux/common/apache/lucene/geo/RectangleominLatq	prmaxLatt	pucrossesDateline()Zwx
pyminLon{	p|maxLon~	pr8Lcom/groupbyinc/flux/common/apache/lucene/geo/Rectangle;distanceValues?(Lcom/groupbyinc/flux/common/geo/GeoDistance;Lcom/groupbyinc/flux/common/unit/DistanceUnit;Lcom/groupbyinc/flux/index/fielddata/MultiGeoPointValues;[Lcom/groupbyinc/flux/common/geo/GeoPoint;)Lcom/groupbyinc/flux/index/fielddata/SortedNumericDoubleValues;-com/groupbyinc/flux/index/fielddata/FieldData?unwrapSingletono(Lcom/groupbyinc/flux/index/fielddata/MultiGeoPointValues;)Lcom/groupbyinc/flux/index/fielddata/GeoPointValues;??
???(Lcom/groupbyinc/flux/index/fielddata/GeoPointValues;[Lcom/groupbyinc/flux/common/geo/GeoPoint;Lcom/groupbyinc/flux/common/geo/GeoDistance;Lcom/groupbyinc/flux/common/unit/DistanceUnit;)VR?
?	singletonz(Lcom/groupbyinc/flux/index/fielddata/NumericDoubleValues;)Lcom/groupbyinc/flux/index/fielddata/SortedNumericDoubleValues;??
??2com/groupbyinc/flux/index/fielddata/GeoPointValues??(Lcom/groupbyinc/flux/index/fielddata/MultiGeoPointValues;[Lcom/groupbyinc/flux/common/geo/GeoPoint;Lcom/groupbyinc/flux/common/geo/GeoDistance;Lcom/groupbyinc/flux/common/unit/DistanceUnit;)VR?
	?,Lcom/groupbyinc/flux/common/geo/GeoDistance;unitgeoPointValues9Lcom/groupbyinc/flux/index/fielddata/MultiGeoPointValues;
fromPoints*[Lcom/groupbyinc/flux/common/geo/GeoPoint;singleValues4Lcom/groupbyinc/flux/index/fielddata/GeoPointValues;
Tthis)Lcom/groupbyinc/flux/common/geo/GeoUtils;java/lang/Class?desiredAssertionStatus?x
??
ConstantValueCodeLocalVariableTableLineNumberTable
StackMapTable
Exceptions
SourceFileInnerClasses!?????!"?$%?'(?)+?,.?/1?24?57?8:?;=>	?@?^"&?E?&?H?&??&?????"I?MN P?	J@?^"&?E?&?H?&??&?????"K?UV X?	LM?^'?O???QY?U?5
`lhlh`y?o??'VW?
ad?	XM?R?O???QY?U?5
y?o??VW?
mn?	YM?^'?O???QY?U?8
`lhlh`y?o??'VW?
wz?	ZM?R?O???QY?U?8
y?o??VW?
???	[M?z'?O???QY?U??]H?_J''k))kc?e?? 'VWfg??????	hM?U?O???QY?U?i?e
y?o??VW?
???	kl??	[?O?&???QY?U?&??2?mI&&koo?e95o?s?w7@?}dd6
y???`??4!:~-.; ??GVW[??"????!?-?;?G???8C	k??8??*???????????	?l??
??O?&???QY?U?&?????mI&&koo?e95o?s9????????o?s?w?6l6		hd6
	
??`6	
??`6`??\	"i~.]9R?W4?W].?W	f%?W
u?W??W???:????"?.?9?@?B?W?]?f?u????J	?#?.???	???8??*???????????	?c?2&?????#??	?c?q)&???G&??&gG?&??	&gG&??) ?????!?'??
	???5*???????
	
	???x$?Y*??RY*??RN-??*-1-1??W??*$??$?>$?>??? #!	???5*???????
$%	????ղO?*?	*???QY?U??*1??
*1???=?*1??
*1???<?o**1???R>*1??**1gR?*1??**1gR?>?-?*\1cR?*\1*1????	?cR?**1???R??*f^?>?????>??>?J(*6+T-X.d/f0p1}2?3?6?8?9?:???C?D?F?<@@?)???????
????&&(s9??	(c9(?o??	(g9?? &?&?!??IJKMN#P??	???6*??Y?׸ڰ????Y???	???U
??I?9::*?????*????9*????*??:!???U*??W??*???.?/*?I??:		:????Y???$???V*??W??*???.?0*?9?i:		:?`??Y
???'???)*????*?:?0??Y?????Y?Y!SY$SY'S????ٻ?Y?Y*??S???((?E??E???Y???+?????Y!?Y!SY$S?$?(?E???Y&?Y!S???E???Y&?Y$S??+(?ð*???)?h6*???,?Q*???/?6??*?19????
*?1I??ǻ?Y3?????Y5???+(?ð*????*?:+?8???Y:???t|??????p?;<	?;<	;=?b>Wk???????} 	x#u&r@<??<kl	mnpq'r3s;tEuLvtz|}{?|?~????????????????????????
??$?B?E?]?b?q????????????????????????
???!?'?1?@?O?W?c?k?r??D?????X?J?8K? ??+????	?6??5*,?D=?'*?H?K?OJ*`?R?K?O9+)?ð+*???4 '#5?5??.SW?????'?/???/	T??h
#&?W??&((?]?&(&(c?s?]??#^#_?????	`[?R
&(?]??*
a
b
c
d??	e[??7(gfk&c?ofk?jk9&gfk9
k

kc?e/k??>7a7b7c7dk$l
???$?	mn??M'*?s??E'*?v??<*?z?)*?}??)*??????)*?}??)*???????? M??M M#???K??	+@?????-,??:?-???Y-*+??????	Y,-*+????4-??-??-??-??'????!??!?RS?3*???????
()?S?4?????O??'?@??"	
D	




© 2015 - 2024 Weber Informatics LLC | Privacy Policy