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

com.groupbyinc.flux.common.geo.parsers.GeoJsonParser.class Maven / Gradle / Ivy

????4_4com/groupbyinc/flux/common/geo/parsers/GeoJsonParserjava/lang/ObjectGeoJsonParser.java8com/groupbyinc/flux/common/xcontent/XContentParser$Token2com/groupbyinc/flux/common/xcontent/XContentParserToken5com/groupbyinc/flux/common/unit/DistanceUnit$Distance,com/groupbyinc/flux/common/unit/DistanceUnit
Distance@com/groupbyinc/flux/common/geo/builders/ShapeBuilder$Orientation4com/groupbyinc/flux/common/geo/builders/ShapeBuilderOrientationFcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper$GeoShapeFieldType4com/groupbyinc/flux/index/mapper/GeoShapeFieldMapperGeoShapeFieldType=com/groupbyinc/flux/index/mapper/GeoShapeFieldMapper$DefaultsDefaults()V
this6Lcom/groupbyinc/flux/common/geo/parsers/GeoJsonParser;parse?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper;)Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder;java/io/IOException%java/lang/Exception'RIGHTBLcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$Orientation;)*	++com/groupbyinc/flux/common/geo/GeoShapeType-5com/groupbyinc/flux/common/geo/parsers/CoordinateNode/Acom/groupbyinc/flux/common/geo/builders/GeometryCollectionBuilder1	fieldTypeJ()Lcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper$GeoShapeFieldType;34
5orientationD()Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$Orientation;78
9COERCE%Lcom/groupbyinc/flux/common/Explicit;;<	=coerce'()Lcom/groupbyinc/flux/common/Explicit;?@
A#com/groupbyinc/flux/common/ExplicitCIGNORE_Z_VALUEE<	FignoreZValueH@
Ijava/lang/StringK	nextToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;MN	O
END_OBJECT:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;QR	S
FIELD_NAMEUR	VcurrentName()Ljava/lang/String;XY	Z2com/groupbyinc/flux/common/geo/parsers/ShapeParser\
FIELD_TYPE'Lcom/groupbyinc/flux/common/ParseField;^_	]`getDeprecationHandler:()Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;bc	d%com/groupbyinc/flux/common/ParseFieldfmatchM(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/DeprecationHandler;)Zhi
gjtextlY	mforNameA(Ljava/lang/String;)Lcom/groupbyinc/flux/common/geo/GeoShapeType;op
.qequals(Ljava/lang/Object;)Zst
.ujava/lang/StringBuilderw
xappend-(Ljava/lang/Object;)Ljava/lang/StringBuilder;z{
x| already parsed as [~-(Ljava/lang/String;)Ljava/lang/StringBuilder;z?
x?] cannot redefine as [?]?toString?Y
x?FIELD_COORDINATES?_	]?value()Ljava/lang/Object;??
D?java/lang/Boolean?booleanValue()Z??
??parseCoordinatesn(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Z)Lcom/groupbyinc/flux/common/geo/parsers/CoordinateNode;??
?
numDimensions()I??
0?/com/groupbyinc/flux/ElasticsearchParseException?@Exception parsing coordinates: number of dimensions do not match?((Ljava/lang/String;[Ljava/lang/Object;)V?
??FIELD_GEOMETRIES?_	]?GEOMETRYCOLLECTION-Lcom/groupbyinc/flux/common/geo/GeoShapeType;??	.?
cannot have [?] with type set to [?parseGeometries?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper;)Lcom/groupbyinc/flux/common/geo/builders/GeometryCollectionBuilder;??
?5com/groupbyinc/flux/common/geo/builders/CircleBuilder?FIELD_RADIUS?_	??CIRCLE??	.?
parseDistanceK(Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/DistanceUnit$Distance;??
?FIELD_ORIENTATION?_	]?POLYGON??	.?MULTIPOLYGON??	.?
fromStringV(Ljava/lang/String;)Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$Orientation;??
?skipChildren?	?currentToken?N	?shape type not included?coordinates not included?geometries not included?%field [{}] is supported for [{}] only?TYPE??	??shape type [{}] not included?
getBuilder?(Lcom/groupbyinc/flux/common/geo/parsers/CoordinateNode;Lcom/groupbyinc/flux/common/unit/DistanceUnit$Distance;Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder$Orientation;Z)Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder;??
.?typetempNode7Lcom/groupbyinc/flux/common/geo/parsers/CoordinateNode;	fieldNameLjava/lang/String;tokenexLjava/lang/Exception;parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;shapeMapper6Lcom/groupbyinc/flux/index/mapper/GeoShapeFieldMapper;	shapeTyperadius7Lcom/groupbyinc/flux/common/unit/DistanceUnit$Distance;coordinateNodegeometryCollectionsCLcom/groupbyinc/flux/common/geo/builders/GeometryCollectionBuilder;requestedOrientation:Lcom/groupbyinc/flux/common/Explicit;malformedExceptionSTART_OBJECT?R	?*coordinates cannot be specified as objects?START_ARRAY?R		END_ARRAYR	
VALUE_NULLR	parseCoordinate](Lcom/groupbyinc/flux/common/xcontent/XContentParser;Z)Lorg/locationtech/jts/geom/Coordinate;	

)(Lorg/locationtech/jts/geom/Coordinate;)V
0
"java/lang/IllegalArgumentException'coordinates cannot contain NULL values)(Ljava/lang/String;)V
java/util/ArrayList
java/util/ListisEmpty?get(I)Ljava/lang/Object; add"t#(Ljava/util/List;)V%
0&nodeZnodesILjava/util/List;Ljava/util/List;VALUE_NUMBER-R	.geo coordinates must be numbers0doubleValue()D23	4?'com/groupbyinc/flux/common/geo/GeoPoint8assertZValue(ZD)D:;
9<;geo coordinates greater than 3 dimensions are not supported>$org/locationtech/jts/geom/Coordinate@(DDD)VB
AClonDlatalt.geometries must be an array of geojson objectsI
2l(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder;#L]Mshape{(Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder;)Lcom/groupbyinc/flux/common/geo/builders/GeometryCollectionBuilder;OP
2QshapeBuilder6Lcom/groupbyinc/flux/common/geo/builders/ShapeBuilder;mappergeometryCollectionCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
Exceptions
SourceFileInnerClasses W/*? ?X!"Y*#$W?
/MN::+?	?,?
+?6?::+?	?>?+?B:+?	?G?+?J::	*?PY:
?T?
?W???*?[:?a*?e?k?U*?PW*?n?r:,?9,?v?0?xY?y?a?}??,?}????}?????:	?M????*?e?k?B*?PW*????????:????????Y?????:?:??*?e?k?N,?
??M?2,???v?(?xY?y??????}???,?}?????:	*?PW*+??:?޲?*?e?k?U,?
??M?6,?2,???v?(?xY?y??????}???,?}?????:	*?PW*?n??N?{??*?e?k?],?D,?ƶv?
,?ɶv???(?xY?y????ö}???,?}?????:	*?PW*?n??:?*?PW*??????-:*???T?*???*?PW*??????	???Y	????,???Y????????,???Y????????,???Y?????-?$??,???Y??Y??SY??S???,???Y??Y,S???,???v??,-????????@LO(X??=???$??_???I?R
Q(??/??/??-??+??(??
%???*-?<=?H<@???	y??R
Z-??=?H?YC-./0
34-5=7@;O<W=_?p@wA?B?C?F?H?I?J?K?LOP#Q'R.S8T]WdXnYZ?[?\?]?`?a?b?c?de'g.h<jCkImLvOoQqfrmsvuyx~y?z?{?|?}?~?????????
???[?$?	.02F?CD?DCD?DL?{L.??H0?.2(@'??
	.02DDL(?($?	.02DDL$\&
??W??*?????*??*?PW??Y?????*?PM,??,??,???0Y*???,???Y???Y?N,??I*??:-??&-?!?0???????Y?????-?$W*?PM????0Y-?'?X4x<(?????H).??RjV*,ZjV*+YJ????'?.?C?P?W?b?j?q?x???????????['?(??90?\&
	W;	?*???/???Y1????*?5I*?P?/???Y1????*?59*?P:69?/?*?5?=9*?PW*???/???Y??????AY(?D?X>????H)"sEFEPGFMH?RRCHFY:???"?.?=?E?M?R?Z?f?m?y???[?!?/\&??W?J*??????YJ????*?PM?2Y?KN,??*?N:-?RW*?PM???-?X47STJ??JU?"(?R* V?Y*
???"?*?1?7?>?E?H?[
?2\&]^*	
D		@	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy