.json2Geometries(geometries1);
List<Geometry> geometriesList2 = EsriJsonUtil
.json2Geometries(geometries2);
// Handle relation
RelationType relationType;
if ("esriGeometryRelationCross".equals(relation)) {
relationType = RelationType.CROSS;
} else if ("esriGeometryRelationDisjoint".equals(relation)) {
relationType = RelationType.DISJOINT;
} else if ("esriGeometryRelationIn".equals(relation)) {